|
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="E5LineEdit" name="hostEdit"> |
|
50 <property name="toolTip"> |
|
51 <string>Enter a host to block AdBlock for</string> |
|
52 </property> |
|
53 </widget> |
|
54 </item> |
|
55 <item row="1" column="2"> |
|
56 <widget class="QPushButton" name="addButton"> |
|
57 <property name="enabled"> |
|
58 <bool>false</bool> |
|
59 </property> |
|
60 <property name="toolTip"> |
|
61 <string>Press to add the host</string> |
|
62 </property> |
|
63 <property name="text"> |
|
64 <string>&Add</string> |
|
65 </property> |
|
66 </widget> |
|
67 </item> |
|
68 <item row="2" column="0" rowspan="2" colspan="2"> |
|
69 <widget class="QListWidget" name="hostList"> |
|
70 <property name="alternatingRowColors"> |
|
71 <bool>true</bool> |
|
72 </property> |
|
73 <property name="sortingEnabled"> |
|
74 <bool>true</bool> |
|
75 </property> |
|
76 </widget> |
|
77 </item> |
|
78 <item row="2" column="2"> |
|
79 <widget class="QPushButton" name="deleteButton"> |
|
80 <property name="enabled"> |
|
81 <bool>false</bool> |
|
82 </property> |
|
83 <property name="toolTip"> |
|
84 <string>Press to delete the selected hosts</string> |
|
85 </property> |
|
86 <property name="text"> |
|
87 <string>&Delete</string> |
|
88 </property> |
|
89 </widget> |
|
90 </item> |
|
91 <item row="3" column="2"> |
|
92 <spacer name="verticalSpacer"> |
|
93 <property name="orientation"> |
|
94 <enum>Qt::Vertical</enum> |
|
95 </property> |
|
96 <property name="sizeHint" stdset="0"> |
|
97 <size> |
|
98 <width>20</width> |
|
99 <height>148</height> |
|
100 </size> |
|
101 </property> |
|
102 </spacer> |
|
103 </item> |
|
104 </layout> |
|
105 </item> |
|
106 <item> |
|
107 <widget class="QDialogButtonBox" name="buttonBox"> |
|
108 <property name="orientation"> |
|
109 <enum>Qt::Horizontal</enum> |
|
110 </property> |
|
111 <property name="standardButtons"> |
|
112 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
113 </property> |
|
114 </widget> |
|
115 </item> |
|
116 </layout> |
|
117 </widget> |
|
118 <customwidgets> |
|
119 <customwidget> |
|
120 <class>E5LineEdit</class> |
|
121 <extends>QLineEdit</extends> |
|
122 <header>E5Gui/E5LineEdit.h</header> |
|
123 </customwidget> |
|
124 </customwidgets> |
|
125 <tabstops> |
|
126 <tabstop>hostEdit</tabstop> |
|
127 <tabstop>addButton</tabstop> |
|
128 <tabstop>hostList</tabstop> |
|
129 <tabstop>deleteButton</tabstop> |
|
130 <tabstop>buttonBox</tabstop> |
|
131 </tabstops> |
|
132 <resources/> |
|
133 <connections> |
|
134 <connection> |
|
135 <sender>buttonBox</sender> |
|
136 <signal>accepted()</signal> |
|
137 <receiver>AdBlockExceptionsDialog</receiver> |
|
138 <slot>accept()</slot> |
|
139 <hints> |
|
140 <hint type="sourcelabel"> |
|
141 <x>248</x> |
|
142 <y>254</y> |
|
143 </hint> |
|
144 <hint type="destinationlabel"> |
|
145 <x>157</x> |
|
146 <y>274</y> |
|
147 </hint> |
|
148 </hints> |
|
149 </connection> |
|
150 <connection> |
|
151 <sender>buttonBox</sender> |
|
152 <signal>rejected()</signal> |
|
153 <receiver>AdBlockExceptionsDialog</receiver> |
|
154 <slot>reject()</slot> |
|
155 <hints> |
|
156 <hint type="sourcelabel"> |
|
157 <x>316</x> |
|
158 <y>260</y> |
|
159 </hint> |
|
160 <hint type="destinationlabel"> |
|
161 <x>286</x> |
|
162 <y>274</y> |
|
163 </hint> |
|
164 </hints> |
|
165 </connection> |
|
166 </connections> |
|
167 </ui> |