|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>AdBlockExceptionsDialog</class> |
|
4 <widget class="QDialog" name="AdBlockExceptionsDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>550</width> |
|
10 <height>450</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>AdBlock Exceptions</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"> |
|
22 <item row="0" column="0" rowspan="2"> |
|
23 <widget class="QLabel" name="iconLabel"> |
|
24 <property name="minimumSize"> |
|
25 <size> |
|
26 <width>48</width> |
|
27 <height>48</height> |
|
28 </size> |
|
29 </property> |
|
30 <property name="text"> |
|
31 <string notr="true">Icon</string> |
|
32 </property> |
|
33 </widget> |
|
34 </item> |
|
35 <item row="0" column="1"> |
|
36 <spacer name="horizontalSpacer"> |
|
37 <property name="orientation"> |
|
38 <enum>Qt::Horizontal</enum> |
|
39 </property> |
|
40 <property name="sizeHint" stdset="0"> |
|
41 <size> |
|
42 <width>188</width> |
|
43 <height>20</height> |
|
44 </size> |
|
45 </property> |
|
46 </spacer> |
|
47 </item> |
|
48 <item row="1" column="1"> |
|
49 <widget class="QLineEdit" name="hostEdit"> |
|
50 <property name="toolTip"> |
|
51 <string>Enter a host to block AdBlock for</string> |
|
52 </property> |
|
53 <property name="placeholderText"> |
|
54 <string>Enter host to be added...</string> |
|
55 </property> |
|
56 <property name="clearButtonEnabled"> |
|
57 <bool>true</bool> |
|
58 </property> |
|
59 </widget> |
|
60 </item> |
|
61 <item row="1" column="2"> |
|
62 <widget class="QPushButton" name="addButton"> |
|
63 <property name="enabled"> |
|
64 <bool>false</bool> |
|
65 </property> |
|
66 <property name="toolTip"> |
|
67 <string>Press to add the host</string> |
|
68 </property> |
|
69 <property name="text"> |
|
70 <string>&Add</string> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 <item row="2" column="0" rowspan="2" colspan="2"> |
|
75 <widget class="QListWidget" name="hostList"> |
|
76 <property name="alternatingRowColors"> |
|
77 <bool>true</bool> |
|
78 </property> |
|
79 <property name="sortingEnabled"> |
|
80 <bool>true</bool> |
|
81 </property> |
|
82 </widget> |
|
83 </item> |
|
84 <item row="2" column="2"> |
|
85 <widget class="QPushButton" name="deleteButton"> |
|
86 <property name="enabled"> |
|
87 <bool>false</bool> |
|
88 </property> |
|
89 <property name="toolTip"> |
|
90 <string>Press to delete the selected hosts</string> |
|
91 </property> |
|
92 <property name="text"> |
|
93 <string>&Delete</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item row="3" column="2"> |
|
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>148</height> |
|
106 </size> |
|
107 </property> |
|
108 </spacer> |
|
109 </item> |
|
110 </layout> |
|
111 </item> |
|
112 <item> |
|
113 <widget class="QDialogButtonBox" name="buttonBox"> |
|
114 <property name="orientation"> |
|
115 <enum>Qt::Horizontal</enum> |
|
116 </property> |
|
117 <property name="standardButtons"> |
|
118 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 </layout> |
|
123 </widget> |
|
124 <tabstops> |
|
125 <tabstop>hostEdit</tabstop> |
|
126 <tabstop>addButton</tabstop> |
|
127 <tabstop>hostList</tabstop> |
|
128 <tabstop>deleteButton</tabstop> |
|
129 <tabstop>buttonBox</tabstop> |
|
130 </tabstops> |
|
131 <resources/> |
|
132 <connections> |
|
133 <connection> |
|
134 <sender>buttonBox</sender> |
|
135 <signal>accepted()</signal> |
|
136 <receiver>AdBlockExceptionsDialog</receiver> |
|
137 <slot>accept()</slot> |
|
138 <hints> |
|
139 <hint type="sourcelabel"> |
|
140 <x>248</x> |
|
141 <y>254</y> |
|
142 </hint> |
|
143 <hint type="destinationlabel"> |
|
144 <x>157</x> |
|
145 <y>274</y> |
|
146 </hint> |
|
147 </hints> |
|
148 </connection> |
|
149 <connection> |
|
150 <sender>buttonBox</sender> |
|
151 <signal>rejected()</signal> |
|
152 <receiver>AdBlockExceptionsDialog</receiver> |
|
153 <slot>reject()</slot> |
|
154 <hints> |
|
155 <hint type="sourcelabel"> |
|
156 <x>316</x> |
|
157 <y>260</y> |
|
158 </hint> |
|
159 <hint type="destinationlabel"> |
|
160 <x>286</x> |
|
161 <y>274</y> |
|
162 </hint> |
|
163 </hints> |
|
164 </connection> |
|
165 </connections> |
|
166 </ui> |