]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Added .ui files in DlgRef for use in feature detection
authorrnc <rnc@opencascade.com>
Thu, 15 Mar 2012 10:55:25 +0000 (10:55 +0000)
committerrnc <rnc@opencascade.com>
Thu, 15 Mar 2012 10:55:25 +0000 (10:55 +0000)
src/DlgRef/DlgRef.cxx
src/DlgRef/DlgRef.h
src/DlgRef/DlgRef_1Sel1Frame_QTD.ui [new file with mode: 0644]
src/DlgRef/DlgRef_4Spin_QTD.ui [new file with mode: 0644]
src/DlgRef/Makefile.am

index 65541592bb6672a8504c0e3f9eabb2dfad78be87..59b8831b16b8c5d97aa0c5da81bb1416e62dcfa6 100644 (file)
@@ -78,6 +78,20 @@ DlgRef_1Sel1Check::~DlgRef_1Sel1Check()
 {
 }
 
 {
 }
 
+//////////////////////////////////////////
+// DlgRef_1Sel1Frame
+//////////////////////////////////////////
+
+DlgRef_1Sel1Frame::DlgRef_1Sel1Frame( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+  setupUi( this );
+}
+
+DlgRef_1Sel1Frame::~DlgRef_1Sel1Frame()
+{
+}
+
 //////////////////////////////////////////
 // DlgRef_1Sel1List1Check3Btn
 //////////////////////////////////////////
 //////////////////////////////////////////
 // DlgRef_1Sel1List1Check3Btn
 //////////////////////////////////////////
@@ -740,6 +754,20 @@ DlgRef_3Spin::~DlgRef_3Spin()
 {
 }
 
 {
 }
 
+//////////////////////////////////////////
+// DlgRef_4Spin
+//////////////////////////////////////////
+
+DlgRef_4Spin::DlgRef_4Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+  setupUi( this );
+}
+
+DlgRef_4Spin::~DlgRef_4Spin()
+{
+}
+
 //////////////////////////////////////////
 // DlgRef_4Sel1List1Check
 //////////////////////////////////////////
 //////////////////////////////////////////
 // DlgRef_4Sel1List1Check
 //////////////////////////////////////////
index 9b565ba0ab67806bcf9c5558088b0c3b62b79dee..0ff004f41eb35e23f8dc1e1addce5d268c2367d5 100644 (file)
@@ -97,6 +97,22 @@ public:
   ~DlgRef_1Sel1Check();
 };
 
   ~DlgRef_1Sel1Check();
 };
 
+//////////////////////////////////////////
+// DlgRef_1Sel1Frame
+//////////////////////////////////////////
+
+#include "ui_DlgRef_1Sel1Frame_QTD.h"
+
+class DLGREF_EXPORT DlgRef_1Sel1Frame : public QWidget, 
+                                        public Ui::DlgRef_1Sel1Frame_QTD
+{
+  Q_OBJECT
+
+public:
+  DlgRef_1Sel1Frame( QWidget* = 0, Qt::WindowFlags = 0 );
+  ~DlgRef_1Sel1Frame();
+};
+
 //////////////////////////////////////////
 // DlgRef_1Sel1List1Check3Btn
 //////////////////////////////////////////
 //////////////////////////////////////////
 // DlgRef_1Sel1List1Check3Btn
 //////////////////////////////////////////
@@ -823,6 +839,22 @@ public:
   ~DlgRef_3Spin();
 };
 
   ~DlgRef_3Spin();
 };
 
+//////////////////////////////////////////
+// DlgRef_4Spin
+//////////////////////////////////////////
+
+#include "ui_DlgRef_4Spin_QTD.h"
+
+class DLGREF_EXPORT DlgRef_4Spin : public QWidget, 
+                                   public Ui::DlgRef_4Spin_QTD
+{
+  Q_OBJECT
+
+public:
+  DlgRef_4Spin( QWidget* = 0, Qt::WindowFlags = 0 );
+  ~DlgRef_4Spin();
+};
+
 //////////////////////////////////////////
 // DlgRef_4Sel1List1Check
 //////////////////////////////////////////
 //////////////////////////////////////////
 // DlgRef_4Sel1List1Check
 //////////////////////////////////////////
