1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>OverlayConfig</class>
4 <widget class="QWidget" name="OverlayConfig">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>649</width>
10    <height>526</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string notr="true">Form</string>
15  </property>
16  <layout class="QVBoxLayout">
17   <property name="margin">
18    <number>0</number>
19   </property>
20   <item>
21    <widget class="QStackedWidget" name="qswOverlayPage">
22     <property name="currentIndex">
23      <number>1</number>
24     </property>
25     <widget class="QWidget" name="qwOverlayConfig">
26      <layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0">
27       <item>
28        <widget class="QWidget" name="widget" native="true">
29         <property name="sizePolicy">
30          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
31           <horstretch>0</horstretch>
32           <verstretch>0</verstretch>
33          </sizepolicy>
34         </property>
35         <layout class="QHBoxLayout" name="horizontalLayout_9" stretch="0,0">
36          <property name="spacing">
37           <number>6</number>
38          </property>
39          <property name="sizeConstraint">
40           <enum>QLayout::SetDefaultConstraint</enum>
41          </property>
42          <property name="margin">
43           <number>0</number>
44          </property>
45          <item>
46           <widget class="QGroupBox" name="qgbOptions">
47            <property name="sizePolicy">
48             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
49              <horstretch>0</horstretch>
50              <verstretch>0</verstretch>
51             </sizepolicy>
52            </property>
53            <property name="title">
54             <string>Options</string>
55            </property>
56            <property name="alignment">
57             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
58            </property>
59            <layout class="QVBoxLayout" name="verticalLayout_15">
60             <item>
61              <widget class="QCheckBox" name="qcbEnable">
62               <property name="toolTip">
63                <string>Enable overlay.</string>
64               </property>
65               <property name="whatsThis">
66                <string>This sets whether the overlay is enabled or not. This setting is only checked when applications are started, so make sure Mumble is running and this option is on before you start the application.&lt;br /&gt;Please note that if you start Mumble after starting the application, or if you disable the overlay while the application is running, there is no safe way to restart the overlay without also restarting the application.</string>
67               </property>
68               <property name="text">
69                <string>Enable Overlay</string>
70               </property>
71              </widget>
72             </item>
73             <item>
74              <spacer name="horizontalSpacer_6">
75               <property name="orientation">
76                <enum>Qt::Horizontal</enum>
77               </property>
78               <property name="sizeHint" stdset="0">
79                <size>
80                 <width>40</width>
81                 <height>0</height>
82                </size>
83               </property>
84              </spacer>
85             </item>
86             <item>
87              <layout class="QVBoxLayout" name="verticalLayout_14">
88               <property name="sizeConstraint">
89                <enum>QLayout::SetDefaultConstraint</enum>
90               </property>
91               <item>
92                <widget class="QPushButton" name="qpbLoadPreset">
93                 <property name="toolTip">
94                  <string>Load an overlay preset from file</string>
95                 </property>
96                 <property name="text">
97                  <string>Load…</string>
98                 </property>
99                </widget>
100               </item>
101               <item>
102                <widget class="QPushButton" name="qpbSavePreset">
103                 <property name="toolTip">
104                  <string>Save your overlay settings to file</string>
105                 </property>
106                 <property name="text">
107                  <string>Save…</string>
108                 </property>
109                </widget>
110               </item>
111               <item>
112                <widget class="QPushButton" name="qpbUninstall">
113                 <property name="text">
114                  <string>Uninstall Overlay</string>
115                 </property>
116                </widget>
117               </item>
118              </layout>
119             </item>
120            </layout>
121           </widget>
122          </item>
123          <item>
124           <widget class="QGroupBox" name="qgpFps">
125            <property name="enabled">
126             <bool>true</bool>
127            </property>
128            <property name="sizePolicy">
129             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
130              <horstretch>0</horstretch>
131              <verstretch>0</verstretch>
132             </sizepolicy>
133            </property>
134            <property name="title">
135             <string>FPS and Clock Display</string>
136            </property>
137            <layout class="QHBoxLayout" name="horizontalLayout_8">
138             <item>
139              <layout class="QVBoxLayout" name="verticalLayout_9">
140               <property name="sizeConstraint">
141                <enum>QLayout::SetDefaultConstraint</enum>
142               </property>
143               <item>
144                <widget class="QCheckBox" name="qcbShowFps">
145                 <property name="toolTip">
146                  <string>Display a frame counter in the overlay</string>
147                 </property>
148                 <property name="text">
149                  <string>Show FPS counter</string>
150                 </property>
151                </widget>
152               </item>
153               <item>
154                <widget class="QCheckBox" name="qcbShowTime">
155                 <property name="toolTip">
156                  <string>Display a clock in the overlay showing the current local time (system time).</string>
157                 </property>
158                 <property name="text">
159                  <string>Show Clock</string>
160                 </property>
161                </widget>
162               </item>
163               <item>
164                <widget class="QPushButton" name="qpbFpsFont">
165                 <property name="toolTip">
166                  <string>Set the overlay font.</string>
167                 </property>
168                 <property name="whatsThis">
169                  <string/>
170                 </property>
171                 <property name="text">
172                  <string>Font</string>
173                 </property>
174                </widget>
175               </item>
176               <item>
177                <widget class="QPushButton" name="qpbFpsColor">
178                 <property name="toolTip">
179                  <string>Set the overlay text color.</string>
180                 </property>
181                 <property name="whatsThis">
182                  <string/>
183                 </property>
184                 <property name="text">
185                  <string>Color</string>
186                 </property>
187                </widget>
188               </item>
189               <item>
190                <spacer name="verticalSpacer_3">
191                 <property name="orientation">
192                  <enum>Qt::Vertical</enum>
193                 </property>
194                 <property name="sizeHint" stdset="0">
195                  <size>
196                   <width>20</width>
197                   <height>0</height>
198                  </size>
199                 </property>
200                </spacer>
201               </item>
202              </layout>
203             </item>
204             <item>
205              <widget class="QGraphicsView" name="qgvFpsPreview">
206               <property name="enabled">
207                <bool>true</bool>
208               </property>
209               <property name="sizePolicy">
210                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
211                 <horstretch>0</horstretch>
212                 <verstretch>0</verstretch>
213                </sizepolicy>
214               </property>
215               <property name="minimumSize">
216                <size>
217                 <width>256</width>
218                 <height>100</height>
219                </size>
220               </property>
221               <property name="maximumSize">
222                <size>
223                 <width>16777215</width>
224                 <height>100</height>
225                </size>
226               </property>
227               <property name="baseSize">
228                <size>
229                 <width>0</width>
230                 <height>40</height>
231                </size>
232               </property>
233               <property name="verticalScrollBarPolicy">
234                <enum>Qt::ScrollBarAlwaysOff</enum>
235               </property>
236               <property name="horizontalScrollBarPolicy">
237                <enum>Qt::ScrollBarAlwaysOff</enum>
238               </property>
239               <property name="backgroundBrush">
240                <brush brushstyle="SolidPattern">
241                 <color alpha="255">
242                  <red>128</red>
243                  <green>128</green>
244                  <blue>128</blue>
245                 </color>
246                </brush>
247               </property>
248               <property name="foregroundBrush">
249                <brush brushstyle="NoBrush">
250                 <color alpha="255">
251                  <red>0</red>
252                  <green>0</green>
253                  <blue>0</blue>
254                 </color>
255                </brush>
256               </property>
257               <property name="renderHints">
258                <set>QPainter::Antialiasing|QPainter::TextAntialiasing</set>
259               </property>
260              </widget>
261             </item>
262            </layout>
263           </widget>
264          </item>
265         </layout>
266        </widget>
267       </item>
268       <item>
269        <widget class="QTabWidget" name="qtwSetup">
270         <property name="currentIndex">
271          <number>0</number>
272         </property>
273         <widget class="QWidget" name="qwLayoutTab">
274          <attribute name="title">
275           <string>Layout</string>
276          </attribute>
277          <layout class="QVBoxLayout" name="verticalLayout_13">
278           <item>
279            <widget class="QGraphicsView" name="qgvView">
280             <property name="sizePolicy">
281              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
282               <horstretch>1</horstretch>
283               <verstretch>1</verstretch>
284              </sizepolicy>
285             </property>
286             <property name="verticalScrollBarPolicy">
287              <enum>Qt::ScrollBarAlwaysOff</enum>
288             </property>
289             <property name="horizontalScrollBarPolicy">
290              <enum>Qt::ScrollBarAlwaysOff</enum>
291             </property>
292             <property name="backgroundBrush">
293              <brush brushstyle="SolidPattern">
294               <color alpha="255">
295                <red>128</red>
296                <green>128</green>
297                <blue>128</blue>
298               </color>
299              </brush>
300             </property>
301             <property name="renderHints">
302              <set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::SmoothPixmapTransform|QPainter::TextAntialiasing</set>
303             </property>
304            </widget>
305           </item>
306          </layout>
307         </widget>
308         <widget class="QWidget" name="qwExceptions">
309          <attribute name="title">
310           <string>Overlay Exceptions</string>
311          </attribute>
312          <layout class="QVBoxLayout" name="verticalLayout_2">
313           <item>
314            <layout class="QHBoxLayout" name="horizontalLayout_3">
315             <item>
316              <widget class="QLabel" name="label">
317               <property name="text">
318                <string>Overlay Exception Mode</string>
319               </property>
320              </widget>
321             </item>
322             <item>
323              <widget class="QComboBox" name="qcbOverlayExclusionMode"/>
324             </item>
325             <item>
326              <spacer name="horizontalSpacer">
327               <property name="orientation">
328                <enum>Qt::Horizontal</enum>
329               </property>
330               <property name="sizeHint" stdset="0">
331                <size>
332                 <width>40</width>
333                 <height>20</height>
334                </size>
335               </property>
336              </spacer>
337             </item>
338            </layout>
339           </item>
340           <item>
341            <widget class="Line" name="line">
342             <property name="orientation">
343              <enum>Qt::Horizontal</enum>
344             </property>
345            </widget>
346           </item>
347           <item>
348            <layout class="QHBoxLayout" name="horizontalLayout">
349             <item>
350              <widget class="QWidget" name="qwLaunchers" native="true">
351               <layout class="QVBoxLayout" name="qvblLaunchers">
352                <item>
353                 <widget class="QLabel" name="qlLaunchersLabel">
354                  <property name="text">
355                   <string>Allowed launchers</string>
356                  </property>
357                 </widget>
358                </item>
359                <item>
360                 <widget class="PathListWidget" name="qlwLaunchers" native="true"/>
361                </item>
362                <item>
363                 <layout class="QHBoxLayout" name="horizontalLayout_2">
364                  <item>
365                   <widget class="QPushButton" name="qpbLaunchersAdd">
366                    <property name="text">
367                     <string>Add</string>
368                    </property>
369                   </widget>
370                  </item>
371                  <item>
372                   <widget class="QPushButton" name="qpbLaunchersRemove">
373                    <property name="enabled">
374                     <bool>false</bool>
375                    </property>
376                    <property name="text">
377                     <string>Remove</string>
378                    </property>
379                   </widget>
380                  </item>
381                 </layout>
382                </item>
383               </layout>
384              </widget>
385             </item>
386             <item>
387              <widget class="QWidget" name="qwWhitelist" native="true">
388               <layout class="QVBoxLayout" name="qvblWhitelist">
389                <item>
390                 <widget class="QLabel" name="qlWhitelistLabel">
391                  <property name="text">
392                   <string>Allowed programs</string>
393                  </property>
394                 </widget>
395                </item>
396                <item>
397                 <widget class="PathListWidget" name="qlwWhitelist" native="true"/>
398                </item>
399                <item>
400                 <layout class="QHBoxLayout" name="horizontalLayout_5">
401                  <item>
402                   <widget class="QPushButton" name="qpbWhitelistAdd">
403                    <property name="text">
404                     <string>Add</string>
405                    </property>
406                   </widget>
407                  </item>
408                  <item>
409                   <widget class="QPushButton" name="qpbWhitelistRemove">
410                    <property name="enabled">
411                     <bool>false</bool>
412                    </property>
413                    <property name="text">
414                     <string>Remove</string>
415                    </property>
416                   </widget>
417                  </item>
418                 </layout>
419                </item>
420               </layout>
421              </widget>
422             </item>
423             <item>
424              <widget class="QWidget" name="qwPaths" native="true">
425               <layout class="QVBoxLayout" name="qvblPaths">
426                <item>
427                 <widget class="QLabel" name="qlPathsLabel">
428                  <property name="text">
429                   <string>Allowed paths</string>
430                  </property>
431                 </widget>
432                </item>
433                <item>
434                 <widget class="PathListWidget" name="qlwPaths" native="true"/>
435                </item>
436                <item>
437                 <layout class="QHBoxLayout" name="horizontalLayout_7">
438                  <item>
439                   <widget class="QPushButton" name="qpbPathsAdd">
440                    <property name="text">
441                     <string>Add</string>
442                    </property>
443                   </widget>
444                  </item>
445                  <item>
446                   <widget class="QPushButton" name="qpbPathsRemove">
447                    <property name="enabled">
448                     <bool>false</bool>
449                    </property>
450                    <property name="text">
451                     <string>Remove</string>
452                    </property>
453                   </widget>
454                  </item>
455                 </layout>
456                </item>
457               </layout>
458              </widget>
459             </item>
460             <item>
461              <widget class="QWidget" name="qwBlacklist" native="true">
462               <layout class="QVBoxLayout" name="qvblBlacklist">
463                <item>
464                 <widget class="QLabel" name="qlvBlacklistLabel">
465                  <property name="text">
466                   <string>Blacklisted programs</string>
467                  </property>
468                 </widget>
469                </item>
470                <item>
471                 <widget class="PathListWidget" name="qlwBlacklist" native="true"/>
472                </item>
473                <item>
474                 <layout class="QHBoxLayout" name="horizontalLayout_10">
475                  <item>
476                   <widget class="QPushButton" name="qpbBlacklistAdd">
477                    <property name="text">
478                     <string>Add</string>
479                    </property>
480                   </widget>
481                  </item>
482                  <item>
483                   <widget class="QPushButton" name="qpbBlacklistRemove">
484                    <property name="enabled">
485                     <bool>false</bool>
486                    </property>
487                    <property name="text">
488                     <string>Remove</string>
489                    </property>
490                   </widget>
491                  </item>
492                 </layout>
493                </item>
494               </layout>
495              </widget>
496             </item>
497            </layout>
498           </item>
499          </layout>
500         </widget>
501        </widget>
502       </item>
503      </layout>
504     </widget>
505     <widget class="QWidget" name="qwOverlayInstall">
506      <layout class="QVBoxLayout" name="verticalLayout_5">
507       <item>
508        <widget class="QGroupBox" name="groupBox">
509         <property name="title">
510          <string>Overlay Installation</string>
511         </property>
512         <layout class="QVBoxLayout" name="verticalLayout_11">
513          <item>
514           <layout class="QFormLayout" name="formLayout">
515            <item row="0" column="0">
516             <widget class="QLabel" name="qlInstallIcon">
517              <property name="sizePolicy">
518               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
519                <horstretch>0</horstretch>
520                <verstretch>0</verstretch>
521               </sizepolicy>
522              </property>
523              <property name="text">
524               <string/>
525              </property>
526              <property name="pixmap">
527               <pixmap resource="mumble.qrc">:/config_osd.png</pixmap>
528              </property>
529             </widget>
530            </item>
531            <item row="0" column="1">
532             <widget class="QLabel" name="qlInstallText">
533              <property name="sizePolicy">
534               <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
535                <horstretch>0</horstretch>
536                <verstretch>0</verstretch>
537               </sizepolicy>
538              </property>
539              <property name="text">
540               <string>Mumble has detected that you do not have the Mumble Overlay installed.
541
542Click the button below to install the overlay.</string>
543              </property>
544              <property name="alignment">
545               <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
546              </property>
547              <property name="wordWrap">
548               <bool>true</bool>
549              </property>
550             </widget>
551            </item>
552           </layout>
553          </item>
554          <item>
555           <layout class="QHBoxLayout" name="horizontalLayout_4">
556            <item>
557             <spacer name="horizontalSpacer_3">
558              <property name="orientation">
559               <enum>Qt::Horizontal</enum>
560              </property>
561              <property name="sizeHint" stdset="0">
562               <size>
563                <width>40</width>
564                <height>20</height>
565               </size>
566              </property>
567             </spacer>
568            </item>
569            <item>
570             <widget class="QPushButton" name="qpbInstall">
571              <property name="text">
572               <string>Install Mumble Overlay</string>
573              </property>
574             </widget>
575            </item>
576            <item>
577             <spacer name="horizontalSpacer_2">
578              <property name="orientation">
579               <enum>Qt::Horizontal</enum>
580              </property>
581              <property name="sizeHint" stdset="0">
582               <size>
583                <width>40</width>
584                <height>20</height>
585               </size>
586              </property>
587             </spacer>
588            </item>
589           </layout>
590          </item>
591         </layout>
592        </widget>
593       </item>
594       <item>
595        <spacer name="verticalSpacer_2">
596         <property name="orientation">
597          <enum>Qt::Vertical</enum>
598         </property>
599         <property name="sizeHint" stdset="0">
600          <size>
601           <width>20</width>
602           <height>40</height>
603          </size>
604         </property>
605        </spacer>
606       </item>
607      </layout>
608     </widget>
609     <widget class="QWidget" name="qwOverlayUpgrade">
610      <layout class="QVBoxLayout" name="verticalLayout_7">
611       <item>
612        <widget class="QGroupBox" name="groupBox_2">
613         <property name="title">
614          <string>Overlay Upgrade</string>
615         </property>
616         <layout class="QVBoxLayout" name="verticalLayout_12">
617          <item>
618           <layout class="QFormLayout" name="formLayout_4">
619            <property name="fieldGrowthPolicy">
620             <enum>QFormLayout::ExpandingFieldsGrow</enum>
621            </property>
622            <item row="0" column="0">
623             <widget class="QLabel" name="qlUpgradeIcon">
624              <property name="text">
625               <string/>
626              </property>
627              <property name="pixmap">
628               <pixmap resource="mumble.qrc">:/config_osd.png</pixmap>
629              </property>
630             </widget>
631            </item>
632            <item row="0" column="1">
633             <widget class="QLabel" name="qlUpgradeText">
634              <property name="text">
635               <string>Mumble has detected an old version of the overlay support files installed on your computer.
636
637To upgrade these files to their latest versions, click the button below.</string>
638              </property>
639              <property name="wordWrap">
640               <bool>true</bool>
641              </property>
642             </widget>
643            </item>
644           </layout>
645          </item>
646          <item>
647           <layout class="QHBoxLayout" name="horizontalLayout_6">
648            <item>
649             <spacer name="horizontalSpacer_4">
650              <property name="orientation">
651               <enum>Qt::Horizontal</enum>
652              </property>
653              <property name="sizeHint" stdset="0">
654               <size>
655                <width>40</width>
656                <height>20</height>
657               </size>
658              </property>
659             </spacer>
660            </item>
661            <item>
662             <widget class="QPushButton" name="qpbUpgrade">
663              <property name="text">
664               <string>Upgrade Mumble Overlay</string>
665              </property>
666             </widget>
667            </item>
668            <item>
669             <spacer name="horizontalSpacer_5">
670              <property name="orientation">
671               <enum>Qt::Horizontal</enum>
672              </property>
673              <property name="sizeHint" stdset="0">
674               <size>
675                <width>40</width>
676                <height>20</height>
677               </size>
678              </property>
679             </spacer>
680            </item>
681           </layout>
682          </item>
683         </layout>
684        </widget>
685       </item>
686       <item>
687        <spacer name="verticalSpacer">
688         <property name="orientation">
689          <enum>Qt::Vertical</enum>
690         </property>
691         <property name="sizeHint" stdset="0">
692          <size>
693           <width>20</width>
694           <height>40</height>
695          </size>
696         </property>
697        </spacer>
698       </item>
699      </layout>
700     </widget>
701    </widget>
702   </item>
703  </layout>
704 </widget>
705 <customwidgets>
706  <customwidget>
707   <class>PathListWidget</class>
708   <extends>QListWidget</extends>
709   <header>PathListWidget.h</header>
710  </customwidget>
711 </customwidgets>
712 <resources>
713  <include location="mumble.qrc"/>
714 </resources>
715 <connections/>
716</ui>
717