aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/settingsdialog.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/scrobbler/settingsdialog.ui')
-rw-r--r--src/plugins/General/scrobbler/settingsdialog.ui53
1 files changed, 31 insertions, 22 deletions
diff --git a/src/plugins/General/scrobbler/settingsdialog.ui b/src/plugins/General/scrobbler/settingsdialog.ui
index 37ccc4157..90d2fa481 100644
--- a/src/plugins/General/scrobbler/settingsdialog.ui
+++ b/src/plugins/General/scrobbler/settingsdialog.ui
@@ -6,13 +6,13 @@
<x>0</x>
<y>0</y>
<width>250</width>
- <height>123</height>
+ <height>101</height>
</rect>
</property>
<property name="windowTitle" >
<string>Scrobbler Plugin Settings</string>
</property>
- <layout class="QGridLayout" >
+ <layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
@@ -38,31 +38,24 @@
</widget>
</item>
<item row="2" column="0" colspan="2" >
- <layout class="QHBoxLayout" >
+ <layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
- <property name="sizeHint" >
+ <property name="sizeHint" stdset="0" >
<size>
- <width>61</width>
- <height>20</height>
+ <width>136</width>
+ <height>18</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>
+ <widget class="QDialogButtonBox" name="buttonBox" >
+ <property name="standardButtons" >
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@@ -73,18 +66,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>156</x>
+ <y>77</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>16</x>
+ <y>69</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
<receiver>SettingsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
- <x>204</x>
- <y>90</y>
+ <x>216</x>
+ <y>81</y>
</hint>
<hint type="destinationlabel" >
- <x>26</x>
- <y>102</y>
+ <x>75</x>
+ <y>81</y>
</hint>
</hints>
</connection>