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