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