add a readme

This commit is contained in:
papush! 2021-11-28 17:13:32 +01:00
parent 686e8cf397
commit 516b11ca34

View File

@ -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);