|
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="E5ClearableLineEdit" 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 </layout> |
|
84 </item> |
|
85 <item> |
|
86 <layout class="QGridLayout" name="gridLayout"> |
|
87 <item row="4" column="1"> |
|
88 <spacer name="verticalSpacer"> |
|
89 <property name="orientation"> |
|
90 <enum>Qt::Vertical</enum> |
|
91 </property> |
|
92 <property name="sizeHint" stdset="0"> |
|
93 <size> |
|
94 <width>20</width> |
|
95 <height>40</height> |
|
96 </size> |
|
97 </property> |
|
98 </spacer> |
|
99 </item> |
|
100 <item row="0" column="1"> |
|
101 <widget class="QPushButton" name="addButton"> |
|
102 <property name="toolTip"> |
|
103 <string>Press to add site to the whitelist</string> |
|
104 </property> |
|
105 <property name="text"> |
|
106 <string>&Add...</string> |
|
107 </property> |
|
108 <property name="autoDefault"> |
|
109 <bool>false</bool> |
|
110 </property> |
|
111 </widget> |
|
112 </item> |
|
113 <item row="1" column="1"> |
|
114 <widget class="Line" name="line"> |
|
115 <property name="orientation"> |
|
116 <enum>Qt::Horizontal</enum> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="2" column="1"> |
|
121 <widget class="QPushButton" name="removeButton"> |
|
122 <property name="toolTip"> |
|
123 <string>Press to remove the selected entries</string> |
|
124 </property> |
|
125 <property name="text"> |
|
126 <string>&Remove</string> |
|
127 </property> |
|
128 <property name="autoDefault"> |
|
129 <bool>false</bool> |
|
130 </property> |
|
131 </widget> |
|
132 </item> |
|
133 <item row="3" column="1"> |
|
134 <widget class="QPushButton" name="removeAllButton"> |
|
135 <property name="toolTip"> |
|
136 <string>Press to remove all entries</string> |
|
137 </property> |
|
138 <property name="text"> |
|
139 <string>R&emove All</string> |
|
140 </property> |
|
141 <property name="autoDefault"> |
|
142 <bool>false</bool> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item row="0" column="0" rowspan="5"> |
|
147 <widget class="E5ListView" name="whitelist"> |
|
148 <property name="alternatingRowColors"> |
|
149 <bool>true</bool> |
|
150 </property> |
|
151 </widget> |
|
152 </item> |
|
153 </layout> |
|
154 </item> |
|
155 <item> |
|
156 <widget class="QDialogButtonBox" name="buttonBox"> |
|
157 <property name="orientation"> |
|
158 <enum>Qt::Horizontal</enum> |
|
159 </property> |
|
160 <property name="standardButtons"> |
|
161 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
162 </property> |
|
163 </widget> |
|
164 </item> |
|
165 </layout> |
|
166 </widget> |
|
167 <customwidgets> |
|
168 <customwidget> |
|
169 <class>E5ClearableLineEdit</class> |
|
170 <extends>QLineEdit</extends> |
|
171 <header>E5Gui/E5LineEdit.h</header> |
|
172 </customwidget> |
|
173 <customwidget> |
|
174 <class>E5ListView</class> |
|
175 <extends>QListView</extends> |
|
176 <header>E5Gui/E5ListView.h</header> |
|
177 </customwidget> |
|
178 </customwidgets> |
|
179 <tabstops> |
|
180 <tabstop>searchEdit</tabstop> |
|
181 <tabstop>whitelist</tabstop> |
|
182 <tabstop>addButton</tabstop> |
|
183 <tabstop>removeButton</tabstop> |
|
184 <tabstop>removeAllButton</tabstop> |
|
185 <tabstop>buttonBox</tabstop> |
|
186 </tabstops> |
|
187 <resources/> |
|
188 <connections> |
|
189 <connection> |
|
190 <sender>buttonBox</sender> |
|
191 <signal>accepted()</signal> |
|
192 <receiver>ClickToFlashWhitelistDialog</receiver> |
|
193 <slot>accept()</slot> |
|
194 <hints> |
|
195 <hint type="sourcelabel"> |
|
196 <x>227</x> |
|
197 <y>329</y> |
|
198 </hint> |
|
199 <hint type="destinationlabel"> |
|
200 <x>157</x> |
|
201 <y>274</y> |
|
202 </hint> |
|
203 </hints> |
|
204 </connection> |
|
205 <connection> |
|
206 <sender>buttonBox</sender> |
|
207 <signal>rejected()</signal> |
|
208 <receiver>ClickToFlashWhitelistDialog</receiver> |
|
209 <slot>reject()</slot> |
|
210 <hints> |
|
211 <hint type="sourcelabel"> |
|
212 <x>295</x> |
|
213 <y>335</y> |
|
214 </hint> |
|
215 <hint type="destinationlabel"> |
|
216 <x>286</x> |
|
217 <y>274</y> |
|
218 </hint> |
|
219 </hints> |
|
220 </connection> |
|
221 </connections> |
|
222 </ui> |