|
|
@ -13,7 +13,8 @@ void MainWindow::buildUI() { |
|
|
|
|
|
|
|
|
|
|
|
auto iterationsCaption = new QLabel("Iteration count: "); |
|
|
|
auto iterationsCaption = new QLabel("Iteration count: "); |
|
|
|
auto iterationsLabel = new QLabel; |
|
|
|
auto iterationsLabel = new QLabel; |
|
|
|
//iterationsLabel->setAlignment(Qt::AlignRight);
|
|
|
|
iterationsLabel->setFixedWidth(50); |
|
|
|
|
|
|
|
iterationsLabel->setAlignment(Qt::AlignVCenter | Qt::AlignRight); |
|
|
|
auto iterationsSlider = new QSlider(Qt::Horizontal); |
|
|
|
auto iterationsSlider = new QSlider(Qt::Horizontal); |
|
|
|
iterationsSlider->setRange(5, 300); |
|
|
|
iterationsSlider->setRange(5, 300); |
|
|
|
connect( |
|
|
|
connect( |
|
|
|