mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
ui: code cleanup
This commit is contained in:
parent
eed83b910c
commit
073466038c
1 changed files with 1 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue