1 // File : DlgRef_2Sel2Spin.cxx
\r
2 // Author : Dmitry MATVEITCHEV
\r
6 #include "DlgRef_2Sel3Spin2Rb.h"
\r
7 #include <iostream.h>
\r
10 #include <qspinbox.h>
\r
11 #include <qgroupbox.h>
\r
12 #include <qradiobutton.h>
\r
15 * Constructs a DlgRef_2Sel3Spin2Rb which is a child of 'parent', with the
\r
16 * name 'name' and widget flags set to 'f'
\r
18 DlgRef_2Sel3Spin2Rb::DlgRef_2Sel3Spin2Rb(QWidget* parent, const char* name, WFlags fl)
\r
19 :DlgRef_2Sel3Spin2Rb_QTD(parent, name, fl)
\r
21 SpinBox1->close(TRUE);
\r
22 SpinBox2->close(TRUE);
\r
23 SpinBox3->close(TRUE);
\r
24 RadioButton1->setChecked(true);
\r
25 SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX");
\r
26 Layout2->addMultiCellWidget(SpinBox_DX, 0, 0, 2, 4);
\r
27 SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY");
\r
28 Layout2->addWidget(SpinBox_DY, 1, 2);
\r
29 SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ");
\r
30 Layout2->addWidget(SpinBox_DZ, 1, 4);
\r
31 SpinBox_DY->setEnabled(false);
\r
32 SpinBox_DZ->setEnabled(false);
\r
36 * Destroys the object and frees any allocated resources
\r
38 DlgRef_2Sel3Spin2Rb::~DlgRef_2Sel3Spin2Rb()
\r
40 // no need to delete child widgets, Qt does it all for us
\r