Salome HOME
bug OCC 52962 and 52948
[tools/eficas.git] / UiQT4 / desWidgetCommande.ui
index f96c9240d71a713db37e387b532bcdd5bbf79c19..a48c8947130f3d1acb97d8238fb9acf7712089a7 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>1031</width>
-    <height>203</height>
+    <height>250</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -32,9 +32,9 @@
    <string notr="true">background-color : rgb(224,223,222);
 font : 'times' 9px</string>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout_2">
+  <layout class="QVBoxLayout" name="verticalLayout_3">
    <item>
-    <layout class="QHBoxLayout" name="horizontalLayout_3">
+    <layout class="QHBoxLayout" name="horizontalLayout_4">
      <item>
       <widget class="QFrame" name="frame_2">
        <property name="sizePolicy">
@@ -50,6 +50,9 @@ font : 'times' 9px</string>
         <enum>QFrame::Raised</enum>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout">
+        <property name="spacing">
+         <number>0</number>
+        </property>
         <item>
          <spacer name="horizontalSpacer_5">
           <property name="orientation">
@@ -80,6 +83,9 @@ font : 'times' 9px</string>
             <height>31</height>
            </size>
           </property>
+          <property name="focusPolicy">
+           <enum>Qt::ClickFocus</enum>
+          </property>
           <property name="toolTip">
            <string>Affiche le rapport de validité de la commande</string>
           </property>
@@ -91,7 +97,7 @@ font : 'times' 9px</string>
           </property>
           <property name="icon">
            <iconset>
-            <normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/ast-green-ball.png</normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/ast-green-ball.png</iconset>
+            <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
           </property>
           <property name="iconSize">
            <size>
@@ -118,7 +124,7 @@ font : 'times' 9px</string>
          </spacer>
         </item>
         <item>
-         <widget class="QLabel" name="labelNomCommande">
+         <widget class="MonLabelClic" name="labelNomCommande">
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
@@ -143,7 +149,7 @@ font : 'times' 9px</string>
          </widget>
         </item>
         <item>
-         <spacer name="horizontalSpacer">
+         <spacer name="toto">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
@@ -152,7 +158,7 @@ font : 'times' 9px</string>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
-            <width>162</width>
+            <width>2</width>
             <height>40</height>
            </size>
           </property>
@@ -195,11 +201,11 @@ QLineEdit:disabled
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeType">
-           <enum>QSizePolicy::Maximum</enum>
+           <enum>QSizePolicy::Ignored</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
-            <width>78</width>
+            <width>2</width>
             <height>40</height>
            </size>
           </property>
@@ -227,6 +233,9 @@ QLineEdit:disabled
               <height>31</height>
              </size>
             </property>
+            <property name="focusPolicy">
+             <enum>Qt::ClickFocus</enum>
+            </property>
             <property name="toolTip">
              <string>Lance un script associé à la commande</string>
             </property>
@@ -238,7 +247,7 @@ QLineEdit:disabled
             </property>
             <property name="icon">
              <iconset>
-              <normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/roue.png</normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/roue.png</iconset>
+              <normaloff>../Editeur/icons/roue.png</normaloff>../Editeur/icons/roue.png</iconset>
             </property>
             <property name="iconSize">
              <size>
@@ -262,6 +271,9 @@ QLineEdit:disabled
               <height>31</height>
              </size>
             </property>
+            <property name="focusPolicy">
+             <enum>Qt::ClickFocus</enum>
+            </property>
             <property name="toolTip">
              <string>ouvre un navigateur sur l'aide contextuelle</string>
             </property>
@@ -273,7 +285,7 @@ QLineEdit:disabled
             </property>
             <property name="icon">
              <iconset>
-              <normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/point-interrogation30.png</normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/point-interrogation30.png</iconset>
+              <normaloff>../Editeur/icons/point-interrogation30.png</normaloff>../Editeur/icons/point-interrogation30.png</iconset>
             </property>
             <property name="iconSize">
              <size>
@@ -297,6 +309,9 @@ QLineEdit:disabled
               <height>31</height>
              </size>
             </property>
+            <property name="focusPolicy">
+             <enum>Qt::ClickFocus</enum>
+            </property>
             <property name="toolTip">
              <string>affiche les régles de validité</string>
             </property>
@@ -308,7 +323,7 @@ QLineEdit:disabled
             </property>
             <property name="icon">
              <iconset>
-              <normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/lettreRblanc30.png</normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/lettreRblanc30.png</iconset>
+              <normaloff>../Editeur/icons/lettreRblanc30.png</normaloff>../Editeur/icons/lettreRblanc30.png</iconset>
             </property>
             <property name="iconSize">
              <size>
@@ -350,6 +365,9 @@ QLineEdit:disabled
             <height>31</height>
            </size>
           </property>
+          <property name="focusPolicy">
+           <enum>Qt::ClickFocus</enum>
+          </property>
           <property name="toolTip">
            <string>Détruit la commande</string>
           </property>
