[qet] qet/qet: [5517] Improve general config page UI

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5517
Author:   scorpio810
Date:     2018-09-23 20:32:17 +0200 (Sun, 23 Sep 2018)
Log Message:
-----------
Improve general config page UI

Modified Paths:
--------------
    trunk/sources/ui/configpage/generalconfigurationpage.ui

Modified: trunk/sources/ui/configpage/generalconfigurationpage.ui
===================================================================
--- trunk/sources/ui/configpage/generalconfigurationpage.ui	2018-09-22 20:26:44 UTC (rev 5516)
+++ trunk/sources/ui/configpage/generalconfigurationpage.ui	2018-09-23 18:32:17 UTC (rev 5517)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>930</width>
-    <height>905</height>
+    <width>1000</width>
+    <height>850</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -15,57 +15,287 @@
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_3">
    <item>
-    <widget class="QLabel" name="label_6">
-     <property name="text">
-      <string>Général</string>
+    <widget class="QTabWidget" name="tabWidget">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
      </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="Line" name="line">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
+     <property name="minimumSize">
+      <size>
+       <width>980</width>
+       <height>0</height>
+      </size>
      </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox">
-     <property name="title">
-      <string>Apparence</string>
+     <property name="currentIndex">
+      <number>0</number>
      </property>
