|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>AdBlockDialog</class> |
|
4 <widget class="QDialog" name="AdBlockDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>650</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>AdBlock Configuration</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="adBlockGroup"> |
|
22 <property name="title"> |
|
23 <string>Enable AdBlock</string> |
|
24 </property> |
|
25 <property name="checkable"> |
|
26 <bool>true</bool> |
|
27 </property> |
|
28 <layout class="QVBoxLayout" name="verticalLayout"> |
|
29 <item> |
|
30 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
31 <item> |
|
32 <spacer name="horizontalSpacer"> |
|
33 <property name="orientation"> |
|
34 <enum>Qt::Horizontal</enum> |
|
35 </property> |
|
36 <property name="sizeHint" stdset="0"> |
|
37 <size> |
|
38 <width>40</width> |
|
39 <height>20</height> |
|
40 </size> |
|
41 </property> |
|
42 </spacer> |
|
43 </item> |
|
44 <item> |
|
45 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
46 <property name="spacing"> |
|
47 <number>0</number> |
|
48 </property> |
|
49 <item> |
|
50 <widget class="QLineEdit" name="searchEdit"> |
|
51 <property name="toolTip"> |
|
52 <string>Enter search term for subscriptions and rules</string> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 <item> |
|
57 <widget class="QToolButton" name="clearButton"> |
|
58 <property name="toolTip"> |
|
59 <string>Press to clear the search edit</string> |
|
60 </property> |
|
61 <property name="text"> |
|
62 <string/> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 </layout> |
|
67 </item> |
|
68 </layout> |
|
69 </item> |
|
70 <item> |
|
71 <widget class="E4TreeView" name="subscriptionsTree"> |
|
72 <property name="dragDropMode"> |
|
73 <enum>QAbstractItemView::InternalMove</enum> |
|
74 </property> |
|
75 <property name="alternatingRowColors"> |
|
76 <bool>true</bool> |
|
77 </property> |
|
78 <property name="selectionMode"> |
|
79 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
80 </property> |
|
81 <property name="textElideMode"> |
|
82 <enum>Qt::ElideMiddle</enum> |
|
83 </property> |
|
84 <property name="uniformRowHeights"> |
|
85 <bool>true</bool> |
|
86 </property> |
|
87 </widget> |
|
88 </item> |
|
89 <item> |
|
90 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
91 <item> |
|
92 <widget class="QToolButton" name="actionButton"> |
|
93 <property name="text"> |
|
94 <string>Actions</string> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item> |
|
99 <spacer name="horizontalSpacer_2"> |
|
100 <property name="orientation"> |
|
101 <enum>Qt::Horizontal</enum> |
|
102 </property> |
|
103 <property name="sizeHint" stdset="0"> |
|
104 <size> |
|
105 <width>40</width> |
|
106 <height>20</height> |
|
107 </size> |
|
108 </property> |
|
109 </spacer> |
|
110 </item> |
|
111 </layout> |
|
112 </item> |
|
113 </layout> |
|
114 </widget> |
|
115 </item> |
|
116 <item> |
|
117 <widget class="QDialogButtonBox" name="buttonBox"> |
|
118 <property name="orientation"> |
|
119 <enum>Qt::Horizontal</enum> |
|
120 </property> |
|
121 <property name="standardButtons"> |
|
122 <set>QDialogButtonBox::Close</set> |
|
123 </property> |
|
124 </widget> |
|
125 </item> |
|
126 </layout> |
|
127 </widget> |
|
128 <customwidgets> |
|
129 <customwidget> |
|
130 <class>E4TreeView</class> |
|
131 <extends>QTreeView</extends> |
|
132 <header>E4Gui/E4TreeView</header> |
|
133 </customwidget> |
|
134 </customwidgets> |
|
135 <tabstops> |
|
136 <tabstop>adBlockGroup</tabstop> |
|
137 <tabstop>searchEdit</tabstop> |
|
138 <tabstop>clearButton</tabstop> |
|
139 <tabstop>subscriptionsTree</tabstop> |
|
140 <tabstop>actionButton</tabstop> |
|
141 <tabstop>buttonBox</tabstop> |
|
142 </tabstops> |
|
143 <resources/> |
|
144 <connections> |
|
145 <connection> |
|
146 <sender>buttonBox</sender> |
|
147 <signal>accepted()</signal> |
|
148 <receiver>AdBlockDialog</receiver> |
|
149 <slot>accept()</slot> |
|
150 <hints> |
|
151 <hint type="sourcelabel"> |
|
152 <x>252</x> |
|
153 <y>445</y> |
|
154 </hint> |
|
155 <hint type="destinationlabel"> |
|
156 <x>157</x> |
|
157 <y>274</y> |
|
158 </hint> |
|
159 </hints> |
|
160 </connection> |
|
161 <connection> |
|
162 <sender>buttonBox</sender> |
|
163 <signal>rejected()</signal> |
|
164 <receiver>AdBlockDialog</receiver> |
|
165 <slot>reject()</slot> |
|
166 <hints> |
|
167 <hint type="sourcelabel"> |
|
168 <x>320</x> |
|
169 <y>445</y> |
|
170 </hint> |
|
171 <hint type="destinationlabel"> |
|
172 <x>286</x> |
|
173 <y>274</y> |
|
174 </hint> |
|
175 </hints> |
|
176 </connection> |
|
177 <connection> |
|
178 <sender>clearButton</sender> |
|
179 <signal>clicked()</signal> |
|
180 <receiver>searchEdit</receiver> |
|
181 <slot>clear()</slot> |
|
182 <hints> |
|
183 <hint type="sourcelabel"> |
|
184 <x>728</x> |
|
185 <y>21</y> |
|
186 </hint> |
|
187 <hint type="destinationlabel"> |
|
188 <x>706</x> |
|
189 <y>20</y> |
|
190 </hint> |
|
191 </hints> |
|
192 </connection> |
|
193 </connections> |
|
194 </ui> |