add a readme
This commit is contained in:
parent
686e8cf397
commit
516b11ca34
@ -92,10 +92,13 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
connect(smooth_cotan, &QPushButton::clicked,
|
connect(smooth_cotan, &QPushButton::clicked,
|
||||||
[&]() { emit smoothCotangentClicked(smooth_cotangent_factor); });
|
[&]() { emit smoothCotangentClicked(smooth_cotangent_factor); });
|
||||||
smooth_layout->addWidget(smooth_cotan, 2, 0);
|
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());
|
QDoubleSpinBox *sb = (QDoubleSpinBox *)(smooth_cotangent_factor_input->spinBox());
|
||||||
sb->setDecimals(5);
|
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);
|
toolbar.addWidget(smooth_box);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user