WebBrowser/AdBlock/AdBlockDialog.ui

branch
QtWebEngine
changeset 4858
19dff9c9cf26
parent 2223
054c285dab38
child 4859
36c4b21c9f7b
equal deleted inserted replaced
4857:8dba5fb92f12 4858:19dff9c9cf26
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="QGridLayout" name="gridLayout">
31 <property name="horizontalSpacing">
32 <number>20</number>
33 </property>
34 <item row="0" column="0" rowspan="2">
35 <widget class="QLabel" name="iconLabel">
36 <property name="minimumSize">
37 <size>
38 <width>48</width>
39 <height>48</height>
40 </size>
41 </property>
42 <property name="text">
43 <string notr="true">Icon</string>
44 </property>
45 </widget>
46 </item>
47 <item row="0" column="1">
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 <item row="1" column="1">
61 <widget class="E5ClearableLineEdit" name="searchEdit">
62 <property name="toolTip">
63 <string>Enter search term for subscriptions and rules</string>
64 </property>
65 </widget>
66 </item>
67 </layout>
68 </item>
69 <item>
70 <widget class="QTabWidget" name="subscriptionsTabWidget">
71 <property name="documentMode">
72 <bool>true</bool>
73 </property>
74 </widget>
75 </item>
76 <item>
77 <layout class="QHBoxLayout" name="horizontalLayout">
78 <item>
79 <widget class="QToolButton" name="actionButton">
80 <property name="text">
81 <string>Actions</string>
82 </property>
83 </widget>
84 </item>
85 <item>
86 <spacer name="horizontalSpacer_2">
87 <property name="orientation">
88 <enum>Qt::Horizontal</enum>
89 </property>
90 <property name="sizeHint" stdset="0">
91 <size>
92 <width>40</width>
93 <height>20</height>
94 </size>
95 </property>
96 </spacer>
97 </item>
98 <item>
99 <widget class="QLabel" name="label">
100 <property name="text">
101 <string>Default Update Period (days):</string>
102 </property>
103 </widget>
104 </item>
105 <item>
106 <widget class="QSpinBox" name="updateSpinBox">
107 <property name="toolTip">
108 <string>Enter the update period (1 to 14 days)</string>
109 </property>
110 <property name="alignment">
111 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
112 </property>
113 <property name="suffix">
114 <string/>
115 </property>
116 <property name="minimum">
117 <number>1</number>
118 </property>
119 <property name="maximum">
120 <number>14</number>
121 </property>
122 <property name="value">
123 <number>7</number>
124 </property>
125 </widget>
126 </item>
127 </layout>
128 </item>
129 </layout>
130 </widget>
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::Close</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 </customwidgets>
151 <tabstops>
152 <tabstop>adBlockGroup</tabstop>
153 <tabstop>searchEdit</tabstop>
154 <tabstop>subscriptionsTabWidget</tabstop>
155 <tabstop>actionButton</tabstop>
156 <tabstop>updateSpinBox</tabstop>
157 <tabstop>buttonBox</tabstop>
158 </tabstops>
159 <resources/>
160 <connections>
161 <connection>
162 <sender>buttonBox</sender>
163 <signal>accepted()</signal>
164 <receiver>AdBlockDialog</receiver>
165 <slot>accept()</slot>
166 <hints>
167 <hint type="sourcelabel">
168 <x>252</x>
169 <y>445</y>
170 </hint>
171 <hint type="destinationlabel">
172 <x>157</x>
173 <y>274</y>
174 </hint>
175 </hints>
176 </connection>
177 <connection>
178 <sender>buttonBox</sender>
179 <signal>rejected()</signal>
180 <receiver>AdBlockDialog</receiver>
181 <slot>reject()</slot>
182 <hints>
183 <hint type="sourcelabel">
184 <x>320</x>
185 <y>445</y>
186 </hint>
187 <hint type="destinationlabel">
188 <x>286</x>
189 <y>274</y>
190 </hint>
191 </hints>
192 </connection>
193 </connections>
194 </ui>

eric ide

mercurial