-     <layout class="QVBoxLayout" name="verticalLayout">
-      <item>
-       <widget class="QCheckBox" name="m_use_system_color_cb">
+     <widget class="QWidget" name="tab_3">
+      <attribute name="title">
+       <string>Apparence</string>
+      </attribute>
+      <widget class="QRadioButton" name="m_use_windows_mode_rb">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>100</y>
+         <width>535</width>
+         <height>24</height>
+        </rect>
+       </property>
+       <property name="text">
+        <string>Utiliser des fenêtres (appliqué au prochain lancement de &amp;QElectroTech)</string>
+       </property>
+      </widget>
+      <widget class="QRadioButton" name="m_use_tab_mode_rb">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>140</y>
+         <width>535</width>
+         <height>24</height>
+        </rect>
+       </property>
+       <property name="text">
+        <string>Utiliser des onglets (appliqué au proc&amp;hain lancement de QElectroTech)</string>
+       </property>
+      </widget>
+      <widget class="QCheckBox" name="m_use_gesture_trackpad">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>180</y>
+         <width>535</width>
+         <height>24</height>
+        </rect>
+       </property>
+       <property name="text">
+        <string>Utiliser les gestes du pavé tactile</string>
+       </property>
+      </widget>
+      <widget class="QCheckBox" name="m_zoom_out_beyond_folio">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>220</y>
+         <width>535</width>
+         <height>24</height>
+        </rect>
+       </property>
+       <property name="text">
+        <string>Autoriser le dézoom au delà du folio</string>
+       </property>
+      </widget>
+      <widget class="QCheckBox" name="m_use_system_color_cb">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>60</y>
+         <width>937</width>
+         <height>16</height>
+        </rect>
+       </property>
+       <property name="text">
+        <string>Utiliser les couleurs du système</string>
+       </property>
+      </widget>
+      <widget class="QFrame" name="frame">
+       <property name="geometry">
+        <rect>
+         <x>0</x>
+         <y>29</y>
+         <width>971</width>
+         <height>261</height>
+        </rect>
+       </property>
+       <property name="frameShape">
+        <enum>QFrame::StyledPanel</enum>
+       </property>
+       <property name="frameShadow">
+        <enum>QFrame::Raised</enum>
+       </property>
+      </widget>
+     </widget>
+     <widget class="QWidget" name="tab_4">
+      <attribute name="title">
+       <string>Projets</string>
+      </attribute>
+      <widget class="QGroupBox" name="groupBox_2">
+       <property name="geometry">
+        <rect>
+         <x>0</x>
+         <y>20</y>
+         <width>971</width>
+         <height>376</height>
+        </rect>
+       </property>
+       <property name="title">
+        <string/>
+       </property>
+       <layout class="QGridLayout" name="gridLayout">
+        <item row="3" column="0" colspan="2">
+         <widget class="QCheckBox" name="m_border_0">
+          <property name="text">
+           <string extracomment="Choix de l'increment de depart 1 ou 0">Activer la numérotation à partir de 0 pour la colonne des cartouches au lieu de 1</string>
+          </property>
+         </widget>
+        </item>
+        <item row="4" column="1">
+         <spacer name="horizontalSpacer">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>40</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="1" column="0">
+         <widget class="QCheckBox" name="m_use_folio_label">
+          <property name="text">
+           <string>Utiliser les labels de folio à la place de leurs ID</string>
+          </property>
+         </widget>
+        </item>
+        <item row="4" column="2">
+         <widget class="QSpinBox" name="m_autosave_sb">
+          <property name="frame">
+           <bool>true</bool>
+          </property>
+          <property name="specialValueText">
+           <string>Désactivé</string>
+          </property>
+          <property name="suffix">
+           <string comment="minute"> min</string>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="0">
+         <widget class="QCheckBox" name="m_save_label_paste">
+          <property name="text">
+           <string>Ne pas conserver les labels des éléments lors des copier coller</string>
+          </property>
+         </widget>
+        </item>
+        <item row="2" column="0">
+         <widget class="QCheckBox" name="m_export_terminal">
+          <property name="text">
+           <string>Exporter les bornes dans la nomenclature</string>
+          </property>
+         </widget>
+        </item>
+        <item row="4" column="0">
+         <widget class="QLabel" name="label">
+          <property name="text">
+           <string>Sauvegarde automatique des projets (appliqué au prochain lancement de QElectroTech)</string>
+          </property>
+         </widget>
+        </item>
+        <item row="6" column="2">
+         <widget class="QPushButton" name="m_folio_list_pb">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
+        <item row="5" column="2">
+         <widget class="QPushButton" name="m_font_pb">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
+        <item row="6" column="0">
+         <widget class="QLabel" name="label_3">
+          <property name="text">
+           <string>Police des champs textes des pages sommaires</string>
+          </property>
+         </widget>
+        </item>
+        <item row="5" column="0">
+         <widget class="QLabel" name="label_2">
+          <property name="text">
+           <string>Police des champs de texte</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+     </widget>
+     <widget class="QWidget" name="tab_5">
+      <attribute name="title">
+       <string>Elements</string>
+      </attribute>
+      <widget class="QGroupBox" name="groupBox_5">
+       <property name="geometry">
+        <rect>
+         <x>0</x>
+         <y>20</y>
+         <width>971</width>
+         <height>141</height>
+        </rect>
+       </property>
+       <property name="title">
+        <string>Collections d'éléments</string>
+       </property>
+       <property name="alignment">
+        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+       </property>
+       <property name="flat">
+        <bool>false</bool>
+       </property>
+       <widget class="QLabel" name="label_9">
+        <property name="geometry">
+         <rect>
+          <x>480</x>
+          <y>110</y>
+          <width>431</width>
+          <height>18</height>
+         </rect>
+        </property>
         <property name="text">
