19 #include <QPushButton>
20 #include <QRadioButton>
26 QBoxLayout *mainLayout =
new QVBoxLayout(
this);
27 QRadioButton *radio1 =
new QRadioButton(
"change the masked pixels by value: ",
this);
28 QRadioButton *radio2 =
new QRadioButton(
"set the masked pixels to value: ",
this);
30 radio1->setChecked(
true);
33 connect(radio2, SIGNAL(toggled(
bool)),
this, SLOT(
SetFixedValueOn(
bool)));
35 mainLayout->addWidget(radio1);
36 mainLayout->addWidget(radio2);
38 m_Slider =
new QSlider(Qt::Horizontal,
this);
50 QBoxLayout *layout1 =
new QHBoxLayout();
54 QPushButton *okButton =
new QPushButton(
"Ok");
58 mainLayout->addLayout(layout1);
59 mainLayout->addWidget(okButton);