*** empty log message ***

This commit is contained in:
vsr 2007-10-23 14:02:10 +00:00
parent 72596e692a
commit c115a0bf0c
6 changed files with 217 additions and 37 deletions

View File

@ -0,0 +1,139 @@
<ui version="4.0" >
<class>DlgRef_1Sel2Spin1View1Check_QTD</class>
<widget class="QWidget" name="DlgRef_1Sel2Spin1View1Check_QTD" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>176</width>
<height>220</height>
</rect>
</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" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="0" colspan="3" >
<widget class="QTextBrowser" name="TextBrowser1" />
</item>
<item row="2" column="2" >
<widget class="QSpinBox" name="SpinBox2" />
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="SpinBox1" />
</item>
<item row="4" column="0" colspan="3" >
<widget class="QCheckBox" name="CheckBox1" >
<property name="text" >
<string>Check</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="TextLabel3" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<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="1" column="0" >
<widget class="QLabel" name="TextLabel2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<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="0" column="2" >
<widget class="QLineEdit" name="LineEdit1" />
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="PushButton1" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="TextLabel1" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>TL1</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<tabstops>
<tabstop>PushButton1</tabstop>
<tabstop>LineEdit1</tabstop>
<tabstop>SpinBox1</tabstop>
<tabstop>SpinBox2</tabstop>
<tabstop>TextBrowser1</tabstop>
<tabstop>CheckBox1</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

View File

@ -121,6 +121,20 @@ DlgRef_1Sel1Spin::~DlgRef_1Sel1Spin()
{
}
//////////////////////////////////////////
// DlgRef_1Sel2Spin1View1Check
//////////////////////////////////////////
DlgRef_1Sel2Spin1View1Check::DlgRef_1Sel2Spin1View1Check( QWidget* parent, Qt::WindowFlags f )
: QWidget( parent, f )
{
setupUi( this );
}
DlgRef_1Sel2Spin1View1Check::~DlgRef_1Sel2Spin1View1Check()
{
}
//////////////////////////////////////////
// DlgRef_1Sel2Spin
//////////////////////////////////////////

View File

@ -146,6 +146,22 @@ public:
~DlgRef_1Sel1Spin();
};
//////////////////////////////////////////
// DlgRef_1Sel2Spin1View1Check
//////////////////////////////////////////
#include "ui_DlgRef_1Sel2Spin1View1Check_QTD.h"
class DLGREF_EXPORT DlgRef_1Sel2Spin1View1Check : public QWidget,
public Ui::DlgRef_1Sel2Spin1View1Check_QTD
{
Q_OBJECT
public:
DlgRef_1Sel2Spin1View1Check( QWidget* = 0, Qt::WindowFlags = 0 );
~DlgRef_1Sel2Spin1View1Check();
};
//////////////////////////////////////////
// DlgRef_1Sel2Spin
//////////////////////////////////////////

View File