-         <string>Utiliser les couleurs du système</string>
+         <string>(Recharger les collections d'éléments pour appliquer les changements)</string>
         </property>
        </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_5">
-     <property name="title">
-      <string>Collections d'éléments</string>
-     </property>
-     <layout class="QGridLayout" name="gridLayout_2">
-      <item row="1" column="0">
+       <widget class="QLabel" name="label_7">
+        <property name="geometry">
+         <rect>
+          <x>20</x>
+          <y>50</y>
+          <width>207</width>
+          <height>18</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Chemin de la collection commune</string>
+        </property>
+       </widget>
        <widget class="QLabel" name="label_8">
+        <property name="geometry">
+         <rect>
+          <x>20</x>
+          <y>80</y>
+          <width>208</width>
+          <height>18</height>
+         </rect>
+        </property>
         <property name="text">
          <string>Chemin de la collection utilisateur</string>
         </property>
        </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QLabel" name="label_7">
-        <property name="text">
-         <string>Chemin de la collection commune</string>
+       <widget class="QComboBox" name="m_custom_elmt_path_cb">
+        <property name="geometry">
+         <rect>
+          <x>470</x>
+          <y>80</y>
+          <width>481</width>
+          <height>26</height>
+         </rect>
         </property>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <widget class="QComboBox" name="m_common_elmt_path_cb">
         <item>
          <property name="text">
           <string>Par defaut</string>
@@ -77,9 +307,15 @@
          </property>
         </item>
        </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QComboBox" name="m_custom_elmt_path_cb">
+       <widget class="QComboBox" name="m_common_elmt_path_cb">
+        <property name="geometry">
+         <rect>
+          <x>470</x>
+          <y>50</y>
+          <width>481</width>
+          <height>26</height>
+         </rect>
+        </property>
         <item>
          <property name="text">
           <string>Par defaut</string>
@@ -91,204 +327,118 @@
          </property>
         </item>
        </widget>
-      </item>
-      <item row="2" column="1">
-       <widget class="QLabel" name="label_9">
-        <property name="text">
-         <string>(Recharger les collections d'éléments pour appliquer les changements)</string>
+      </widget>
+      <widget class="QGroupBox" name="groupBox_3">
+       <property name="geometry">
+        <rect>
+         <x>10</x>
+         <y>180</y>
+         <width>961</width>
+         <height>271</height>
+        </rect>
+       </property>
+       <property name="title">
+        <string>Gestion des éléments</string>
+       </property>
+       <property name="alignment">
+        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+       </property>
+       <widget class="QCheckBox" name="m_highlight_integrated_elements">
+        <property name="geometry">
+         <rect>
+          <x>12</x>
+          <y>33</y>
+          <width>422</width>
+          <height>24</height>
+         </rect>
         </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_2">
-     <property name="title">
-      <string>Projets</string>
-     </property>
-     <layout class="QGridLayout" name="gridLayout">
-      <item row="9" column="2">
-       <widget class="QPushButton" name="m_font_pb">
         <property name="text">
-         <string/>
+         <string>Mettre en valeur dans le panel les éléments fraîchement intégrés</string>
         </property>
        </widget>
-      </item>
-      <item row="8" column="0">
-       <widget class="QLabel" name="label">
-        <property name="text">
-         <string>Sauvegarde automatique des projets (appliqué au prochain lancement de QElectroTech)</string>
+       <widget class="QLabel" name="label_4">
+        <property name="geometry">
+         <rect>
+          <x>12</x>
+          <y>63</y>
+          <width>888</width>
+          <height>36</height>
+         </rect>
         </property>
-       </widget>
-      </item>
-      <item row="10" column="2">
-       <widget class="QPushButton" name="m_folio_list_pb">
         <property name="text">
-         <string/>
+         <string>Chaque élément embarque des informations sur ses auteurs, sa licence, ou tout autre renseignement que vous jugerez utile dans un champ libre.
+Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments que vous créerez :</string>
         </property>
        </widget>
-      </item>
-      <item row="4" column="0">
-       <widget class="QCheckBox" name="m_save_label_paste">
-        <property name="text">
-         <string>Ne pas conserver les labels des éléments lors des copier coller</string>
+       <widget class="QTextEdit" name="m_default_elements_info">
+        <property name="geometry">
+         <rect>
+          <x>12</x>
+          <y>105</y>
+          <width>941</width>
+          <height>131</height>
+         </rect>
         </property>
        </widget>
-      </item>
-      <item row="1" column="0">
-       <widget class="QRadioButton" name="m_use_tab_mode_rb">
-        <property name="text">
-         <string>Utiliser des onglets (appliqué au proc&amp;hain lancement de QElectroTech)</string>
+      </widget>
+     </widget>
+     <widget class="QWidget" name="tab_6">
+      <attribute name="title">
+       <string>Language</string>
+      </attribute>
+      <widget class="QGroupBox" name="groupBox_4">
+       <property name="geometry">
+        <rect>
+         <x>0</x>
+         <y>20</y>
+         <width>971</width>
+         <height>91</height>
+        </rect>
+       </property>
+       <property name="title">
+        <string/>
+       </property>
+       <property name="alignment">
+        <set>Qt::AlignJustify|Qt::AlignVCenter</set>
+       </property>
+       <widget class="QComboBox" name="m_lang_cb">
+        <property name="geometry">
+         <rect>
+          <x>50</x>
+          <y>40</y>
+          <width>141</width>
+          <height>26</height>
+         </rect>
         </property>
        </widget>
-      </item>
-      <item row="3" column="0">
-       <widget class="QCheckBox" name="m_use_gesture_trackpad">
-        <property name="text">
-         <string>Utiliser les gestes du pavé tactile</string>
+       <widget class="QLabel" name="label_6">
+        <property name="geometry">
+         <rect>
+          <x>330</x>
+          <y>40</y>
+          <width>300</width>
+          <height>18</height>
+         </rect>
         </property>
-       </widget>
-      </item>
-      <item row="10" column="0">
-       <widget class="QLabel" name="label_3">
         <property name="text">
-         <string>Police des champs textes des pages sommaires</string>
-        </property>
-       </widget>
-      </item>
-      <item row="9" column="0">
-       <widget class="QLabel" name="label_2">
-        <property name="text">
-         <string>Police des champs de texte</string>
-        </property>
-       </widget>
-      </item>
-      <item row="6" column="0">
-       <widget class="QCheckBox" name="m_export_terminal">
-        <property name="text">
-         <string>Exporter les bornes dans la nomenclature</string>
-        </property>
-       </widget>
-      </item>
-      <item row="8" column="2">
-       <widget class="QSpinBox" name="m_autosave_sb">
-        <property name="frame">
-         <bool>true</bool>
-        </property>
-        <property name="specialValueText">
-         <string>Désactivé</string>
-        </property>
-        <property name="suffix">
-         <string comment="minute"> min</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QRadioButton" name="m_use_windows_mode_rb">
-        <property name="text">
-         <string>Utiliser des fenêtres (appliqué au prochain lancement de &amp;QElectroTech)</string>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="0">
-       <widget class="QCheckBox" name="m_zoom_out_beyond_folio">
-        <property name="text">
-         <string>Autoriser le dézoom au delà du folio</string>
-        </property>
-       </widget>
-      </item>
-      <item row="5" column="0">
-       <widget class="QCheckBox" name="m_use_folio_label">
-        <property name="text">
-         <string>Utiliser les labels de folio à la place de leurs ID</string>
-        </property>
-       </widget>
-      </item>
-      <item row="8" column="1">
-       <spacer name="horizontalSpacer">
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="7" column="0" colspan="2">
-       <widget class="QCheckBox" name="m_border_0">
-        <property name="text">
-         <string extracomment="Choix de l'increment de depart 1 ou 0">Activer la numérotation à partir de 0 pour la colonne des cartouches au lieu de 1</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_3">
-     <property name="title">
-      <string>Gestion des éléments</string>
-     </property>
-     <layout class="QVBoxLayout" name="verticalLayout_2">
-      <item>
-       <widget class="QCheckBox" name="m_highlight_integrated_elements">
-        <property name="text">
-         <string>Mettre en valeur dans le panel les éléments fraîchement intégrés</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLabel" name="label_4">
-        <property name="text">
-         <string>Chaque élément embarque des informations sur ses auteurs, sa licence, ou tout autre renseignement que vous jugerez utile dans un champ libre.
-Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments que vous créerez :</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QTextEdit" name="m_default_elements_info"/>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_4">
-     <property name="title">
-      <string>Langue</string>
-     </property>
-     <layout class="QHBoxLayout" name="horizontalLayout">
-      <item>
-       <widget class="QComboBox" name="m_lang_cb"/>
-      </item>
-      <item>
-       <widget class="QLabel" name="label_5">
-        <property name="text">
          <string>Appliqué au prochain lancement de QElectroTech</string>
         </property>
        </widget>
-      </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>
+      </widget>
+     </widget>
     </widget>
    </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>m_font_pb</tabstop>
+  <tabstop>m_folio_list_pb</tabstop>
+  <tabstop>m_use_folio_label</tabstop>
+  <tabstop>m_autosave_sb</tabstop>
+  <tabstop>m_border_0</tabstop>
+  <tabstop>m_save_label_paste</tabstop>
+  <tabstop>m_export_terminal</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/