@@ -8,6 +8,12 SqpSettingsGeneralWidget::SqpSettingsGeneralWidget(QWidget *parent) | |||||
8 | : QWidget{parent}, ui{new Ui::SqpSettingsGeneralWidget} |
|
8 | : QWidget{parent}, ui{new Ui::SqpSettingsGeneralWidget} | |
9 | { |
|
9 | { | |
10 | ui->setupUi(this); |
|
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 | SqpSettingsGeneralWidget::~SqpSettingsGeneralWidget() noexcept |
|
19 | SqpSettingsGeneralWidget::~SqpSettingsGeneralWidget() noexcept |
@@ -32,12 +32,6 | |||||
32 | <property name="suffix"> |
|
32 | <property name="suffix"> | |
33 | <string> %</string> |
|
33 | <string> %</string> | |
34 | </property> |
|
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 | </widget> |
|
35 | </widget> | |
42 | </item> |
|
36 | </item> | |
43 | <item row="1" column="0"> |
|
37 | <item row="1" column="0"> | |
@@ -58,12 +52,6 | |||||
58 | <property name="suffix"> |
|
52 | <property name="suffix"> | |
59 | <string> %</string> |
|
53 | <string> %</string> | |
60 | </property> |
|
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 | </widget> |
|
55 | </widget> | |
68 | </item> |
|
56 | </item> | |
69 | <item row="2" column="0"> |
|
57 | <item row="2" column="0"> |
General Comments 0
You need to be logged in to leave comments.
Login now