~ubuntu-branches/ubuntu/utopic/clementine/utopic

« back to all changes in this revision

Viewing changes to src/ui/notificationssettingspage.ui

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>NotificationsSettingsPage</class>
 
4
 <widget class="QWidget" name="NotificationsSettingsPage">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>526</width>
 
10
    <height>642</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>Notifications</string>
 
15
  </property>
 
16
  <layout class="QVBoxLayout" name="verticalLayout">
 
17
   <item>
 
18
    <widget class="QLabel" name="label_2">
 
19
     <property name="text">
 
20
      <string>Clementine can show a message when the track changes.</string>
 
21
     </property>
 
22
    </widget>
 
23
   </item>
 
24
   <item>
 
25
    <widget class="QGroupBox" name="groupBox_4">
 
26
     <property name="title">
 
27
      <string>Notification type</string>
 
28
     </property>
 
29
     <layout class="QVBoxLayout" name="verticalLayout_7">
 
30
      <item>
 
31
       <widget class="QRadioButton" name="notifications_none">
 
32
        <property name="text">
 
33
         <string>Disabled</string>
 
34
        </property>
 
35
       </widget>
 
36
      </item>
 
37
      <item>
 
38
       <widget class="QRadioButton" name="notifications_native">
 
39
        <property name="text">
 
40
         <string>Show a native desktop notification</string>
 
41
        </property>
 
42
       </widget>
 
43
      </item>
 
44
      <item>
 
45
       <widget class="QRadioButton" name="notifications_pretty">
 
46
        <property name="text">
 
47
         <string>Show a pretty OSD</string>
 
48
        </property>
 
49
       </widget>
 
50
      </item>
 
51
      <item>
 
52
       <widget class="QRadioButton" name="notifications_tray">
 
53
        <property name="text">
 
54
         <string>Show a popup from the system tray</string>
 
55
        </property>
 
56
       </widget>
 
57
      </item>
 
58
     </layout>
 
59
    </widget>
 
60
   </item>
 
61
   <item>
 
62
    <widget class="QGroupBox" name="notifications_general">
 
63
     <property name="title">
 
64
      <string>General settings</string>
 
65
     </property>
 
66
     <layout class="QVBoxLayout" name="verticalLayout_6">
 
67
      <item>
 
68
       <widget class="QWidget" name="notifications_options" native="true">
 
69
        <layout class="QHBoxLayout" name="horizontalLayout_8">
 
70
         <property name="margin">
 
71
          <number>0</number>
 
72
         </property>
 
73
         <item>
 
74
          <widget class="QLabel" name="label_3">
 
75
           <property name="text">
 
76
            <string>Popup duration</string>
 
77
           </property>
 
78
          </widget>
 
79
         </item>
 
80
         <item>
 
81
          <widget class="QSpinBox" name="notifications_duration">
 
82
           <property name="suffix">
 
83
            <string> seconds</string>
 
84
           </property>
 
85
           <property name="minimum">
 
86
            <number>1</number>
 
87
           </property>
 
88
           <property name="maximum">
 
89
            <number>20</number>
 
90
           </property>
 
91
           <property name="value">
 
92
            <number>5</number>
 
93
           </property>
 
94
          </widget>
 
95
         </item>
 
96
         <item>
 
97
          <widget class="QCheckBox" name="notifications_disable_duration">
 
98
           <property name="text">
 
99
            <string>Disable duration</string>
 
100
           </property>
 
101
          </widget>
 
102
         </item>
 
103
        </layout>
 
104
       </widget>
 
105
      </item>
 
106
      <item>
 
107
       <widget class="QCheckBox" name="notifications_volume">
 
108
        <property name="text">
 
109
         <string>Show a notification when I change the volume</string>
 
110
        </property>
 
111
       </widget>
 
112
      </item>
 
113
      <item>
 
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>
 
117
        </property>
 
118
       </widget>
 
119
      </item>
 
120
      <item>
 
121
       <widget class="QCheckBox" name="notifications_art">
 
122
        <property name="text">
 
123
         <string>Include album art in the notification</string>
 
124
        </property>
 
125
       </widget>
 
126
      </item>
 
127
     </layout>
 
128
    </widget>
 
129
   </item>
 
130
   <item>
 
131
    <widget class="QGroupBox" name="notifications_custom_text_group">
 
132
     <property name="title">
 
133
      <string>Custom message settings</string>
 
134
     </property>
 
135
     <layout class="QVBoxLayout" name="verticalLayout_26">
 
136
      <item>
 
137
       <widget class="QFrame" name="frame_2">
 
138
        <property name="frameShape">
 
139
         <enum>QFrame::NoFrame</enum>
 
140
        </property>
 
141
        <property name="frameShadow">
 
142
         <enum>QFrame::Plain</enum>
 
143
        </property>
 
144
        <property name="lineWidth">
 
145
         <number>0</number>
 
146
        </property>
 
