]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
pour les pushbuttons
authorpascale.noyret <pascale.noyret@edf.fr>
Mon, 10 Apr 2017 16:28:58 +0000 (18:28 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Mon, 10 Apr 2017 16:28:58 +0000 (18:28 +0200)
UiQT5/CMakeLists.txt
UiQT5/desPBOptionnelMT.ui [new file with mode: 0644]

index 2adc29093e21ff128e9d55f794b8709a6dcdb147..52fd66d2445993766584e75857b2e16f73115aff 100644 (file)
@@ -50,6 +50,8 @@ eficas_compile_ui ( desWidgetOptionnel.ui )
 eficas_compile_ui ( desGroupeOptionnel.ui )
 eficas_compile_ui ( Tuple2.ui )
 eficas_compile_ui ( Tuple3.ui )
+eficas_compile_ui ( desPBMT.ui )
+eficas_compile_ui ( desPBOptionnelMT.ui )
 #
 eficas_compile_ui ( desWidgetBloc.ui )
 eficas_compile_ui ( desWidgetCB.ui )
diff --git a/UiQT5/desPBOptionnelMT.ui b/UiQT5/desPBOptionnelMT.ui
new file mode 100644 (file)
index 0000000..5bdd322
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>customPB</class>
+ <widget class="QWidget" name="customPB">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>218</width>
+    <height>84</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Form</string>
+  </property>
+  <layout class="QHBoxLayout" name="horizontalLayout">
+   <item>
+    <spacer name="horizontalSpacer">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>17</width>
+       <height>20</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <widget class="QPushButton" name="monPb">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+       <horstretch>1</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>0</height>
+      </size>
+     </property>
+     <property name="maximumSize">
+      <size>
+       <width>200</width>
+       <height>33</height>
+      </size>
+     </property>
+     <property name="styleSheet">
+      <string notr="true">/*background-color : rgb(168, 227, 142);rgb(57, 146, 228)*/
+background-color : rgb(66, 165, 238);
+/*border-style : outset;*/
+border-radius : 10px;
+border-width : 30 px;
+border-color : beige;
+</string>
+     </property>
+     <property name="text">
+      <string>PushButton</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <spacer name="horizontalSpacer_2">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>17</width>
+       <height>20</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+  </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>