ui: code cleanup

This commit is contained in:
AntiCat 2018-10-07 12:03:13 +02:00
commit 073466038c

View file

@ -181,8 +181,7 @@ ProxWidget::ProxWidget(QWidget *parent, ProxGuiQT *master) : QWidget(parent)
this->master = master;
resize(800,500);
/** Setup the controller widget **/
// Setup the controller widget
controlWidget = new QWidget();
opsController = new Ui::Form();
opsController->setupUi(controlWidget);
@ -207,20 +206,10 @@ ProxWidget::ProxWidget(QWidget *parent, ProxGuiQT *master) : QWidget(parent)
controlWidget->show();
// Set up the plot widget, which does the actual plotting
plot = new Plot(this);
/*
QSlider* slider = new QSlider(Qt::Horizontal);
slider->setFocusPolicy(Qt::StrongFocus);
slider->setTickPosition(QSlider::TicksBothSides);
slider->setTickInterval(10);
slider->setSingleStep(1);
*/
QVBoxLayout *layout = new QVBoxLayout;
//layout->addWidget(slider);
layout->addWidget(plot);
setLayout(layout);
//printf("Proxwidget Constructor just set layout\r\n");
}
// not 100% sure what i need in this block