|
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="E5ClearableLineEdit" 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="0"> |
|
45 <spacer name="horizontalSpacer"> |
|
46 <property name="orientation"> |
|
47 <enum>Qt::Horizontal</enum> |
|
48 </property> |
|
49 <property name="sizeHint" stdset="0"> |
|
50 <size> |
|
51 <width>40</width> |
|
52 <height>20</height> |
|
53 </size> |
|
54 </property> |
|
55 </spacer> |
|
56 </item> |
|
57 </layout> |
|
58 </item> |
|
59 <item> |
|
60 <layout class="QGridLayout" name="gridLayout"> |
|
61 <item row="4" column="1"> |
|
62 <spacer name="verticalSpacer"> |
|
63 <property name="orientation"> |
|
64 <enum>Qt::Vertical</enum> |
|
65 </property> |
|
66 <property name="sizeHint" stdset="0"> |
|
67 <size> |
|
68 <width>20</width> |
|
69 <height>40</height> |
|
70 </size> |
|
71 </property> |
|
72 </spacer> |
|
73 </item> |
|
74 <item row="0" column="1"> |
|
75 <widget class="QPushButton" name="addButton"> |
|
76 <property name="toolTip"> |
|
77 <string>Press to add site to the whitelist</string> |
|
78 </property> |
|
79 <property name="text"> |
|
80 <string>&Add...</string> |
|
81 </property> |
|
82 <property name="autoDefault"> |
|
83 <bool>false</bool> |
|
84 </property> |
|
85 </widget> |
|
86 </item> |
|
87 <item row="1" column="1"> |
|
88 <widget class="Line" name="line"> |
|
89 <property name="orientation"> |
|
90 <enum>Qt::Horizontal</enum> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="2" column="1"> |
|
95 <widget class="QPushButton" name="removeButton"> |
|
96 <property name="toolTip"> |
|
97 <string>Press to remove the selected entries</string> |
|
98 </property> |
|
99 <property name="text"> |
|
100 <string>&Remove</string> |
|
101 </property> |
|
102 <property name="autoDefault"> |
|
103 <bool>false</bool> |
|
104 </property> |
|
105 </widget> |
|
106 </item> |
|
107 <item row="3" column="1"> |
|
108 <widget class="QPushButton" name="removeAllButton"> |
|
109 <property name="toolTip"> |
|
110 <string>Press to remove all entries</string> |
|
111 </property> |
|
112 <property name="text"> |
|
113 <string>R&emove All</string> |
|
114 </property> |
|
115 <property name="autoDefault"> |
|
116 <bool>false</bool> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="0" column="0" rowspan="5"> |
|
121 <widget class="E5ListView" name="whitelist"> |
|
122 <property name="alternatingRowColors"> |
|
123 <bool>true</bool> |
|
124 </property> |
|
125 <property name="selectionMode"> |
|
126 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 </layout> |
|
131 </item> |
|
132 <item> |
|
133 <widget class="QDialogButtonBox" name="buttonBox"> |
|
134 <property name="orientation"> |
|
135 <enum>Qt::Horizontal</enum> |
|
136 </property> |
|
137 <property name="standardButtons"> |
|
138 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
139 </property> |
|
140 </widget> |
|
141 </item> |
|
142 </layout> |
|
143 </widget> |
|
144 <customwidgets> |
|
145 <customwidget> |
|
146 <class>E5ClearableLineEdit</class> |
|
147 <extends>QLineEdit</extends> |
|
148 <header>E5Gui/E5LineEdit.h</header> |
|
149 </customwidget> |
|
150 <customwidget> |
|
151 <class>E5ListView</class> |
|
152 <extends>QListView</extends> |
|
153 <header>E5Gui/E5ListView.h</header> |
|
154 </customwidget> |
|
155 </customwidgets> |
|
156 <tabstops> |
|
157 <tabstop>searchEdit</tabstop> |
|
158 <tabstop>whitelist</tabstop> |
|
159 <tabstop>addButton</tabstop> |
|
160 <tabstop>removeButton</tabstop> |
|
161 <tabstop>removeAllButton</tabstop> |
|
162 <tabstop>buttonBox</tabstop> |
|
163 </tabstops> |
|
164 <resources/> |
|
165 <connections> |
|
166 <connection> |
|
167 <sender>buttonBox</sender> |
|
168 <signal>accepted()</signal> |
|
169 <receiver>SendRefererWhitelistDialog</receiver> |
|
170 <slot>accept()</slot> |
|
171 <hints> |
|
172 <hint type="sourcelabel"> |
|
173 <x>227</x> |
|
174 <y>329</y> |
|
175 </hint> |
|
176 <hint type="destinationlabel"> |
|
177 <x>157</x> |
|
178 <y>274</y> |
|
179 </hint> |
|
180 </hints> |
|
181 </connection> |
|
182 <connection> |
|
183 <sender>buttonBox</sender> |
|
184 <signal>rejected()</signal> |
|
185 <receiver>SendRefererWhitelistDialog</receiver> |
|
186 <slot>reject()</slot> |
|
187 <hints> |
|
188 <hint type="sourcelabel"> |
|
189 <x>295</x> |
|
190 <y>335</y> |
|
191 </hint> |
|
192 <hint type="destinationlabel"> |
|
193 <x>286</x> |
|
194 <y>274</y> |
|
195 </hint> |
|
196 </hints> |
|
197 </connection> |
|
198 </connections> |
|
199 </ui> |