@ -38,43 +38,44 @@ MOC_FILES = \
GEOM_DlgRef_moc.cxx
UIC_FILES = \
ui_DlgRef_1List1Spin1Btn_QTD.h \
ui_DlgRef_1Sel1Check1List_QTD.h \
ui_DlgRef_1Sel1Check1Sel_QTD.h \
ui_DlgRef_1Sel1Check_QTD.h \
ui_DlgRef_1Sel1List4Btn_QTD.h \
ui_DlgRef_1Sel1Spin1Check_QTD.h \
ui_DlgRef_1Sel1Spin_QTD.h \
ui_DlgRef_1Sel2Spin_QTD.h \
ui_DlgRef_1Sel3Check_QTD.h \
ui_DlgRef_1Sel3Spin_QTD.h \
ui_DlgRef_1Sel4Spin_QTD.h \
ui_DlgRef_1Sel5Spin_QTD.h \
ui_DlgRef_1Sel_QTD.h \
ui_DlgRef_1SelExt_QTD.h \
ui_DlgRef_1Spin_QTD.h \
ui_DlgRef_2Sel1List_QTD.h \
ui_DlgRef_2Sel1Spin2Check_QTD.h \
ui_DlgRef_2Sel1Spin_QTD.h \
ui_DlgRef_2Sel2Spin1Check_QTD.h \
ui_DlgRef_2Sel2Spin_QTD.h \
ui_DlgRef_2Sel3Spin_QTD.h \
ui_DlgRef_2Sel4Spin1Check_QTD.h \
ui_DlgRef_2Sel_QTD.h \
ui_DlgRef_2SelExt_QTD.h \
ui_DlgRef_2Spin_QTD.h \
ui_DlgRef_3Check_QTD.h \
ui_DlgRef_3Sel1Check_QTD.h \
ui_DlgRef_3Sel1Spin_QTD.h \
ui_DlgRef_3Sel3Spin1Check_QTD.h \
ui_DlgRef_3Sel4Spin2Check_QTD.h \
ui_DlgRef_3Sel_QTD.h \
ui_DlgRef_3Spin1Check_QTD.h \
ui_DlgRef_3Spin_QTD.h \
ui_DlgRef_4Sel1List1Check_QTD.h \
ui_DlgRef_4Sel1List_QTD.h \
ui_DlgRef_4Sel1Spin2Check_QTD.h \
ui_DlgRef_6Sel_QTD.h \
ui_DlgRef_1List1Spin1Btn_QTD.h \
ui_DlgRef_1Sel1Check1List_QTD.h \
ui_DlgRef_1Sel1Check1Sel_QTD.h \
ui_DlgRef_1Sel1Check_QTD.h \
ui_DlgRef_1Sel1List4Btn_QTD.h \
ui_DlgRef_1Sel1Spin1Check_QTD.h \
ui_DlgRef_1Sel1Spin_QTD.h \
ui_DlgRef_1Sel2Spin1View1Check_QTD.h \
ui_DlgRef_1Sel2Spin_QTD.h \
ui_DlgRef_1Sel3Check_QTD.h \
ui_DlgRef_1Sel3Spin_QTD.h \
ui_DlgRef_1Sel4Spin_QTD.h \
ui_DlgRef_1Sel5Spin_QTD.h \
ui_DlgRef_1Sel_QTD.h \
ui_DlgRef_1SelExt_QTD.h \
ui_DlgRef_1Spin_QTD.h \
ui_DlgRef_2Sel1List_QTD.h \
ui_DlgRef_2Sel1Spin2Check_QTD.h \
ui_DlgRef_2Sel1Spin_QTD.h \
ui_DlgRef_2Sel2Spin1Check_QTD.h \
ui_DlgRef_2Sel2Spin_QTD.h \
ui_DlgRef_2Sel3Spin_QTD.h \
ui_DlgRef_2Sel4Spin1Check_QTD.h \
ui_DlgRef_2Sel_QTD.h \
ui_DlgRef_2SelExt_QTD.h \
ui_DlgRef_2Spin_QTD.h \
ui_DlgRef_3Check_QTD.h \
ui_DlgRef_3Sel1Check_QTD.h \
ui_DlgRef_3Sel1Spin_QTD.h \
ui_DlgRef_3Sel3Spin1Check_QTD.h \
ui_DlgRef_3Sel4Spin2Check_QTD.h \
ui_DlgRef_3Sel_QTD.h \
ui_DlgRef_3Spin1Check_QTD.h \
ui_DlgRef_3Spin_QTD.h \
ui_DlgRef_4Sel1List1Check_QTD.h \
ui_DlgRef_4Sel1List_QTD.h \
ui_DlgRef_4Sel1Spin2Check_QTD.h \
ui_DlgRef_6Sel_QTD.h \
ui_DlgRef_Skeleton_QTD.h
BUILT_SOURCES = $(UIC_FILES)

View File

@ -38,6 +38,7 @@
#include <SUIT_MessageBox.h>
#include <QKeyEvent>
#include <QSpinBox>
#include <QDoubleSpinBox>
using namespace std;
@ -121,6 +122,13 @@ void GEOMBase_Skeleton::Init()
myMainFrame->RadioButton4->hide();
}
void GEOMBase_Skeleton::initSpinBox( QSpinBox* spinBox,
int min, int max, int step )
{
spinBox->setRange( min, max );
spinBox->setSingleStep( step );
}
void GEOMBase_Skeleton::initSpinBox( QDoubleSpinBox* spinBox,
double min, double max,
double step, int decimals )

View File

@ -33,6 +33,7 @@
class GeometryGUI;
class DlgRef_Skeleton;
class QSpinBox;
class QDoubleSpinBox;
class QLineEdit;
class QButtonGroup;
@ -57,6 +58,7 @@ private:
void Init();
protected:
void initSpinBox( QSpinBox*, int, int, int = 1 );
void initSpinBox( QDoubleSpinBox*, double, double, double = 0.1, int = 3 );
void closeEvent( QCloseEvent* );