mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Cross ref : add commutator/button as new type of master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3927 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -87,11 +87,15 @@ void XRefPropertiesWidget::setReadOnly(bool ro) {
|
||||
* @brief XRefPropertiesWidget::buildUi
|
||||
* Build some widget of this ui.
|
||||
*/
|
||||
void XRefPropertiesWidget::buildUi() {
|
||||
void XRefPropertiesWidget::buildUi()
|
||||
{
|
||||
ui -> m_type_cb -> addItem(tr("Bobine"), "coil");
|
||||
ui -> m_type_cb -> addItem(tr("Organe de protection"), "protection");
|
||||
ui -> m_type_cb -> addItem(tr("Commutateur / bouton"), "commutator");
|
||||
|
||||
ui -> m_snap_to_cb -> addItem(tr("En bas de page"), "bottom");
|
||||
ui -> m_snap_to_cb -> addItem(tr("Sous le label de l'élément"), "label");
|
||||
|
||||
m_previous_type_index = ui -> m_type_cb -> currentIndex();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user