Debian Codegraph @

src/librssguard/gui/settings/settingsnotifications.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SettingsNotifications</class>
4 <widget class="QWidget" name="SettingsNotifications">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>407</width>
10 <height>357</height>
11 </rect>
12 </property>
13 <layout class="QFormLayout" name="formLayout">
14 <item row="1" column="0" colspan="2">
15 <widget class="QCheckBox" name="m_checkEnableNotifications">
16 <property name="text">
17 <string>Enable notifications</string>
18 </property>
19 </widget>
20 </item>
21 <item row="4" column="0" colspan="2">
22 <widget class="NotificationsEditor" name="m_editor" native="true">
23 <property name="enabled">
24 <bool>false</bool>
25 </property>
26 <property name="sizePolicy">
27 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
28 <horstretch>0</horstretch>
29 <verstretch>1</verstretch>
30 </sizepolicy>
31 </property>
32 </widget>
33 </item>
34 <item row="2" column="0" colspan="2">
35 <widget class="QGroupBox" name="m_gbNotificationsType">
36 <property name="title">
37 <string>Balloon notifications type</string>
38 </property>
39 <layout class="QFormLayout" name="formLayout_2">
40 <item row="0" column="0" colspan="2">
41 <widget class="QRadioButton" name="m_rbNativeNotifications">
42 <property name="text">
43 <string>Native notifications (tray icon must be enabled)</string>
44 </property>
45 </widget>
46 </item>
47 <item row="1" column="0" colspan="2">
48 <widget class="QRadioButton" name="m_rbCustomNotifications">
49 <property name="text">
50 <string>Custom notifications</string>
51 </property>
52 <property name="checked">
53 <bool>true</bool>
54 </property>
55 </widget>
56 </item>
57 <item row="3" column="0" colspan="2">
58 <widget class="QWidget" name="m_wdgCustomNotifications" native="true">
59 <layout class="QFormLayout" name="formLayout_3">
60 <property name="leftMargin">
61 <number>30</number>
62 </property>
63 <item row="0" column="0">
64 <widget class="QLabel" name="label">
65 <property name="text">
66 <string>Position</string>
67 </property>
68 <property name="buddy">
69 <cstring>m_cbCustomNotificationsPosition</cstring>
70 </property>
71 </widget>
72 </item>
73 <item row="0" column="1">
74 <widget class="QComboBox" name="m_cbCustomNotificationsPosition"/>
75 </item>
76 <item row="1" column="0">
77 <widget class="QLabel" name="label_3">
78 <property name="text">
79 <string>Width</string>
80 </property>
81 <property name="buddy">
82 <cstring>m_sbWidth</cstring>
83 </property>
84 </widget>
85 </item>
86 <item row="1" column="1">
87 <widget class="QSpinBox" name="m_sbWidth">
88 <property name="suffix">
89 <string notr="true"> px</string>
90 </property>
91 <property name="minimum">
92 <number>50</number>
93 </property>
94 <property name="maximum">
95 <number>1000</number>
96 </property>
97 </widget>
98 </item>
99 <item row="2" column="0">
100 <widget class="QLabel" name="label_4">
101 <property name="text">
102 <string>Margins</string>
103 </property>
104 <property name="buddy">
105 <cstring>m_sbMargin</cstring>
106 </property>
107 </widget>
108 </item>
109 <item row="2" column="1">
110 <widget class="QSpinBox" name="m_sbMargin">
111 <property name="suffix">
112 <string notr="true"> px</string>
113 </property>
114 <property name="maximum">
115 <number>100</number>
116 </property>
117 </widget>
118 </item>
119 <item row="4" column="0">
120 <widget class="QLabel" name="label_2">
121 <property name="text">
122 <string>Screen</string>
123 </property>
124 <property name="buddy">
125 <cstring>m_sbScreen</cstring>
126 </property>
127 </widget>
128 </item>
129 <item row="4" column="1">
130 <widget class="QSpinBox" name="m_sbScreen">
131 <property name="value">
132 <number>99</number>
133 </property>
134 </widget>
135 </item>
136 <item row="5" column="1">
137 <widget class="QLabel" name="m_lblScreenInfo">
138 <property name="text">
139 <string/>
140 </property>
141 </widget>
142 </item>
143 <item row="3" column="1">
144 <widget class="QSpinBox" name="m_sbOpacity">
145 <property name="suffix">
146 <string notr="true"> %</string>
147 </property>
148 <property name="maximum">
149 <number>100</number>
150 </property>
151 </widget>
152 </item>
153 <item row="3" column="0">
154 <widget class="QLabel" name="label_5">
155 <property name="text">
156 <string>Opacity</string>
157 </property>
158 <property name="buddy">
159 <cstring>m_sbOpacity</cstring>
160 </property>
161 </widget>
162 </item>
163 </layout>
164 </widget>
165 </item>
166 <item row="2" column="0" colspan="2">
167 <widget class="HelpSpoiler" name="m_lblNativeNotif" native="true"/>
168 </item>
169 </layout>
170 </widget>
171 </item>
172 <item row="3" column="0" colspan="2">
173 <widget class="HelpSpoiler" name="m_lblInfo" native="true"/>
174 </item>
175 </layout>
176 </widget>
177 <customwidgets>
178 <customwidget>
179 <class>HelpSpoiler</class>
180 <extends>QWidget</extends>
181 <header>helpspoiler.h</header>
182 <container>1</container>
183 </customwidget>
184 <customwidget>
185 <class>NotificationsEditor</class>
186 <extends>QWidget</extends>
187 <header>notificationseditor.h</header>
188 <container>1</container>
189 </customwidget>
190 </customwidgets>
191 <tabstops>
192 <tabstop>m_checkEnableNotifications</tabstop>
193 <tabstop>m_rbNativeNotifications</tabstop>
194 <tabstop>m_rbCustomNotifications</tabstop>
195 <tabstop>m_cbCustomNotificationsPosition</tabstop>
196 <tabstop>m_sbWidth</tabstop>
197 <tabstop>m_sbMargin</tabstop>
198 <tabstop>m_sbScreen</tabstop>
199 </tabstops>
200 <resources/>
201 <connections>
202 <connection>
203 <sender>m_checkEnableNotifications</sender>
204 <signal>toggled(bool)</signal>
205 <receiver>m_editor</receiver>
206 <slot>setEnabled(bool)</slot>
207 <hints>
208 <hint type="sourcelabel">
209 <x>199</x>
210 <y>8</y>
211 </hint>
212 <hint type="destinationlabel">
213 <x>0</x>
214 <y>31</y>
215 </hint>
216 </hints>
217 </connection>
218 <connection>
219 <sender>m_checkEnableNotifications</sender>
220 <signal>toggled(bool)</signal>
221 <receiver>m_gbNotificationsType</receiver>
222 <slot>setEnabled(bool)</slot>
223 <hints>
224 <hint type="sourcelabel">
225 <x>183</x>
226 <y>24</y>
227 </hint>
228 <hint type="destinationlabel">
229 <x>183</x>
230 <y>107</y>
231 </hint>
232 </hints>
233 </connection>
234 <connection>
235 <sender>m_rbCustomNotifications</sender>
236 <signal>toggled(bool)</signal>
237 <receiver>m_wdgCustomNotifications</receiver>
238 <slot>setEnabled(bool)</slot>
239 <hints>
240 <hint type="sourcelabel">
241 <x>183</x>
242 <y>102</y>
243 </hint>
244 <hint type="destinationlabel">
245 <x>183</x>
246 <y>141</y>
247 </hint>
248 </hints>
249 </connection>
250 </connections>
251 </ui>