From 2afe0fcdcc973f0fd6e2777cd7c2c0b4caa57727 Mon Sep 17 00:00:00 2001 From: rnc Date: Thu, 15 Mar 2012 10:55:25 +0000 Subject: [PATCH] Added .ui files in DlgRef for use in feature detection --- src/DlgRef/DlgRef.cxx | 28 ++++++ src/DlgRef/DlgRef.h | 32 +++++++ src/DlgRef/DlgRef_1Sel1Frame_QTD.ui | 142 ++++++++++++++++++++++++++++ src/DlgRef/DlgRef_4Spin_QTD.ui | 126 ++++++++++++++++++++++++ src/DlgRef/Makefile.am | 2 + 5 files changed, 330 insertions(+) create mode 100644 src/DlgRef/DlgRef_1Sel1Frame_QTD.ui create mode 100644 src/DlgRef/DlgRef_4Spin_QTD.ui diff --git a/src/DlgRef/DlgRef.cxx b/src/DlgRef/DlgRef.cxx index 65541592b..59b8831b1 100644 --- a/src/DlgRef/DlgRef.cxx +++ b/src/DlgRef/DlgRef.cxx @@ -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 ////////////////////////////////////////// @@ -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 ////////////////////////////////////////// diff --git a/src/DlgRef/DlgRef.h b/src/DlgRef/DlgRef.h index 9b565ba0a..0ff004f41 100644 --- a/src/DlgRef/DlgRef.h +++ b/src/DlgRef/DlgRef.h @@ -97,6 +97,22 @@ public: ~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 ////////////////////////////////////////// @@ -823,6 +839,22 @@ public: ~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 ////////////////////////////////////////// diff --git a/src/DlgRef/DlgRef_1Sel1Frame_QTD.ui b/src/DlgRef/DlgRef_1Sel1Frame_QTD.ui new file mode 100644 index 000000000..c4e51d14e --- /dev/null +++ b/src/DlgRef/DlgRef_1Sel1Frame_QTD.ui @@ -0,0 +1,142 @@ + + + DlgRef_1Sel1Frame_QTD + + + + 0 + 0 + 265 + 149 + + + + + 0 + 0 + + + + + + + + 0 + + + 6 + + + + + + + + + + + + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + + + + + + + + + + + QFrame::Panel + + + QFrame::Sunken + + + + + + TextLabel + + + + + + + + + + Qt::Vertical + + + + 20 + 61 + + + + + + + + + + + qPixmapFromMimeSource + + PushButton1 + LineEdit1 + PushButton2 + + + + diff --git a/src/DlgRef/DlgRef_4Spin_QTD.ui b/src/DlgRef/DlgRef_4Spin_QTD.ui new file mode 100644 index 000000000..ae4643041 --- /dev/null +++ b/src/DlgRef/DlgRef_4Spin_QTD.ui @@ -0,0 +1,126 @@ + + + DlgRef_4Spin_QTD + + + + 0 + 0 + 342 + 91 + + + + + + + + 0 + + + 0 + + + + + + + + + + + + 0 + 0 + + + + TL1 + + + false + + + + + + + + + + + 0 + 0 + + + + TL3 + + + false + + + + + + + + + + + 0 + 0 + + + + TL2 + + + false + + + + + + + + + + + 0 + 0 + + + + TL4 + + + false + + + + + + + + + + + + + qPixmapFromMimeSource + + + SalomeApp_DoubleSpinBox + QDoubleSpinBox +
SalomeApp_DoubleSpinBox.h
+
+
+ + SpinBox_DX1 + SpinBox_DY1 + SpinBox_DX2 + + + +
diff --git a/src/DlgRef/Makefile.am b/src/DlgRef/Makefile.am index e5266843a..35118e4ec 100644 --- a/src/DlgRef/Makefile.am +++ b/src/DlgRef/Makefile.am @@ -40,6 +40,7 @@ UIC_FILES = \ 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 \ @@ -89,6 +90,7 @@ UIC_FILES = \ 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 -- 2.39.2