diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-17 13:09:55 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-17 13:09:55 +0000 |
| commit | fcc385fc5c74fb0af9483fefa5be64b95d299189 (patch) | |
| tree | c11c51550f2c613c5cdf68e060029716f7b253e7 /src/plugins/Visual/analyzer/settingsdialog.ui | |
| parent | fbf6df0e267774e4cfa32678176869095fa28986 (diff) | |
| download | qmmp-fcc385fc5c74fb0af9483fefa5be64b95d299189.tar.gz qmmp-fcc385fc5c74fb0af9483fefa5be64b95d299189.tar.bz2 qmmp-fcc385fc5c74fb0af9483fefa5be64b95d299189.zip | |
using standard dialog buttons
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@690 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/analyzer/settingsdialog.ui')
| -rw-r--r-- | src/plugins/Visual/analyzer/settingsdialog.ui | 71 |
1 files changed, 28 insertions, 43 deletions
diff --git a/src/plugins/Visual/analyzer/settingsdialog.ui b/src/plugins/Visual/analyzer/settingsdialog.ui index b4f0abd35..e19e5c79c 100644 --- a/src/plugins/Visual/analyzer/settingsdialog.ui +++ b/src/plugins/Visual/analyzer/settingsdialog.ui @@ -12,8 +12,8 @@ <property name="windowTitle" > <string>Analyzer Plugin Settings</string> </property> - <layout class="QGridLayout" > - <item row="0" column="0" colspan="3" > + <layout class="QGridLayout" name="gridLayout" > + <item row="0" column="0" colspan="2" > <widget class="QGroupBox" name="groupBox_2" > <property name="sizePolicy" > <sizepolicy vsizetype="Minimum" hsizetype="Preferred" > @@ -159,7 +159,7 @@ </layout> </widget> </item> - <item row="1" column="0" colspan="3" > + <item row="1" column="0" colspan="2" > <widget class="QGroupBox" name="groupBox" > <property name="sizePolicy" > <sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" > @@ -334,40 +334,9 @@ </spacer> </item> <item row="2" column="1" > - <widget class="QPushButton" name="okButton" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Expanding" hsizetype="Preferred" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize" > - <size> - <width>16777215</width> - <height>30</height> - </size> - </property> - <property name="text" > - <string>&OK</string> - </property> - </widget> - </item> - <item row="2" column="2" > - <widget class="QPushButton" name="cancelButton" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Minimum" hsizetype="Preferred" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize" > - <size> - <width>16777215</width> - <height>30</height> - </size> - </property> - <property name="text" > - <string>&Cancel</string> + <widget class="QDialogButtonBox" name="buttonBox" > + <property name="standardButtons" > + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> @@ -384,18 +353,34 @@ <resources/> <connections> <connection> - <sender>cancelButton</sender> - <signal>clicked()</signal> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>SettingsDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel" > + <x>204</x> + <y>303</y> + </hint> + <hint type="destinationlabel" > + <x>53</x> + <y>308</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> <receiver>SettingsDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > - <x>282</x> - <y>317</y> + <x>228</x> + <y>307</y> </hint> <hint type="destinationlabel" > - <x>276</x> - <y>309</y> + <x>78</x> + <y>288</y> </hint> </hints> </connection> |