147
        <layout class="QHBoxLayout" name="horizontalLayout_7">
 
148
         <property name="margin">
 
149
          <number>0</number>
 
150
         </property>
 
151
         <item>
 
152
          <widget class="QCheckBox" name="notifications_custom_text_enabled">
 
153
           <property name="text">
 
154
            <string>Use a custom message for notifications</string>
 
155
           </property>
 
156
          </widget>
 
157
         </item>
 
158
         <item>
 
159
          <widget class="QPushButton" name="notifications_preview">
 
160
           <property name="enabled">
 
161
            <bool>false</bool>
 
162
           </property>
 
163
           <property name="sizePolicy">
 
164
            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 
165
             <horstretch>0</horstretch>
 
166
             <verstretch>0</verstretch>
 
167
            </sizepolicy>
 
168
           </property>
 
169
           <property name="text">
 
170
            <string>Preview</string>
 
171
           </property>
 
172
          </widget>
 
173
         </item>
 
174
        </layout>
 
175
       </widget>
 
176
      </item>
 
177
      <item>
 
178
       <widget class="QFrame" name="frame">
 
179
        <property name="frameShape">
 
180
         <enum>QFrame::NoFrame</enum>
 
181
        </property>
 
182
        <property name="frameShadow">
 
183
         <enum>QFrame::Plain</enum>
 
184
        </property>
 
185
        <property name="lineWidth">
 
186
         <number>0</number>
 
187
        </property>
 
188
        <layout class="QGridLayout" name="gridLayout">
 
189
         <property name="topMargin">
 
190
          <number>0</number>
 
191
         </property>
 
192
         <property name="bottomMargin">
 
193
          <number>0</number>
 
194
         </property>
 
195
         <item row="0" column="1">
 
196
          <widget class="QLineEdit" name="notifications_custom_text1">
 
197
           <property name="enabled">
 
198
            <bool>false</bool>
 
199
           </property>
 
200
          </widget>
 
201
         </item>
 
202
         <item row="0" column="2">
 
203
          <widget class="QToolButton" name="notifications_exp_chooser1">
 
204
           <property name="enabled">
 
205
            <bool>false</bool>
 
206
           </property>
 
207
           <property name="text">
 
208
            <string/>
 
209
           </property>
 
210
          </widget>
 
211
         </item>
 
212
         <item row="0" column="0">
 
213
          <widget class="QLabel" name="label_19">
 
214
           <property name="text">
 
215
            <string>Summary</string>
 
216
           </property>
 
217
          </widget>
 
218
         </item>
 
219
         <item row="1" column="0">
 
220
          <widget class="QLabel" name="label_20">
 
221
           <property name="text">
 
222
            <string>Body</string>
 
223
           </property>
 
224
          </widget>
 
225
         </item>
 
226
         <item row="1" column="1">
 
227
          <widget class="QLineEdit" name="notifications_custom_text2">
 
228
           <property name="enabled">
 
229
            <bool>false</bool>
 
230
           </property>
 
231
          </widget>
 
232
         </item>
 
233
         <item row="1" column="2">
 
234
          <widget class="QToolButton" name="notifications_exp_chooser2">
 
235
           <property name="enabled">
 
236
            <bool>false</bool>
 
237
           </property>
 
238
           <property name="text">
 
239
            <string/>
 
240
           </property>
 
241
          </widget>
 
242
         </item>
 
243
        </layout>
 
244
       </widget>
 
245
      </item>
 
246
     </layout>
 
247
    </widget>
 
248
   </item>
 
249
   <item>
 
250
    <widget class="QGroupBox" name="notifications_pretty_group">
 
251
     <property name="title">
 
252
      <string>Pretty OSD options</string>
 
253
     </property>
 
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>
 
259
        </property>
 
260
       </widget>
 
261
      </item>
 
262
      <item row="0" column="1" colspan="2">
 
263
       <widget class="QSlider" name="notifications_opacity">
 
264
        <property name="orientation">
 
265
         <enum>Qt::Horizontal</enum>
 
266
        </property>
 
267
       </widget>
 
268
      </item>
 
269
      <item row="1" column="0">
 
270
       <widget class="QLabel" name="label_5">
 
271
        <property name="text">
 
272
         <string>Background color</string>
 
273
        </property>
 
274
       </widget>
 
275
      </item>
 
276
      <item row="1" column="1">
 
277
       <widget class="QComboBox" name="notifications_bg_preset">
 
278
        <item>
 
279
         <property name="text">
 
280
          <string>Basic Blue</string>
 
281
         </property>
 
282
        </item>
 
283
        <item>
 
284
         <property name="text">
 
285
          <string>Clementine Orange</string>
 
286
         </property>
 
287
        </item>
 
288
        <item>
 
289
         <property name="text">
 
290
          <string>Custom...</string>
 
291
         </property>
 
292
        </item>
 
293
       </widget>
 
294
      </item>
 