diff --git a/src/DlgRef/DlgRef_1Sel1Frame_QTD.ui b/src/DlgRef/DlgRef_1Sel1Frame_QTD.ui
new file mode 100644 (file)
index 0000000..c4e51d1
--- /dev/null
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>DlgRef_1Sel1Frame_QTD</class>
+ <widget class="QWidget" name="DlgRef_1Sel1Frame_QTD">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>265</width>
+    <height>149</height>
+   </rect>
+  </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
+  <property name="windowTitle">
+   <string/>
+  </property>
+  <layout class="QGridLayout">
+   <property name="margin">
+    <number>0</number>
+   </property>
+   <property name="spacing">
+    <number>6</number>
+   </property>
+   <item row="0" column="0">
+    <widget class="QGroupBox" name="GroupBox1">
+     <property name="title">
+      <string/>
+     </property>
+     <layout class="QGridLayout" name="gridLayout">
+      <item row="0" column="0">
+       <widget class="QLabel" name="TextLabel1">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL1</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1">
+       <widget class="QPushButton" name="PushButton1">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string/>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="2">
+       <widget class="QLineEdit" name="LineEdit1"/>
+      </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="TextLabel2">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL2</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QPushButton" name="PushButton2">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string/>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="2" rowspan="2">
+       <widget class="QFrame" name="Frame">
+        <property name="frameShape">
+         <enum>QFrame::Panel</enum>
+        </property>
+        <property name="frameShadow">
+         <enum>QFrame::Sunken</enum>
+        </property>
+        <layout class="QVBoxLayout" name="verticalLayout">
+         <item>
+          <widget class="QLabel" name="FrameLabel">
+           <property name="text">
+            <string>TextLabel</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+      <item row="2" column="1">
+       <spacer name="VerticalSpacer">
+        <property name="orientation">
+         <enum>Qt::Vertical</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>20</width>
+          <height>61</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+  <tabstop>PushButton1</tabstop>
+  <tabstop>LineEdit1</tabstop>
+  <tabstop>PushButton2</tabstop>
+ </tabstops>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/src/DlgRef/DlgRef_4Spin_QTD.ui b/src/DlgRef/DlgRef_4Spin_QTD.ui
new file mode 100644 (file)
index 0000000..ae46430
--- /dev/null
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>DlgRef_4Spin_QTD</class>
+ <widget class="QWidget" name="DlgRef_4Spin_QTD">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>342</width>
+    <height>91</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string/>
+  </property>
+  <layout class="QGridLayout">
+   <property name="margin">
+    <number>0</number>
+   </property>
+   <property name="spacing">
+    <number>0</number>
+   </property>
+   <item row="0" column="0">
+    <widget class="QGroupBox" name="GroupBox1">
+     <property name="title">
+      <string/>
+     </property>
+     <layout class="QGridLayout" name="gridLayout">
+      <item row="0" column="0">
+       <widget class="QLabel" name="TextLabel1">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL1</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1">
+       <widget class="SalomeApp_DoubleSpinBox" name="SpinBox_DX1"/>
+      </item>
+      <item row="0" column="2">
+       <widget class="QLabel" name="TextLabel3">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL3</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="3">
+       <widget class="SalomeApp_DoubleSpinBox" name="SpinBox_DX2"/>
+      </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="TextLabel2">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL2</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="SalomeApp_DoubleSpinBox" name="SpinBox_DY1"/>
+      </item>
+      <item row="1" column="2">
+       <widget class="QLabel" name="TextLabel4">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>TL4</string>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="3">
+       <widget class="SalomeApp_DoubleSpinBox" name="SpinBox_DY2"/>
+      </item>
+     </layout>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <customwidgets>
+  <customwidget>
+   <class>SalomeApp_DoubleSpinBox</class>
+   <extends>QDoubleSpinBox</extends>
+   <header location="global">SalomeApp_DoubleSpinBox.h</header>
+  </customwidget>
+ </customwidgets>
+ <tabstops>
+  <tabstop>SpinBox_DX1</tabstop>
+  <tabstop>SpinBox_DY1</tabstop>
+  <tabstop>SpinBox_DX2</tabstop>
+ </tabstops>
+ <resources/>
+ <connections/>
+</ui>
index e5266843ac5a2c6bb717e33e6cf5553ea6121a75..35118e4ec5d35f92996c64dec4f36c48e5614741 100644 (file)
@@ -40,6 +40,7 @@ UIC_FILES =                                   \
        ui_DlgRef_1Sel1Check1List_QTD.h         \
        ui_DlgRef_1Sel1Check1Sel_QTD.h          \
        ui_DlgRef_1Sel1Check_QTD.h              \
        ui_DlgRef_1Sel1Check1List_QTD.h         \
        ui_DlgRef_1Sel1Check1Sel_QTD.h          \
        ui_DlgRef_1Sel1Check_QTD.h              \
+       ui_DlgRef_1Sel1Frame_QTD.h              \
        ui_DlgRef_1Sel1List1Check3Btn_QTD.h     \
        ui_DlgRef_1Sel1Spin1Check_QTD.h         \
        ui_DlgRef_1Sel1Spin_QTD.h               \
        ui_DlgRef_1Sel1List1Check3Btn_QTD.h     \
        ui_DlgRef_1Sel1Spin1Check_QTD.h         \
        ui_DlgRef_1Sel1Spin_QTD.h               \
@@ -89,6 +90,7 @@ UIC_FILES =                                   \
        ui_DlgRef_4Sel1List_QTD.h               \
        ui_DlgRef_4Sel1Spin2Check_QTD.h         \
        ui_DlgRef_4Sel1Spin3Check_QTD.h         \
        ui_DlgRef_4Sel1List_QTD.h               \
        ui_DlgRef_4Sel1Spin2Check_QTD.h         \
        ui_DlgRef_4Sel1Spin3Check_QTD.h         \
+       ui_DlgRef_4Spin_QTD.h                   \
        ui_DlgRef_6Sel_QTD.h                    \
        ui_DlgRef_Skeleton_QTD.h
 
        ui_DlgRef_6Sel_QTD.h                    \
        ui_DlgRef_Skeleton_QTD.h