Make position hints configurable again
[quassel.git] / src / qtui / ui / desktopnotificationconfigwidget.ui
1 <ui version="4.0" >
2  <class>DesktopNotificationConfigWidget</class>
3  <widget class="QWidget" name="DesktopNotificationConfigWidget" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>435</width>
9     <height>144</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Form</string>
14   </property>
15   <layout class="QVBoxLayout" name="verticalLayout_2" >
16    <item>
17     <widget class="QGroupBox" name="enabled" >
18      <property name="title" >
19       <string>Desktop Notification (via D-Bus)</string>
20      </property>
21      <property name="checkable" >
22       <bool>true</bool>
23      </property>
24      <property name="checked" >
25       <bool>false</bool>
26      </property>
27      <layout class="QVBoxLayout" name="verticalLayout" >
28       <item>
29        <layout class="QHBoxLayout" name="horizontalLayout_2" >
30         <item>
31          <widget class="QCheckBox" name="useTimeout" >
32           <property name="text" >
33            <string>Timeout:</string>
34           </property>
35           <property name="checked" >
36            <bool>true</bool>
37           </property>
38          </widget>
39         </item>
40         <item>
41          <widget class="QSpinBox" name="timeout" >
42           <property name="specialValueText" >
43            <string/>
44           </property>
45           <property name="suffix" >
46            <string> s</string>
47           </property>
48           <property name="minimum" >
49            <number>1</number>
50           </property>
51           <property name="value" >
52            <number>10</number>
53           </property>
54          </widget>
55         </item>
56         <item>
57          <spacer name="horizontalSpacer" >
58           <property name="orientation" >
59            <enum>Qt::Horizontal</enum>
60           </property>
61           <property name="sizeHint" stdset="0" >
62            <size>
63             <width>40</width>
64             <height>20</height>
65            </size>
66           </property>
67          </spacer>
68         </item>
69        </layout>
70       </item>
71       <item>
72        <layout class="QHBoxLayout" name="horizontalLayout" >
73         <item>
74          <widget class="QCheckBox" name="useHints" >
75           <property name="text" >
76            <string>Position hint:</string>
77           </property>
78          </widget>
79         </item>
80         <item>
81          <widget class="QSpinBox" name="xHint" >
82           <property name="enabled" >
83            <bool>false</bool>
84           </property>
85           <property name="suffix" >
86            <string> px</string>
87           </property>
88           <property name="prefix" >
89            <string>X: </string>
90           </property>
91           <property name="maximum" >
92            <number>9999</number>
93           </property>
94          </widget>
95         </item>
96         <item>
97          <widget class="QSpinBox" name="yHint" >
98           <property name="enabled" >
99            <bool>false</bool>
100           </property>
101           <property name="suffix" >
102            <string> px</string>
103           </property>
104           <property name="prefix" >
105            <string>Y: </string>
106           </property>
107           <property name="maximum" >
108            <number>9999</number>
109           </property>
110          </widget>
111         </item>
112         <item>
113          <spacer name="horizontalSpacer_2" >
114           <property name="orientation" >
115            <enum>Qt::Horizontal</enum>
116           </property>
117           <property name="sizeHint" stdset="0" >
118            <size>
119             <width>40</width>
120             <height>20</height>
121            </size>
122           </property>
123          </spacer>
124         </item>
125        </layout>
126       </item>
127       <item>
128        <widget class="QCheckBox" name="queueNotifications" >
129         <property name="text" >
130          <string>Queue unread notifications</string>
131         </property>
132         <property name="checked" >
133          <bool>true</bool>
134         </property>
135        </widget>
136       </item>
137      </layout>
138     </widget>
139    </item>
140    <item>
141     <spacer name="verticalSpacer" >
142      <property name="orientation" >
143       <enum>Qt::Vertical</enum>
144      </property>
145      <property name="sizeHint" stdset="0" >
146       <size>
147        <width>20</width>
148        <height>40</height>
149       </size>
150      </property>
151     </spacer>
152    </item>
153   </layout>
154  </widget>
155  <resources/>
156  <connections>
157   <connection>
158    <sender>useHints</sender>
159    <signal>toggled(bool)</signal>
160    <receiver>xHint</receiver>
161    <slot>setEnabled(bool)</slot>
162    <hints>
163     <hint type="sourcelabel" >
164      <x>92</x>
165      <y>82</y>
166     </hint>
167     <hint type="destinationlabel" >
168      <x>156</x>
169      <y>82</y>
170     </hint>
171    </hints>
172   </connection>
173   <connection>
174    <sender>useHints</sender>
175    <signal>toggled(bool)</signal>
176    <receiver>yHint</receiver>
177    <slot>setEnabled(bool)</slot>
178    <hints>
179     <hint type="sourcelabel" >
180      <x>51</x>
181      <y>78</y>
182     </hint>
183     <hint type="destinationlabel" >
184      <x>262</x>
185      <y>83</y>
186     </hint>
187    </hints>
188   </connection>
189   <connection>
190    <sender>useTimeout</sender>
191    <signal>toggled(bool)</signal>
192    <receiver>timeout</receiver>
193    <slot>setEnabled(bool)</slot>
194    <hints>
195     <hint type="sourcelabel" >
196      <x>58</x>
197      <y>50</y>
198     </hint>
199     <hint type="destinationlabel" >
200      <x>128</x>
201      <y>51</y>
202     </hint>
203    </hints>
204   </connection>
205  </connections>
206 </ui>