diff --git a/src/view/ui/ConfigureDialog.ui b/src/view/ui/ConfigureDialog.ui index c54b2b45f4d0f9131892190d7a7773315664035b..2332d7f4e29c9265a494e64d8672dd7080e1c4ac 100644 --- a/src/view/ui/ConfigureDialog.ui +++ b/src/view/ui/ConfigureDialog.ui @@ -108,255 +108,309 @@ </layout> </widget> <widget class="QWidget" name="tab_mesh"> + <property name="autoFillBackground"> + <bool>false</bool> + </property> <attribute name="title"> <string>Meshing tool</string> </attribute> - <widget class="QWidget" name="layoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>611</width> - <height>30</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <item> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Meshing tool path</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="lineEdit_mailleur"/> - </item> - <item> - <widget class="QPushButton" name="pushButton_mailleur"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset> - <normaloff>ressources/open.png</normaloff>ressources/open.png</iconset> - </property> - </widget> - </item> - </layout> - </widget> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_7"> + <item> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Meshing tool path</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEdit_mailleur_2"/> + </item> + <item> + <widget class="QPushButton" name="pushButton_mailleur_2"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset> + <normaloff>ressources/open.png</normaloff>ressources/open.png</iconset> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> </widget> <widget class="QWidget" name="tab_constant"> <attribute name="title"> <string>Constants</string> </attribute> - <widget class="QWidget" name="layoutWidget_2"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>621</width> - <height>61</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <item> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Segment number</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Listing maximum size</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_4"> - <item> - <widget class="QLineEdit" name="lineEdit_segment"> - <property name="text"> - <string>1000</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="lineEdit_max_listing"> - <property name="text"> - <string>500000</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_8"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Segment number</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Listing maximum size</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QLineEdit" name="lineEdit_segment"> + <property name="text"> + <string>1000</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEdit_max_listing"> + <property name="text"> + <string>500000</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> </widget> <widget class="QWidget" name="tab_backup"> <attribute name="title"> <string>Backup</string> </attribute> - <widget class="QWidget" name="layoutWidget_3"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>611</width> - <height>121</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_7"> - <item> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Auto save</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string>Path</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_9"> - <property name="text"> - <string>Frequence</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_10"> - <property name="text"> - <string>Max. archives</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_6"> - <item> - <widget class="QCheckBox" name="checkBox_backup"> - <property name="text"> - <string>Enable</string> - </property> - <property name="tristate"> - <bool>false</bool> - </property> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <widget class="QLineEdit" name="lineEdit_backup_path"/> - </item> - <item> - <widget class="QPushButton" name="pushButton_backup_path"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset> - <normaloff>ressources/open.png</normaloff>ressources/open.png</iconset> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QTimeEdit" name="timeEdit_backup_frequence"> - <property name="minimumTime"> - <time> - <hour>0</hour> - <minute>1</minute> - <second>0</second> - </time> - </property> - <property name="displayFormat"> - <string>HH:mm:ss</string> - </property> - <property name="timeSpec"> - <enum>Qt::LocalTime</enum> - </property> - <property name="time"> - <time> - <hour>0</hour> - <minute>5</minute> - <second>0</second> - </time> - </property> - </widget> - </item> - <item> - <widget class="QSpinBox" name="spinBox_backup_max"> - <property name="minimum"> - <number>1</number> - </property> - <property name="value"> - <number>10</number> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_9"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <item> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>Auto save</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Path</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>Frequence</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_10"> + <property name="text"> + <string>Max. archives</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <item> + <widget class="QCheckBox" name="checkBox_backup"> + <property name="text"> + <string>Enable</string> + </property> + <property name="tristate"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLineEdit" name="lineEdit_backup_path"/> + </item> + <item> + <widget class="QPushButton" name="pushButton_backup_path"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset> + <normaloff>ressources/open.png</normaloff>ressources/open.png</iconset> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QTimeEdit" name="timeEdit_backup_frequence"> + <property name="minimumTime"> + <time> + <hour>0</hour> + <minute>1</minute> + <second>0</second> + </time> + </property> + <property name="displayFormat"> + <string>HH:mm:ss</string> + </property> + <property name="timeSpec"> + <enum>Qt::LocalTime</enum> + </property> + <property name="time"> + <time> + <hour>0</hour> + <minute>5</minute> + <second>0</second> + </time> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="spinBox_backup_max"> + <property name="minimum"> + <number>1</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> </widget> - <widget class="QWidget" name="tab_2"> + <widget class="QWidget" name="tab_language"> <attribute name="title"> <string>Language</string> </attribute> - <widget class="QLabel" name="label_4"> - <property name="geometry"> - <rect> - <x>11</x> - <y>11</y> - <width>309</width> - <height>16</height> - </rect> - </property> - <property name="font"> - <font> - <italic>true</italic> - </font> - </property> - <property name="text"> - <string>Please restart application after language modification</string> - </property> - </widget> - <widget class="QWidget" name=""> - <property name="geometry"> - <rect> - <x>11</x> - <y>33</y> - <width>191</width> - <height>26</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_6"> - <item> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Language</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="comboBox_language"/> - </item> - </layout> - </widget> + <layout class="QGridLayout" name="gridLayout_6"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_10"> + <item> + <widget class="QLabel" name="label_4"> + <property name="font"> + <font> + <italic>true</italic> + </font> + </property> + <property name="text"> + <string>Please restart application after language modification</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Language</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="comboBox_language"/> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> </widget> </widget> </item>