aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/statusicon/settingsdialog.ui
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-17 13:09:55 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-17 13:09:55 +0000
commitfcc385fc5c74fb0af9483fefa5be64b95d299189 (patch)
treec11c51550f2c613c5cdf68e060029716f7b253e7 /src/plugins/General/statusicon/settingsdialog.ui
parentfbf6df0e267774e4cfa32678176869095fa28986 (diff)
downloadqmmp-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/General/statusicon/settingsdialog.ui')
-rw-r--r--src/plugins/General/statusicon/settingsdialog.ui90
1 files changed, 40 insertions, 50 deletions
diff --git a/src/plugins/General/statusicon/settingsdialog.ui b/src/plugins/General/statusicon/settingsdialog.ui
index 7ef412e3c..7ffbb20db 100644
--- a/src/plugins/General/statusicon/settingsdialog.ui
+++ b/src/plugins/General/statusicon/settingsdialog.ui
@@ -6,13 +6,13 @@
<x>0</x>
<y>0</y>
<width>267</width>
- <height>156</height>
+ <height>127</height>
</rect>
</property>
<property name="windowTitle" >
<string>Status Icon Plugin Settings</string>
</property>
- <layout class="QGridLayout" >
+ <layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QCheckBox" name="messageCheckBox" >
<property name="text" >
@@ -37,7 +37,7 @@
</property>
</widget>
</item>
- <item row="2" column="1" >
+ <item row="2" column="1" colspan="2" >
<widget class="QSpinBox" name="messageDelaySpinBox" >
<property name="minimum" >
<number>100</number>
@@ -54,68 +54,58 @@
</widget>
</item>
<item row="3" column="0" colspan="2" >
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
</property>
- <property name="leftMargin" >
- <number>0</number>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>150</width>
+ <height>18</height>
+ </size>
</property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
+ </spacer>
+ </item>
+ <item row="3" column="2" >
+ <widget class="QDialogButtonBox" name="buttonBox" >
+ <property name="standardButtons" >
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>131</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
+ </widget>
</item>
</layout>
</widget>
<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>180</x>
+ <y>102</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>112</x>
+ <y>103</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
<receiver>SettingsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
- <x>336</x>
- <y>210</y>
+ <x>242</x>
+ <y>107</y>
</hint>
<hint type="destinationlabel" >
- <x>179</x>
- <y>224</y>
+ <x>27</x>
+ <y>106</y>
</hint>
</hints>
</connection>