diff --git a/src/main_window.cpp b/src/main_window.cpp index 7a8883e..ac53835 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -92,10 +92,13 @@ MainWindow::MainWindow(QWidget *parent) connect(smooth_cotan, &QPushButton::clicked, [&]() { emit smoothCotangentClicked(smooth_cotangent_factor); }); smooth_layout->addWidget(smooth_cotan, 2, 0); - smooth_layout->addWidget(smooth_cotangent_factor_input->slider(), 3, 0); + QLabel *smooth_cotan_text = + new QLabel("Facteur de l'adoucissement cotangentiel", this); + smooth_layout->addWidget(smooth_cotan_text, 3, 0); + smooth_layout->addWidget(smooth_cotangent_factor_input->slider(), 4, 0); QDoubleSpinBox *sb = (QDoubleSpinBox *)(smooth_cotangent_factor_input->spinBox()); sb->setDecimals(5); - smooth_layout->addWidget(smooth_cotangent_factor_input->spinBox(), 3, 1); + smooth_layout->addWidget(smooth_cotangent_factor_input->spinBox(), 4, 1); toolbar.addWidget(smooth_box);