1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>NotificationsSettingsPage</class>
4
<widget class="QWidget" name="NotificationsSettingsPage">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Notifications</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<widget class="QLabel" name="label_2">
19
<property name="text">
20
<string>Clementine can show a message when the track changes.</string>
25
<widget class="QGroupBox" name="groupBox_4">
26
<property name="title">
27
<string>Notification type</string>
29
<layout class="QVBoxLayout" name="verticalLayout_7">
31
<widget class="QRadioButton" name="notifications_none">
32
<property name="text">
33
<string>Disabled</string>
38
<widget class="QRadioButton" name="notifications_native">
39
<property name="text">
40
<string>Show a native desktop notification</string>
45
<widget class="QRadioButton" name="notifications_pretty">
46
<property name="text">
47
<string>Show a pretty OSD</string>
52
<widget class="QRadioButton" name="notifications_tray">
53
<property name="text">
54
<string>Show a popup from the system tray</string>
62
<widget class="QGroupBox" name="notifications_general">
63
<property name="title">
64
<string>General settings</string>
66
<layout class="QVBoxLayout" name="verticalLayout_6">
68
<widget class="QWidget" name="notifications_options" native="true">
69
<layout class="QHBoxLayout" name="horizontalLayout_8">
70
<property name="margin">
74
<widget class="QLabel" name="label_3">
75
<property name="text">
76
<string>Popup duration</string>
81
<widget class="QSpinBox" name="notifications_duration">
82
<property name="suffix">
83
<string> seconds</string>
85
<property name="minimum">
88
<property name="maximum">
91
<property name="value">
97
<widget class="QCheckBox" name="notifications_disable_duration">
98
<property name="text">
99
<string>Disable duration</string>
107
<widget class="QCheckBox" name="notifications_volume">
108
<property name="text">
109
<string>Show a notification when I change the volume</string>
114
<widget class="QCheckBox" name="notifications_play_mode">
115
<property name="text">
116
<string>Show a notification when I change the repeat/shuffle mode</string>
121
<widget class="QCheckBox" name="notifications_art">
122
<property name="text">
123
<string>Include album art in the notification</string>
131
<widget class="QGroupBox" name="notifications_custom_text_group">
132
<property name="title">
133
<string>Custom message settings</string>
135
<layout class="QVBoxLayout" name="verticalLayout_26">
137
<widget class="QFrame" name="frame_2">
138
<property name="frameShape">
139
<enum>QFrame::NoFrame</enum>
141
<property name="frameShadow">
142
<enum>QFrame::Plain</enum>
144
<property name="lineWidth">
147
<layout class="QHBoxLayout" name="horizontalLayout_7">
148
<property name="margin">
152
<widget class="QCheckBox" name="notifications_custom_text_enabled">
153
<property name="text">
154
<string>Use a custom message for notifications</string>
159
<widget class="QPushButton" name="notifications_preview">
160
<property name="enabled">
163
<property name="sizePolicy">
164
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
165
<horstretch>0</horstretch>
166
<verstretch>0</verstretch>
169
<property name="text">
170
<string>Preview</string>
178
<widget class="QFrame" name="frame">
179
<property name="frameShape">
180
<enum>QFrame::NoFrame</enum>
182
<property name="frameShadow">
183
<enum>QFrame::Plain</enum>
185
<property name="lineWidth">
188
<layout class="QGridLayout" name="gridLayout">
189
<property name="topMargin">
192
<property name="bottomMargin">
195
<item row="0" column="1">
196
<widget class="QLineEdit" name="notifications_custom_text1">
197
<property name="enabled">
202
<item row="0" column="2">
203
<widget class="QToolButton" name="notifications_exp_chooser1">
204
<property name="enabled">
207
<property name="text">
212
<item row="0" column="0">
213
<widget class="QLabel" name="label_19">
214
<property name="text">
215
<string>Summary</string>
219
<item row="1" column="0">
220
<widget class="QLabel" name="label_20">
221
<property name="text">
222
<string>Body</string>
226
<item row="1" column="1">
227
<widget class="QLineEdit" name="notifications_custom_text2">
228
<property name="enabled">
233
<item row="1" column="2">
234
<widget class="QToolButton" name="notifications_exp_chooser2">
235
<property name="enabled">
238
<property name="text">
250
<widget class="QGroupBox" name="notifications_pretty_group">
251
<property name="title">
252
<string>Pretty OSD options</string>
254
<layout class="QGridLayout" name="gridLayout_2">
255
<item row="0" column="0">
256
<widget class="QLabel" name="label_4">
257
<property name="text">
258
<string>Background opacity</string>
262
<item row="0" column="1" colspan="2">
263
<widget class="QSlider" name="notifications_opacity">
264
<property name="orientation">
265
<enum>Qt::Horizontal</enum>
269
<item row="1" column="0">
270
<widget class="QLabel" name="label_5">
271
<property name="text">
272
<string>Background color</string>
276
<item row="1" column="1">
277
<widget class="QComboBox" name="notifications_bg_preset">
279
<property name="text">
280
<string>Basic Blue</string>
284
<property name="text">
285
<string>Clementine Orange</string>
289
<property name="text">
290
<string>Custom...</string>
295
<item row="2" column="0">
296
<widget class="QLabel" name="label_6">
297
<property name="text">
298
<string>Text options</string>
302
<item row="2" column="1">
303
<widget class="QPushButton" name="notifications_fg_choose">
304
<property name="text">
305
<string>Choose color...</string>
309
<item row="2" column="2">
310
<widget class="QPushButton" name="notifications_font_choose">
311
<property name="text">
312
<string>Choose font...</string>
320
<spacer name="verticalSpacer_3">
321
<property name="orientation">
322
<enum>Qt::Vertical</enum>
324
<property name="sizeHint" stdset="0">
333
<action name="action_artist">
334
<property name="text">
335
<string notr="true">%artist%</string>
337
<property name="toolTip">
338
<string>Add song artist tag</string>
341
<action name="action_album">
342
<property name="text">
343
<string notr="true">%album%</string>
345
<property name="toolTip">
346
<string>Add song album tag</string>
349
<action name="action_title">
350
<property name="text">
351
<string notr="true">%title%</string>
353
<property name="toolTip">
354
<string>Add song title tag</string>
357
<action name="action_albumartist">
358
<property name="text">
359
<string notr="true">%albumartist%</string>
361
<property name="toolTip">
362
<string>Add song albumartist tag</string>
365
<action name="action_year">
366
<property name="text">
367
<string notr="true">%year%</string>
369
<property name="toolTip">
370
<string>Add song year tag</string>
373
<action name="action_composer">
374
<property name="text">
375
<string notr="true">%composer%</string>
377
<property name="toolTip">
378
<string>Add song composer tag</string>
381
<action name="action_disc">
382
<property name="text">
383
<string notr="true">%disc%</string>
385
<property name="toolTip">
386
<string>Add song disc tag</string>
389
<action name="action_track">
390
<property name="text">
391
<string notr="true">%track%</string>
393
<property name="toolTip">
394
<string>Add song track tag</string>
397
<action name="action_genre">
398
<property name="text">
399
<string notr="true">%genre%</string>
401
<property name="toolTip">
402
<string>Add song genre tag</string>
405
<action name="action_length">
406
<property name="text">
407
<string notr="true">%length%</string>
409
<property name="toolTip">
410
<string>Add song length tag</string>
413
<action name="action_playcount">
414
<property name="text">
415
<string notr="true">%playcount%</string>
417
<property name="toolTip">
418
<string>Add song play count</string>
421
<action name="action_skipcount">
422
<property name="text">
423
<string notr="true">%skipcount%</string>
425
<property name="toolTip">
426
<string>Add song skip count</string>
429
<action name="action_newline">
430
<property name="text">
431
<string notr="true">%newline%</string>
433
<property name="toolTip">
434
<string>Add a new line if supported by the notification type</string>