|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>ClickToFlashWhitelistDialog</class> |
|
4 <widget class="QDialog" name="ClickToFlashWhitelistDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>500</width> |
|
10 <height>350</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>ClickToFlash Whitelist</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <layout class="QGridLayout" name="gridLayout_2"> |
|
22 <property name="horizontalSpacing"> |
|
23 <number>0</number> |
|
24 </property> |
|
25 <item row="0" column="0" rowspan="2"> |
|
26 <widget class="QLabel" name="iconLabel"> |
|
27 <property name="sizePolicy"> |
|
28 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
29 <horstretch>0</horstretch> |
|
30 <verstretch>0</verstretch> |
|
31 </sizepolicy> |
|
32 </property> |
|
33 <property name="text"> |
|
34 <string notr="true">Icon</string> |
|
35 </property> |
|
36 </widget> |
|
37 </item> |
|
38 <item row="0" column="1" colspan="3"> |
|
39 <spacer name="horizontalSpacer_2"> |
|
40 <property name="orientation"> |
|
41 <enum>Qt::Horizontal</enum> |
|
42 </property> |
|
43 <property name="sizeHint" stdset="0"> |
|
44 <size> |
|
45 <width>338</width> |
|
46 <height>20</height> |
|
47 </size> |
|
48 </property> |
|
49 </spacer> |
|
50 </item> |
|
51 <item row="1" column="1"> |
|
52 <spacer name="horizontalSpacer"> |
|
53 <property name="orientation"> |
|
54 <enum>Qt::Horizontal</enum> |
|
55 </property> |
|
56 <property name="sizeHint" stdset="0"> |
|
57 <size> |
|
58 <width>40</width> |
|
59 <height>20</height> |
|
60 </size> |
|
61 </property> |
|
62 </spacer> |
|
63 </item> |
|
64 <item row="1" column="2"> |
|
65 <widget class="QLineEdit" name="searchEdit"> |
|
66 <property name="sizePolicy"> |
|
67 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
68 <horstretch>0</horstretch> |
|
69 <verstretch>0</verstretch> |
|
70 </sizepolicy> |
|
71 </property> |
|
72 <property name="minimumSize"> |
|
73 <size> |
|
74 <width>300</width> |
|
75 <height>0</height> |
|
76 </size> |
|
77 </property> |
|
78 <property name="toolTip"> |
|
79 <string>Enter search term for hosts</string> |
|
80 </property> |
|
81 </widget> |
|
82 </item> |
|
83 <item row="1" column="3"> |
|
84 <widget class="QToolButton" name="clearButton"> |
|
85 <property name="toolTip"> |
|
86 <string>Press to clear the search edit</string> |
|
87 </property> |
|
88 <property name="text"> |
|
89 <string/> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 </layout> |
|
94 </item> |
|
95 <item> |
|
96 <layout class="QGridLayout" name="gridLayout"> |
|
97 <item row="4" column="1"> |
|
98 <spacer name="verticalSpacer"> |
|
99 <property name="orientation"> |
|
100 <enum>Qt::Vertical</enum> |
|
101 </property> |
|
102 <property name="sizeHint" stdset="0"> |
|
103 <size> |
|
104 <width>20</width> |
|
105 <height>40</height> |
|
106 </size> |
|
107 </property> |
|
108 </spacer> |
|
109 </item> |
|
110 <item row="0" column="1"> |
|
111 <widget class="QPushButton" name="addButton"> |
|
112 <property name="toolTip"> |
|
113 <string>Press to add site to the whitelist</string> |
|
114 </property> |
|
115 <property name="text"> |
|
116 <string>&Add...</string> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="1" column="1"> |
|
121 <widget class="Line" name="line"> |
|
122 <property name="orientation"> |
|
123 <enum>Qt::Horizontal</enum> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item row="2" column="1"> |
|
128 <widget class="QPushButton" name="removeButton"> |
|
129 <property name="toolTip"> |
|
130 <string>Press to remove the selected entries</string> |
|
131 </property> |
|
132 <property name="text"> |
|
133 <string>&Remove</string> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 <item row="3" column="1"> |
|
138 <widget class="QPushButton" name="removeAllButton"> |
|
139 <property name="toolTip"> |
|
140 <string>Press to remove all entries</string> |
|
141 </property> |
|
142 <property name="text"> |
|
143 <string>R&emove All</string> |
|
144 </property> |
|
145 </widget> |
|
146 </item> |
|
147 <item row="0" column="0" rowspan="5"> |
|
148 <widget class="E5ListView" name="whitelist"> |
|
149 <property name="alternatingRowColors"> |
|
150 <bool>true</bool> |
|
151 </property> |
|
152 </widget> |
|
153 </item> |
|
154 </layout> |
|
155 </item> |
|
156 <item> |
|
157 <widget class="QDialogButtonBox" name="buttonBox"> |
|
158 <property name="orientation"> |
|
159 <enum>Qt::Horizontal</enum> |
|
160 </property> |
|
161 <property name="standardButtons"> |
|
162 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
163 </property> |
|
164 </widget> |
|
165 </item> |
|
166 </layout> |
|
167 </widget> |
|
168 <customwidgets> |
|
169 <customwidget> |
|
170 <class>E5ListView</class> |
|
171 <extends>QListView</extends> |
|
172 <header>E5Gui/E5ListView.h</header> |
|
173 </customwidget> |
|
174 </customwidgets> |
|
175 <tabstops> |
|
176 <tabstop>searchEdit</tabstop> |
|
177 <tabstop>clearButton</tabstop> |
|
178 <tabstop>whitelist</tabstop> |
|
179 <tabstop>addButton</tabstop> |
|
180 <tabstop>removeButton</tabstop> |
|
181 <tabstop>removeAllButton</tabstop> |
|
182 <tabstop>buttonBox</tabstop> |
|
183 </tabstops> |
|
184 <resources/> |
|
185 <connections> |
|
186 <connection> |
|
187 <sender>buttonBox</sender> |
|
188 <signal>accepted()</signal> |
|
189 <receiver>ClickToFlashWhitelistDialog</receiver> |
|
190 <slot>accept()</slot> |
|
191 <hints> |
|
192 <hint type="sourcelabel"> |
|
193 <x>227</x> |
|
194 <y>329</y> |
|
195 </hint> |
|
196 <hint type="destinationlabel"> |
|
197 <x>157</x> |
|
198 <y>274</y> |
|
199 </hint> |
|
200 </hints> |
|
201 </connection> |
|
202 <connection> |
|
203 <sender>buttonBox</sender> |
|
204 <signal>rejected()</signal> |
|
205 <receiver>ClickToFlashWhitelistDialog</receiver> |
|
206 <slot>reject()</slot> |
|
207 <hints> |
|
208 <hint type="sourcelabel"> |
|
209 <x>295</x> |
|
210 <y>335</y> |
|
211 </hint> |
|
212 <hint type="destinationlabel"> |
|
213 <x>286</x> |
|
214 <y>274</y> |
|
215 </hint> |
|
216 </hints> |
|
217 </connection> |
|
218 <connection> |
|
219 <sender>clearButton</sender> |
|
220 <signal>clicked()</signal> |
|
221 <receiver>searchEdit</receiver> |
|
222 <slot>clear()</slot> |
|
223 <hints> |
|
224 <hint type="sourcelabel"> |
|
225 <x>478</x> |
|
226 <y>24</y> |
|
227 </hint> |
|
228 <hint type="destinationlabel"> |
|
229 <x>437</x> |
|
230 <y>22</y> |
|
231 </hint> |
|
232 </hints> |
|
233 </connection> |
|
234 </connections> |
|
235 </ui> |