From 516b11ca34747eed1b73fd3c4605957e79efe112 Mon Sep 17 00:00:00 2001 From: papush! Date: Sun, 28 Nov 2021 17:13:32 +0100 Subject: [PATCH] add a readme --- src/main_window.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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);