@@ -361,7 +379,7 @@ QLineEdit:disabled
           </property>
           <property name="icon">
            <iconset>
-            <normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/deleteRond.png</normaloff>../../../../../../home/A96028/Install_EficasV1/ArbreEficas/Editeur/icons/deleteRond.png</iconset>
+            <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
           </property>
           <property name="iconSize">
            <size>
@@ -382,29 +400,7 @@ QLineEdit:disabled
       </widget>
      </item>
      <item>
-      <layout class="QVBoxLayout" name="verticalLayout_4">
-       <property name="spacing">
-        <number>0</number>
-       </property>
-       <property name="sizeConstraint">
-        <enum>QLayout::SetFixedSize</enum>
-       </property>
-       <item>
-        <spacer name="verticalSpacer_2">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeType">
-          <enum>QSizePolicy::Fixed</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>5</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
+      <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
         <widget class="QPushButton" name="bCatalogue">
          <property name="sizePolicy">
@@ -419,6 +415,9 @@ QLineEdit:disabled
            <height>31</height>
           </size>
          </property>
+         <property name="focusPolicy">
+          <enum>Qt::ClickFocus</enum>
+         </property>
          <property name="toolTip">
           <string>Affiche les commandes possibles</string>
          </property>
@@ -429,7 +428,7 @@ border-radius : 12px
 </string>
          </property>
          <property name="text">
-          <string>&amp;Catalogue</string>
+          <string>&amp;Commandes</string>
          </property>
          <property name="shortcut">
           <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
@@ -443,25 +442,112 @@ border-radius : 12px
         </widget>
        </item>
        <item>
-        <spacer name="verticalSpacer_3">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeType">
-          <enum>QSizePolicy::Fixed</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>5</height>
-          </size>
-         </property>
-        </spacer>
+        <layout class="QHBoxLayout" name="horizontalLayout_3">
+         <item>
+          <widget class="QPushButton" name="bAvant">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize">
+            <size>
+             <width>60</width>
+             <height>24</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>60</width>
+             <height>24</height>
+            </size>
+           </property>
+           <property name="focusPolicy">
+            <enum>Qt::ClickFocus</enum>
+           </property>
+           <property name="toolTip">
+            <string>Affiche le formulaire de la commande précédente</string>
+           </property>
+           <property name="styleSheet">
+            <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
+           </property>
+           <property name="text">
+            <string>&lt;&lt;</string>
+           </property>
+           <property name="shortcut">
+            <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+           </property>
+           <property name="autoDefault">
+            <bool>true</bool>
+           </property>
+           <property name="default">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <widget class="QPushButton" name="bApres">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize">
+            <size>
+             <width>60</width>
+             <height>24</height>
+            </size>
+           </property>
+           <property name="maximumSize">
+            <size>
+             <width>60</width>
+             <height>24</height>
+            </size>
+           </property>
+           <property name="focusPolicy">
+            <enum>Qt::ClickFocus</enum>
+           </property>
+           <property name="toolTip">
+            <string>Affiche le formulaire de la commande suivante</string>
+           </property>
+           <property name="styleSheet">
+            <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
+           </property>
+           <property name="text">
+            <string>&gt;&gt;</string>
+           </property>
+           <property name="shortcut">
+            <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+           </property>
+           <property name="autoDefault">
+            <bool>true</bool>
+           </property>
+           <property name="default">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+        </layout>
        </item>
       </layout>
      </item>
     </layout>
    </item>
+   <item>
+    <widget class="QLabel" name="labelDoc">
+     <property name="text">
+      <string>TextLabel</string>
+     </property>
+    </widget>
+   </item>
    <item>
     <widget class="QScrollArea" name="scrollAreaCommandes">
      <property name="minimumSize">
@@ -482,6 +568,9 @@ border-radius : 12px
      <property name="verticalScrollBarPolicy">
       <enum>Qt::ScrollBarAsNeeded</enum>
      </property>
+     <property name="horizontalScrollBarPolicy">
+      <enum>Qt::ScrollBarAsNeeded</enum>
+     </property>
      <property name="widgetResizable">
       <bool>true</bool>
      </property>
@@ -491,17 +580,30 @@ border-radius : 12px
         <x>0</x>
         <y>0</y>
         <width>1013</width>
-        <height>117</height>
+        <height>129</height>
        </rect>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
         <layout class="QVBoxLayout" name="commandesLayout">
          <property name="spacing">
-          <number>6</number>
+          <number>1</number>
          </property>
         </layout>
        </item>
+       <item>
+        <spacer name="verticalSpacer">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>5</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
       </layout>
      </widget>
     </widget>
@@ -516,6 +618,11 @@ border-radius : 12px
    <extends>QToolButton</extends>
    <header>monBoutonValide.h</header>
   </customwidget>
+  <customwidget>
+   <class>MonLabelClic</class>
+   <extends>QLabel</extends>
+   <header>monLabelClic.h</header>
+  </customwidget>
  </customwidgets>
  <resources/>
  <connections/>