diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-03-11 17:36:49 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-11 17:41:41 -0700 |
commit | 751c76a5787c4072da836c27f1af913dc671a52e (patch) | |
tree | 28ec33a385c18f6c2ba16b935543498a53d06a82 /qt-ui/preferences.ui | |
parent | 9f37bac07a06870bc3e5d1c150496ed347a4de99 (diff) | |
download | subsurface-751c76a5787c4072da836c27f1af913dc671a52e.tar.gz |
Support save / load for the Animation Speed on the Preferences
User can now fine-tune the animation speed on the preferences,
a value of zero disables it completely.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r-- | qt-ui/preferences.ui | 167 |
1 files changed, 116 insertions, 51 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui index 115e93526..e0bd4c27d 100644 --- a/qt-ui/preferences.ui +++ b/qt-ui/preferences.ui @@ -232,6 +232,39 @@ </widget> </item> <item> + <widget class="QGroupBox" name="groupBox_7"> + <property name="title"> + <string>Animations</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_7"> + <item> + <widget class="QLabel" name="label_15"> + <property name="text"> + <string>Speed</string> + </property> + </widget> + </item> + <item> + <widget class="QSlider" name="velocitySlider"> + <property name="maximum"> + <number>500</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="velocitySpinBox"> + <property name="maximum"> + <number>500</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -746,8 +779,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>235</x> - <y>511</y> + <x>247</x> + <y>635</y> </hint> <hint type="destinationlabel"> <x>157</x> @@ -762,8 +795,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>303</x> - <y>511</y> + <x>315</x> + <y>635</y> </hint> <hint type="destinationlabel"> <x>286</x> @@ -794,12 +827,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>195</x> - <y>39</y> + <x>845</x> + <y>51</y> </hint> <hint type="destinationlabel"> - <x>195</x> - <y>39</y> + <x>308</x> + <y>100</y> </hint> </hints> </connection> @@ -842,12 +875,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>504</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>623</x> + <y>119</y> </hint> </hints> </connection> @@ -858,12 +891,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>319</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>385</x> + <y>119</y> </hint> </hints> </connection> @@ -874,12 +907,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>504</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>623</x> + <y>153</y> </hint> </hints> </connection> @@ -890,12 +923,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>319</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>385</x> + <y>153</y> </hint> </hints> </connection> @@ -906,12 +939,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>504</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>623</x> + <y>187</y> </hint> </hints> </connection> @@ -922,12 +955,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>319</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>385</x> + <y>187</y> </hint> </hints> </connection> @@ -938,12 +971,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>504</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>623</x> + <y>221</y> </hint> </hints> </connection> @@ -954,12 +987,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>319</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>385</x> + <y>221</y> </hint> </hints> </connection> @@ -970,12 +1003,12 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>504</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>623</x> + <y>255</y> </hint> </hints> </connection> @@ -986,23 +1019,55 @@ <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> - <x>20</x> - <y>20</y> + <x>319</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>20</x> - <y>20</y> + <x>385</x> + <y>255</y> + </hint> + </hints> + </connection> + <connection> + <sender>velocitySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>velocitySpinBox</receiver> + <slot>setValue(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>718</x> + <y>415</y> + </hint> + <hint type="destinationlabel"> + <x>823</x> + <y>414</y> + </hint> + </hints> + </connection> + <connection> + <sender>velocitySpinBox</sender> + <signal>valueChanged(int)</signal> + <receiver>velocitySlider</receiver> + <slot>setValue(int)</slot> + <hints> + <hint type="sourcelabel"> + <x>790</x> + <y>400</y> + </hint> + <hint type="destinationlabel"> + <x>580</x> + <y>417</y> </hint> </hints> </connection> </connections> <buttongroups> + <buttongroup name="buttonGroup_5"/> + <buttongroup name="buttonGroup_6"/> + <buttongroup name="buttonGroup"/> <buttongroup name="verticalSpeed"/> <buttongroup name="buttonGroup_2"/> <buttongroup name="buttonGroup_3"/> <buttongroup name="buttonGroup_4"/> - <buttongroup name="buttonGroup_5"/> - <buttongroup name="buttonGroup_6"/> - <buttongroup name="buttonGroup"/> </buttongroups> </ui> |