295
      <item row="2" column="0">
 
296
       <widget class="QLabel" name="label_6">
 
297
        <property name="text">
 
298
         <string>Text options</string>
 
299
        </property>
 
300
       </widget>
 
301
      </item>
 
302
      <item row="2" column="1">
 
303
       <widget class="QPushButton" name="notifications_fg_choose">
 
304
        <property name="text">
 
305
         <string>Choose color...</string>
 
306
        </property>
 
307
       </widget>
 
308
      </item>
 
309
      <item row="2" column="2">
 
310
       <widget class="QPushButton" name="notifications_font_choose">
 
311
        <property name="text">
 
312
         <string>Choose font...</string>
 
313
        </property>
 
314
       </widget>
 
315
      </item>
 
316
     </layout>
 
317
    </widget>
 
318
   </item>
 
319
   <item>
 
320
    <spacer name="verticalSpacer_3">
 
321
     <property name="orientation">
 
322
      <enum>Qt::Vertical</enum>
 
323
     </property>
 
324
     <property name="sizeHint" stdset="0">
 
325
      <size>
 
326
       <width>20</width>
 
327
       <height>32</height>
 
328
      </size>
 
329
     </property>
 
330
    </spacer>
 
331
   </item>
 
332
  </layout>
 
333
  <action name="action_artist">
 
334
   <property name="text">
 
335
    <string notr="true">%artist%</string>
 
336
   </property>
 
337
   <property name="toolTip">
 
338
    <string>Add song artist tag</string>
 
339
   </property>
 
340
  </action>
 
341
  <action name="action_album">
 
342
   <property name="text">
 
343
    <string notr="true">%album%</string>
 
344
   </property>
 
345
   <property name="toolTip">
 
346
    <string>Add song album tag</string>
 
347
   </property>
 
348
  </action>
 
349
  <action name="action_title">
 
350
   <property name="text">
 
351
    <string notr="true">%title%</string>
 
352
   </property>
 
353
   <property name="toolTip">
 
354
    <string>Add song title tag</string>
 
355
   </property>
 
356
  </action>
 
357
  <action name="action_albumartist">
 
358
   <property name="text">
 
359
    <string notr="true">%albumartist%</string>
 
360
   </property>
 
361
   <property name="toolTip">
 
362
    <string>Add song albumartist tag</string>
 
363
   </property>
 
364
  </action>
 
365
  <action name="action_year">
 
366
   <property name="text">
 
367
    <string notr="true">%year%</string>
 
368
   </property>
 
369
   <property name="toolTip">
 
370
    <string>Add song year tag</string>
 
371
   </property>
 
372
  </action>
 
373
  <action name="action_composer">
 
374
   <property name="text">
 
375
    <string notr="true">%composer%</string>
 
376
   </property>
 
377
   <property name="toolTip">
 
378
    <string>Add song composer tag</string>
 
379
   </property>
 
380
  </action>
 
381
  <action name="action_disc">
 
382
   <property name="text">
 
383
    <string notr="true">%disc%</string>
 
384
   </property>
 
385
   <property name="toolTip">
 
386
    <string>Add song disc tag</string>
 
387
   </property>
 
388
  </action>
 
389
  <action name="action_track">
 
390
   <property name="text">
 
391
    <string notr="true">%track%</string>
 
392
   </property>
 
393
   <property name="toolTip">
 
394
    <string>Add song track tag</string>
 
395
   </property>
 
396
  </action>
 
397
  <action name="action_genre">
 
398
   <property name="text">
 
399
    <string notr="true">%genre%</string>
 
400
   </property>
 
401
   <property name="toolTip">
 
402
    <string>Add song genre tag</string>
 
403
   </property>
 
404
  </action>
 
405
  <action name="action_length">
 
406
   <property name="text">
 
407
    <string notr="true">%length%</string>
 
408
   </property>
 
409
   <property name="toolTip">
 
410
    <string>Add song length tag</string>
 
411
   </property>
 
412
  </action>
 
413
  <action name="action_playcount">
 
414
   <property name="text">
 
415
    <string notr="true">%playcount%</string>
 
416
   </property>
 
417
   <property name="toolTip">
 
418
    <string>Add song play count</string>
 
419
   </property>
 
420
  </action>
 
421
  <action name="action_skipcount">
 
422
   <property name="text">
 
423
    <string notr="true">%skipcount%</string>
 
424
   </property>
 
425
   <property name="toolTip">
 
426
    <string>Add song skip count</string>
 
427
   </property>
 
428
  </action>
 
429
  <action name="action_newline">
 
430
   <property name="text">
 
431
    <string notr="true">%newline%</string>
 
432
   </property>
 
433
   <property name="toolTip">
 
434
    <string>Add a new line if supported by the notification type</string>
 
435
   </property>
 
436
  </action>
 
437
 </widget>
 
438
 <resources/>
 
439
 <connections/>
 
440
</ui>