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