##// END OF EJS Templates
Settings binding (4)...
Settings binding (4) Loads settings when opening the dialog, and save settings when closing it (if it's by the OK button)

File last commit:

r465:2ed0448c50bf
r469:7a2eb58d2083
Show More
SqpSettingsGeneralWidget.ui
86 lines | 2.3 KiB | text/plain | TextLexer
/ gui / ui / Settings / SqpSettingsGeneralWidget.ui
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r465 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SqpSettingsGeneralWidget</class>
<widget class="QWidget" name="SqpSettingsGeneralWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>343</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="toleranceInitLabel">
<property name="text">
<string>Tolerance on first acquisition:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="toleranceInitSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> %</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>500.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="toleranceUpdateLabel">
<property name="text">
<string>Tolerance when updating acquisition:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="toleranceUpdateSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> %</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>500.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>