diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-26 18:14:26 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-26 18:14:26 +0000 |
| commit | 873b67f010d427b16ce575ef77b9ef7873a6d44a (patch) | |
| tree | 4096fecceaab3f1319f74109a91e2e3df1a78da6 /src/plugins/General/notifier/settingsdialog.ui | |
| parent | 9880f409f19df23715793f120bfe108eb978b57a (diff) | |
| download | qmmp-873b67f010d427b16ce575ef77b9ef7873a6d44a.tar.gz qmmp-873b67f010d427b16ce575ef77b9ef7873a6d44a.tar.bz2 qmmp-873b67f010d427b16ce575ef77b9ef7873a6d44a.zip | |
notification plugin: volume change notification, transparency settings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@712 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/settingsdialog.ui')
| -rw-r--r-- | src/plugins/General/notifier/settingsdialog.ui | 121 |
1 files changed, 95 insertions, 26 deletions
diff --git a/src/plugins/General/notifier/settingsdialog.ui b/src/plugins/General/notifier/settingsdialog.ui index b64a389e1..b321bccf1 100644 --- a/src/plugins/General/notifier/settingsdialog.ui +++ b/src/plugins/General/notifier/settingsdialog.ui @@ -5,20 +5,20 @@ <rect> <x>0</x> <y>0</y> - <width>278</width> - <height>330</height> + <width>244</width> + <height>349</height> </rect> </property> <property name="windowTitle" > <string>Notifier Plugin Settings</string> </property> - <layout class="QGridLayout" name="gridLayout" > + <layout class="QGridLayout" name="gridLayout_3" > <item row="0" column="0" colspan="2" > <widget class="QGroupBox" name="groupBox_2" > <property name="title" > <string>Psi Notification</string> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout" name="verticalLayout" > <item> <widget class="QCheckBox" name="psiCheckBox" > <property name="text" > @@ -34,25 +34,32 @@ <property name="title" > <string>Desktop Notification</string> </property> - <layout class="QGridLayout" > + <layout class="QGridLayout" name="gridLayout_2" > <item row="0" column="0" colspan="2" > - <widget class="QCheckBox" name="desktopCheckBox" > + <widget class="QCheckBox" name="songCheckBox" > <property name="text" > - <string>Enable desktop notification</string> + <string>Song change notification</string> </property> </widget> </item> - <item row="1" column="0" > + <item row="1" column="0" colspan="3" > + <widget class="QCheckBox" name="volumeCheckBox" > + <property name="text" > + <string>Volume change notification</string> + </property> + </widget> + </item> + <item row="2" column="0" > <widget class="QLabel" name="label_3" > <property name="text" > - <string>Message delay, ms:</string> + <string>Delay, ms:</string> </property> <property name="alignment" > <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="1" column="1" > + <item row="2" column="1" colspan="2" > <widget class="QSpinBox" name="messageDelaySpinBox" > <property name="minimum" > <number>100</number> @@ -68,15 +75,54 @@ </property> </widget> </item> - <item row="2" column="0" > - <widget class="QLabel" name="label" > + <item row="3" column="0" > + <widget class="QLabel" name="label_4" > <property name="text" > - <string>Position</string> + <string>Transparency</string> </property> </widget> </item> - <item row="3" column="0" > - <layout class="QGridLayout" > + <item row="3" column="1" > + <widget class="QSlider" name="transparencySlider" > + <property name="maximum" > + <number>90</number> + </property> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="3" column="2" > + <widget class="QLabel" name="trasparencyLabel" > + <property name="minimumSize" > + <size> + <width>18</width> + <height>0</height> + </size> + </property> + <property name="text" > + <string>0</string> + </property> + </widget> + </item> + <item row="4" column="0" > + <spacer name="verticalSpacer_2" > + <property name="orientation" > + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0" > + <size> + <width>20</width> + <height>32</height> + </size> + </property> + </spacer> + </item> + <item rowspan="3" row="4" column="1" colspan="2" > + <layout class="QGridLayout" name="gridLayout" > + <property name="spacing" > + <number>3</number> + </property> <item row="0" column="0" > <widget class="QPushButton" name="topLeftButton" > <property name="text" > @@ -196,15 +242,22 @@ </item> </layout> </item> - <item row="3" column="1" > - <spacer> + <item row="5" column="0" > + <widget class="QLabel" name="label" > + <property name="text" > + <string>Position</string> + </property> + </widget> + </item> + <item row="6" column="0" > + <spacer name="verticalSpacer" > <property name="orientation" > - <enum>Qt::Horizontal</enum> + <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0" > <size> - <width>40</width> - <height>20</height> + <width>20</width> + <height>30</height> </size> </property> </spacer> @@ -212,7 +265,7 @@ </layout> </widget> </item> - <item row="2" column="0" > + <item rowspan="2" row="2" column="0" > <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> @@ -225,7 +278,7 @@ </property> </spacer> </item> - <item row="2" column="1" > + <item row="3" column="1" > <widget class="QDialogButtonBox" name="buttonBox" > <property name="sizePolicy" > <sizepolicy vsizetype="Fixed" hsizetype="Maximum" > @@ -249,8 +302,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel" > - <x>183</x> - <y>303</y> + <x>257</x> + <y>341</y> </hint> <hint type="destinationlabel" > <x>62</x> @@ -265,8 +318,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel" > - <x>249</x> - <y>298</y> + <x>257</x> + <y>341</y> </hint> <hint type="destinationlabel" > <x>95</x> @@ -274,5 +327,21 @@ </hint> </hints> </connection> + <connection> + <sender>transparencySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>trasparencyLabel</receiver> + <slot>setNum(int)</slot> + <hints> + <hint type="sourcelabel" > + <x>183</x> + <y>187</y> + </hint> + <hint type="destinationlabel" > + <x>233</x> + <y>184</y> + </hint> + </hints> + </connection> </connections> </ui> |
