|
|
|
|
@ -50,16 +50,18 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
@@ -50,16 +50,18 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
|
|
|
|
|
|
|
|
|
|
// Use the custom flow layout for the 3 main horizontal layouts (lines)
|
|
|
|
|
ui->verticalLayout->removeItem(ui->Line5Layout); |
|
|
|
|
ui->verticalLayout->removeItem(ui->Line6Layout); |
|
|
|
|
ui->verticalLayout->removeItem(ui->Line4Layout); |
|
|
|
|
ui->verticalLayout->removeItem(ui->Line3Layout); |
|
|
|
|
ui->verticalLayout->removeItem(ui->Line2Layout); |
|
|
|
|
ui->verticalLayout->removeItem(ui->Line1Layout); |
|
|
|
|
FlowLayout *flowLayout = new FlowLayout(nullptr, 1, 1, 1); |
|
|
|
|
flowLayout->addItem(ui->Line3Layout); |
|
|
|
|
flowLayout->addItem(ui->Line4Layout); |
|
|
|
|
flowLayout->addItem(ui->Line1Layout); |
|
|
|
|
flowLayout->addItem(ui->Line2Layout); |
|
|
|
|
flowLayout->addItem(ui->Line3Layout); |
|
|
|
|
flowLayout->addItem(ui->Line4Layout); |
|
|
|
|
flowLayout->addItem(ui->Line5Layout); |
|
|
|
|
flowLayout->addItem(ui->Line6Layout); |
|
|
|
|
ui->verticalLayout->addItem(flowLayout); |
|
|
|
|
|
|
|
|
|
on_linscale_toggled(false); |
|
|
|
|
|