another alternative ui for ConductorPropertiesWidget

This commit is contained in:
Simon De Backer
2020-06-19 20:09:51 +02:00
committed by Laurent Trinques
parent 205c683d6f
commit 47637c4779

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>927</width> <width>662</width>
<height>478</height> <height>346</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -23,358 +23,379 @@
<attribute name="title"> <attribute name="title">
<string>Type</string> <string>Type</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QGroupBox" name="m_multiwires_gb"> <widget class="QTabWidget" name="tabWidget_2">
<property name="minimumSize"> <property name="currentIndex">
<size> <number>0</number>
<width>600</width>
<height>0</height>
</size>
</property> </property>
<property name="title"> <widget class="QWidget" name="Multifilaire">
<string>&amp;Multifilaire</string> <attribute name="title">
</property> <string>&amp;Multifilaire</string>
<property name="checkable"> </attribute>
<bool>true</bool> <layout class="QGridLayout" name="gridLayout_7">
</property> <item row="0" column="0">
<property name="checked"> <widget class="QGroupBox" name="m_multiwires_gb">
<bool>true</bool> <property name="minimumSize">
</property> <size>
<layout class="QGridLayout" name="gridLayout_6"> <width>600</width>
<item row="1" column="0"> <height>0</height>
<layout class="QGridLayout" name="gridLayout_3"> </size>
<item row="2" column="4"> </property>
<widget class="QLineEdit" name="m_tension_protocol_le"> <property name="title">
<property name="clearButtonEnabled"> <string>&amp;Multifilaire</string>
<bool>true</bool> </property>
</property> <property name="checkable">
</widget> <bool>true</bool>
</item> </property>
<item row="3" column="0"> <property name="checked">
<widget class="QLabel" name="label"> <bool>true</bool>
<property name="text"> </property>
<string>Texte :</string> <layout class="QGridLayout" name="gridLayout_6">
</property> <item row="1" column="0">
</widget> <layout class="QGridLayout" name="gridLayout_3">
</item> <item row="4" column="0">
<item row="2" column="3"> <widget class="QLabel" name="m_autonum_label">
<widget class="QLabel" name="label_9"> <property name="text">
<property name="text"> <string>Autonumérotation</string>
<string>Tension / Protocole :</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="2" column="3">
<item row="1" column="1"> <widget class="QLabel" name="label_9">
<widget class="QSpinBox" name="m_text_size_sb"> <property name="text">
<property name="toolTip"> <string>Tension / Protocole :</string>
<string>Taille du texte</string> </property>
</property> </widget>
<property name="wrapping"> </item>
<bool>false</bool> <item row="2" column="4">
</property> <widget class="QLineEdit" name="m_tension_protocol_le">
<property name="buttonSymbols"> <property name="clearButtonEnabled">
<enum>QAbstractSpinBox::UpDownArrows</enum> <bool>true</bool>
</property> </property>
<property name="prefix"> </widget>
<string/> </item>
</property> <item row="1" column="3">
<property name="minimum"> <widget class="QLabel" name="label_8">
<number>3</number> <property name="text">
</property> <string>Fonction :</string>
<property name="maximum"> </property>
<number>99</number> </widget>
</property> </item>
</widget> <item row="3" column="2">
</item> <widget class="QCheckBox" name="m_show_text_cb">
<item row="4" column="4"> <property name="toolTip">
<widget class="QLineEdit" name="m_wire_section_le"/> <string>Texte visible</string>
</item> </property>
<item row="4" column="0"> <property name="text">
<widget class="QLabel" name="m_autonum_label"> <string/>
<property name="text"> </property>
<string>Autonumérotation</string> <property name="checked">
</property> <bool>true</bool>
</widget> </property>
</item> </widget>
<item row="4" column="1"> </item>
<widget class="QComboBox" name="m_available_autonum_cb"/> <item row="1" column="4">
</item> <widget class="QLineEdit" name="m_function_le">
<item row="3" column="2"> <property name="clearButtonEnabled">
<widget class="QCheckBox" name="m_show_text_cb"> <bool>true</bool>
<property name="toolTip"> </property>
<string>Texte visible</string> </widget>
</property> </item>
<property name="text"> <item row="3" column="0">
<string/> <widget class="QLabel" name="label">
</property> <property name="text">
<property name="checked"> <string>Texte :</string>
<bool>true</bool> </property>
</property> </widget>
</widget> </item>
</item> <item row="2" column="0">
<item row="1" column="4"> <widget class="QLabel" name="label_11">
<widget class="QLineEdit" name="m_function_le"> <property name="text">
<property name="clearButtonEnabled"> <string>Formule du texte :</string>
<bool>true</bool> </property>
</property> </widget>
</widget> </item>
</item> <item row="4" column="2">
<item row="1" column="0"> <widget class="QPushButton" name="m_edit_autonum_pb">
<widget class="QLabel" name="label_2"> <property name="toolTip">
<property name="text"> <string>éditer les numérotations</string>
<string>Taille du texte :</string> </property>
</property> <property name="text">
</widget> <string/>
</item> </property>
<item row="3" column="3"> <property name="icon">
<widget class="QLabel" name="label_4"> <iconset resource="../../qelectrotech.qrc">
<property name="text"> <normaloff>:/ico/16x16/configure.png</normaloff>:/ico/16x16/configure.png</iconset>
<string>Couleur du conducteur</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="1" column="0">
<item row="4" column="2"> <widget class="QLabel" name="label_2">
<widget class="QPushButton" name="m_edit_autonum_pb"> <property name="text">
<property name="toolTip"> <string>Taille du texte :</string>
<string>éditer les numérotations</string> </property>
</property> </widget>
<property name="text"> </item>
<string/> <item row="3" column="3">
</property> <widget class="QLabel" name="label_4">
<property name="icon"> <property name="text">
<iconset resource="../../qelectrotech.qrc"> <string>Couleur du conducteur</string>
<normaloff>:/ico/16x16/configure.png</normaloff>:/ico/16x16/configure.png</iconset> </property>
</property> </widget>
</widget> </item>
</item> <item row="3" column="4">
<item row="4" column="3"> <widget class="QLineEdit" name="m_wire_color_le"/>
<widget class="QLabel" name="label_5"> </item>
<property name="text"> <item row="1" column="1">
<string>Section du conducteur</string> <widget class="QSpinBox" name="m_text_size_sb">
</property> <property name="toolTip">
</widget> <string>Taille du texte</string>
</item> </property>
<item row="2" column="1"> <property name="wrapping">
<widget class="QLineEdit" name="m_formula_le"/> <bool>false</bool>
</item> </property>
<item row="3" column="4"> <property name="buttonSymbols">
<widget class="QLineEdit" name="m_wire_color_le"/> <enum>QAbstractSpinBox::UpDownArrows</enum>
</item> </property>
<item row="1" column="3"> <property name="prefix">
<widget class="QLabel" name="label_8"> <string/>
<property name="text"> </property>
<string>Fonction :</string> <property name="minimum">
</property> <number>3</number>
</widget> </property>
</item> <property name="maximum">
<item row="2" column="0"> <number>99</number>
<widget class="QLabel" name="label_11"> </property>
<property name="text"> </widget>
<string>Formule du texte :</string> </item>
</property> <item row="2" column="1">
</widget> <widget class="QLineEdit" name="m_formula_le"/>
</item> </item>
<item row="3" column="1"> <item row="4" column="4">
<widget class="QLineEdit" name="m_text_le"> <widget class="QLineEdit" name="m_wire_section_le"/>
<property name="toolTip"> </item>
<string>Texte</string> <item row="3" column="1">
</property> <widget class="QLineEdit" name="m_text_le">
<property name="clearButtonEnabled"> <property name="toolTip">
<bool>true</bool> <string>Texte</string>
</property> </property>
</widget> <property name="clearButtonEnabled">
</item> <bool>true</bool>
</layout> </property>
</item> </widget>
<item row="3" column="0"> </item>
<layout class="QGridLayout" name="m_text_angle_gl"> <item row="4" column="3">
<item row="1" column="1"> <widget class="QLabel" name="label_5">
<widget class="QComboBox" name="m_horiz_cb"> <property name="text">
<item> <string>Section du conducteur</string>
<property name="text"> </property>
<string>Horizontal en haut</string> </widget>
</property> </item>
<item row="4" column="1">
<widget class="QComboBox" name="m_available_autonum_cb"/>
</item>
</layout>
</item> </item>
<item> <item row="3" column="0">
<property name="text"> <layout class="QGridLayout" name="m_text_angle_gl">
<string>Horizontal en bas</string> <item row="1" column="1">
</property> <widget class="QComboBox" name="m_horiz_cb">
<item>
<property name="text">
<string>Horizontal en haut</string>
</property>
</item>
<item>
<property name="text">
<string>Horizontal en bas</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Position et rotation du texte de conducteur :</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="m_verti_cb">
<item>
<property name="text">
<string>Vertical à gauche</string>
</property>
</item>
<item>
<property name="text">
<string>Vertical à droite</string>
</property>
</item>
</widget>
</item>
</layout>
</item> </item>
</widget> <item row="2" column="0">
</item> <layout class="QVBoxLayout" name="m_autonum_layout"/>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Position et rotation du texte de conducteur :</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="m_verti_cb">
<item>
<property name="text">
<string>Vertical à gauche</string>
</property>
</item> </item>
<item> <item row="0" column="0">
<property name="text"> <widget class="QCheckBox" name="m_one_text_per_folio_cb">
<string>Vertical à droite</string> <property name="toolTip">
</property> <string>activer l'option un texte par potentiel</string>
</property>
<property name="text">
<string>Afficher un texte de potentiel par folio. </string>
</property>
</widget>
</item> </item>
</widget> </layout>
</item> </widget>
</layout> </item>
</item> </layout>
<item row="2" column="0"> </widget>
<layout class="QVBoxLayout" name="m_autonum_layout"/> <widget class="QWidget" name="Unifilaire">
</item> <attribute name="title">
<item row="0" column="0"> <string>Unifilaire</string>
<widget class="QCheckBox" name="m_one_text_per_folio_cb"> </attribute>
<property name="toolTip"> <layout class="QGridLayout" name="gridLayout_5">
<string>activer l'option un texte par potentiel</string> <item row="0" column="0">
</property> <widget class="QGroupBox" name="m_singlewire_gb">
<property name="text"> <property name="maximumSize">
<string>Afficher un texte de potentiel par folio. </string> <size>
</property> <width>450</width>
</widget> <height>16777215</height>
</item> </size>
</layout> </property>
</widget> <property name="title">
</item> <string>Unifilaire</string>
<item row="1" column="0"> </property>
<widget class="QGroupBox" name="m_singlewire_gb"> <property name="flat">
<property name="maximumSize"> <bool>false</bool>
<size> </property>
<width>450</width> <property name="checkable">
<height>16777215</height> <bool>true</bool>
</size> </property>
</property> <property name="checked">
<property name="title"> <bool>false</bool>
<string>Unifilaire</string> </property>
</property> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="flat"> <item>
<bool>false</bool> <layout class="QGridLayout" name="gridLayout">
</property> <item row="0" column="0" rowspan="3">
<property name="checkable"> <widget class="QLabel" name="m_preview_label">
<bool>true</bool> <property name="text">
</property> <string>TextLabel</string>
<property name="checked"> </property>
<bool>false</bool> <property name="alignment">
</property> <set>Qt::AlignCenter</set>
<layout class="QHBoxLayout" name="horizontalLayout"> </property>
<item> </widget>
<layout class="QGridLayout" name="gridLayout"> </item>
<item row="0" column="0" rowspan="3"> <item row="2" column="3">
<widget class="QLabel" name="m_preview_label"> <widget class="QSpinBox" name="m_phase_sb">
<property name="text"> <property name="toolTip">
<string>TextLabel</string> <string>Nombre de phase</string>
</property> </property>
<property name="alignment"> <property name="minimum">
<set>Qt::AlignCenter</set> <number>1</number>
</property> </property>
</widget> <property name="maximum">
</item> <number>3</number>
<item row="2" column="3"> </property>
<widget class="QSpinBox" name="m_phase_sb"> </widget>
<property name="toolTip"> </item>
<string>Nombre de phase</string> <item row="0" column="2">
</property> <widget class="QPushButton" name="m_update_preview_pb">
<property name="minimum"> <property name="text">
<number>1</number> <string/>
</property> </property>
<property name="maximum"> </widget>
<number>3</number> </item>
</property> <item row="1" column="1">
</widget> <widget class="QCheckBox" name="m_neutral_cb">
</item> <property name="toolTip">
<item row="0" column="2"> <string>Neutre</string>
<widget class="QPushButton" name="m_update_preview_pb"> </property>
<property name="text"> <property name="text">
<string/> <string>neutre</string>
</property> </property>
</widget> <property name="icon">
</item> <iconset resource="../../qelectrotech.qrc">
<item row="1" column="1"> <normaloff>:/ico/16x16/neutral.png</normaloff>:/ico/16x16/neutral.png</iconset>
<widget class="QCheckBox" name="m_neutral_cb"> </property>
<property name="toolTip"> </widget>
<string>Neutre</string> </item>
</property> <item row="0" column="1">
<property name="text"> <widget class="QCheckBox" name="m_earth_cb">
<string>neutre</string> <property name="toolTip">
</property> <string>Terre</string>
<property name="icon"> </property>
<iconset resource="../../qelectrotech.qrc"> <property name="text">
<normaloff>:/ico/16x16/neutral.png</normaloff>:/ico/16x16/neutral.png</iconset> <string>terre</string>
</property> </property>
</widget> <property name="icon">
</item> <iconset resource="../../qelectrotech.qrc">
<item row="0" column="1"> <normaloff>:/ico/16x16/ground.png</normaloff>:/ico/16x16/ground.png</iconset>
<widget class="QCheckBox" name="m_earth_cb"> </property>
<property name="toolTip"> </widget>
<string>Terre</string> </item>
</property> <item row="2" column="1">
<property name="text"> <widget class="QCheckBox" name="m_phase_cb">
<string>terre</string> <property name="toolTip">
</property> <string>Phase</string>
<property name="icon"> </property>
<iconset resource="../../qelectrotech.qrc"> <property name="text">
<normaloff>:/ico/16x16/ground.png</normaloff>:/ico/16x16/ground.png</iconset> <string>phase</string>
</property> </property>
</widget> <property name="icon">
</item> <iconset resource="../../qelectrotech.qrc">
<item row="2" column="1"> <normaloff>:/ico/16x16/phase.png</normaloff>:/ico/16x16/phase.png</iconset>
<widget class="QCheckBox" name="m_phase_cb"> </property>
<property name="toolTip"> </widget>
<string>Phase</string> </item>
</property> <item row="2" column="2">
<property name="text"> <widget class="QSlider" name="m_phase_slider">
<string>phase</string> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<property name="icon"> <horstretch>0</horstretch>
<iconset resource="../../qelectrotech.qrc"> <verstretch>0</verstretch>
<normaloff>:/ico/16x16/phase.png</normaloff>:/ico/16x16/phase.png</iconset> </sizepolicy>
</property> </property>
</widget> <property name="toolTip">
</item> <string>Nombre de phase</string>
<item row="2" column="2"> </property>
<widget class="QSlider" name="m_phase_slider"> <property name="minimum">
<property name="sizePolicy"> <number>1</number>
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> </property>
<horstretch>0</horstretch> <property name="maximum">
<verstretch>0</verstretch> <number>3</number>
</sizepolicy> </property>
</property> <property name="orientation">
<property name="toolTip"> <enum>Qt::Horizontal</enum>
<string>Nombre de phase</string> </property>
</property> </widget>
<property name="minimum"> </item>
<number>1</number> <item row="1" column="2">
</property> <widget class="QCheckBox" name="m_pen_cb">
<property name="maximum"> <property name="toolTip">
<number>3</number> <string>Protective Earth Neutral</string>
</property> </property>
<property name="orientation"> <property name="text">
<enum>Qt::Horizontal</enum> <string>PEN</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2"> </layout>
<widget class="QCheckBox" name="m_pen_cb"> </item>
<property name="toolTip"> </layout>
<string>Protective Earth Neutral</string> </widget>
</property> </item>
<property name="text"> </layout>
<string>PEN</string> </widget>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>