@@ -8,6 +8,12 SqpSettingsGeneralWidget::SqpSettingsGeneralWidget(QWidget *parent) | |||
|
8 | 8 | : QWidget{parent}, ui{new Ui::SqpSettingsGeneralWidget} |
|
9 | 9 | { |
|
10 | 10 | ui->setupUi(this); |
|
11 | ||
|
12 | // Value limits | |
|
13 | ui->toleranceInitSpinBox->setMinimum(0.); | |
|
14 | ui->toleranceInitSpinBox->setMaximum(std::numeric_limits<double>::max()); | |
|
15 | ui->toleranceUpdateSpinBox->setMinimum(0.); | |
|
16 | ui->toleranceUpdateSpinBox->setMaximum(std::numeric_limits<double>::max()); | |
|
11 | 17 | } |
|
12 | 18 | |
|
13 | 19 | SqpSettingsGeneralWidget::~SqpSettingsGeneralWidget() noexcept |
@@ -32,12 +32,6 | |||
|
32 | 32 | <property name="suffix"> |
|
33 | 33 | <string> %</string> |
|
34 | 34 | </property> |
|
35 | <property name="minimum"> | |
|
36 | <double>0.000000000000000</double> | |
|
37 | </property> | |
|
38 | <property name="maximum"> | |
|
39 | <double>500.000000000000000</double> | |
|
40 | </property> | |
|
41 | 35 | </widget> |
|
42 | 36 | </item> |
|
43 | 37 | <item row="1" column="0"> |
@@ -58,12 +52,6 | |||
|
58 | 52 | <property name="suffix"> |
|
59 | 53 | <string> %</string> |
|
60 | 54 | </property> |
|
61 | <property name="minimum"> | |
|
62 | <double>0.000000000000000</double> | |
|
63 | </property> | |
|
64 | <property name="maximum"> | |
|
65 | <double>500.000000000000000</double> | |
|
66 | </property> | |
|
67 | 55 | </widget> |
|
68 | 56 | </item> |
|
69 | 57 | <item row="2" column="0"> |
General Comments 0
You need to be logged in to leave comments.
Login now