diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-12-14 23:29:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-12-14 23:29:53 +0100 |
commit | 2294a2866cf6ee48b8f4557c0fd47ad2fe112a4a (patch) | |
tree | 28bcc5a015f7a702ef22221c70aec0f958d20125 /ftnoir_tracker_pt/FTNoIR_PT_Controls.ui | |
parent | 800f5872ba8d67284016e3b7b61b1c955fa9b1eb (diff) |
pt: use settings framework
Issue: #96
Model values are recomputed every frame. This shouldn't matter, as
there's very little to compute.
With this change, sliders and other options are applied immediately, and
the "Apply" button is gone.
Diffstat (limited to 'ftnoir_tracker_pt/FTNoIR_PT_Controls.ui')
-rw-r--r-- | ftnoir_tracker_pt/FTNoIR_PT_Controls.ui | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui index 109e50cb..88b65e7e 100644 --- a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui +++ b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui @@ -42,13 +42,6 @@ <string>Status</string> </property> <layout class="QGridLayout" name="gridLayout_10"> - <item row="2" column="2"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> @@ -56,6 +49,13 @@ </property> </widget> </item> + <item row="2" column="1"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> <item row="0" column="0"> <widget class="QLabel" name="label_38"> <property name="text"> @@ -63,17 +63,20 @@ </property> </widget> </item> - <item row="2" column="1"> - <widget class="QDialogButtonBox" name="buttonBox_2"> - <property name="standardButtons"> - <set>QDialogButtonBox::Apply</set> + <item row="1" column="1"> + <widget class="QLabel" name="pointinfo_label"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> </property> - <property name="centerButtons"> - <bool>true</bool> + <property name="text"> + <string/> </property> </widget> </item> - <item row="0" column="2"> + <item row="0" column="1"> <widget class="QLabel" name="caminfo_label"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> @@ -92,19 +95,6 @@ </property> </widget> </item> - <item row="1" column="2"> - <widget class="QLabel" name="pointinfo_label"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> </layout> </widget> </item> |