mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-24 06:55:27 -07:00
ui: move control widget below plot
This commit is contained in:
parent
073466038c
commit
5a747ea556
1 changed files with 6 additions and 2 deletions
|
@ -203,13 +203,17 @@ ProxWidget::ProxWidget(QWidget *parent, ProxGuiQT *master) : QWidget(parent)
|
||||||
QObject::connect(opsController->horizontalSlider_dirthr_down, SIGNAL(valueChanged(int)), this, SLOT(vchange_dthr_down(int)));
|
QObject::connect(opsController->horizontalSlider_dirthr_down, SIGNAL(valueChanged(int)), this, SLOT(vchange_dthr_down(int)));
|
||||||
QObject::connect(opsController->horizontalSlider_askedge, SIGNAL(valueChanged(int)), this, SLOT(vchange_askedge(int)));
|
QObject::connect(opsController->horizontalSlider_askedge, SIGNAL(valueChanged(int)), this, SLOT(vchange_askedge(int)));
|
||||||
|
|
||||||
controlWidget->show();
|
|
||||||
|
|
||||||
// Set up the plot widget, which does the actual plotting
|
// Set up the plot widget, which does the actual plotting
|
||||||
plot = new Plot(this);
|
plot = new Plot(this);
|
||||||
QVBoxLayout *layout = new QVBoxLayout;
|
QVBoxLayout *layout = new QVBoxLayout;
|
||||||
layout->addWidget(plot);
|
layout->addWidget(plot);
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
|
show(); // places the window on the screen.
|
||||||
|
|
||||||
|
// Move controller widget below plot
|
||||||
|
controlWidget->move(x(),y()+frameSize().height());
|
||||||
|
controlWidget->resize(size().width(), controlWidget->size().height());
|
||||||
|
controlWidget->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
// not 100% sure what i need in this block
|
// not 100% sure what i need in this block
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue