// code
QLabel *labelST
= new QLabel("Slope Threshold for Feature Peeling");
// code
QLabel *labelMDFP
= new QLabel("Min diff for FP b/w local min and local max");
// code
// code
QLabel *labelCT
= new QLabel("Clamp Threshold for Inter-DS width difference");
// code
QLabel *labelZI
= new QLabel("Zoom In/Out from CT Dataset");
// code
// code
// a group box starting here
vbox0->addWidget(labelSA, 0, Qt::AlignTop);
vbox0->addWidget(comboBoxSA, 0, Qt::AlignTop);
vbox0->addWidget(labelST, 0, Qt::AlignTop);
vbox0->addWidget(sliderST, 0, Qt::AlignTop);
vbox0->addWidget(labelMDFP, 0, Qt::AlignTop);
vbox0->addWidget(sliderMDFP, 0, Qt::AlignTop);
// a group box starting here
vbox0->addWidget(labelID, 0, Qt::AlignTop);
vbox0->addWidget(comboBoxID, 0, Qt::AlignTop);
vbox0->addWidget(labelCT, 0, Qt::AlignTop);
vbox0->addWidget(sliderCT, 0, Qt::AlignTop);
// a group box starting here
vbox0->addWidget(labelZI, 0, Qt::AlignTop);
vbox0->addWidget(buttonRC, 0, Qt::AlignTop);
vbox0->addWidget(buttonZI, 0, Qt::AlignTop);
vbox0->addStretch(1);
toolpage0->setLayout(vbox0);
toolbox->addItem(toolpage0, "Automatic Analysis of Datasets");
QLabel *labelSA = new QLabel("Self Analysis Tools");
QComboBox *comboBoxSA = new QComboBox(this);
// code
QLabel *labelST = new QLabel("Slope Threshold for Feature Peeling");
QSlider *sliderST = new QSlider(Qt::Horizontal);
// code
QLabel *labelMDFP = new QLabel("Min diff for FP b/w local min and local max");
QSlider *sliderMDFP = new QSlider(Qt::Horizontal);
// code
QLabel *labelID = new QLabel("Inter-DS Analysis");
QComboBox *comboBoxID = new QComboBox(this);
// code
QLabel *labelCT = new QLabel("Clamp Threshold for Inter-DS width difference");
QSlider *sliderCT = new QSlider(Qt::Horizontal);
// code
QLabel *labelZI = new QLabel("Zoom In/Out from CT Dataset");
QPushButton *buttonRC = new QPushButton("Reset Control Points");
// code
QPushButton *buttonZI = new QPushButton("Zoom In/Out");
// code
// a group box starting here
QVBoxLayout *vbox0 = new QVBoxLayout;
vbox0->addWidget(labelSA, 0, Qt::AlignTop);
vbox0->addWidget(comboBoxSA, 0, Qt::AlignTop);
vbox0->addWidget(labelST, 0, Qt::AlignTop);
vbox0->addWidget(sliderST, 0, Qt::AlignTop);
vbox0->addWidget(labelMDFP, 0, Qt::AlignTop);
vbox0->addWidget(sliderMDFP, 0, Qt::AlignTop);
// a group box starting here
vbox0->addWidget(labelID, 0, Qt::AlignTop);
vbox0->addWidget(comboBoxID, 0, Qt::AlignTop);
vbox0->addWidget(labelCT, 0, Qt::AlignTop);
vbox0->addWidget(sliderCT, 0, Qt::AlignTop);
// a group box starting here
vbox0->addWidget(labelZI, 0, Qt::AlignTop);
vbox0->addWidget(buttonRC, 0, Qt::AlignTop);
vbox0->addWidget(buttonZI, 0, Qt::AlignTop);
vbox0->addStretch(1);
QWidget *toolpage0 = new QWidget;
toolpage0->setLayout(vbox0);
toolbox->addItem(toolpage0, "Automatic Analysis of Datasets");
To copy to clipboard, switch view to plain text mode
Bookmarks