|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>OfflineStorageConfigDialog</class> |
|
4 <widget class="QDialog" name="OfflineStorageConfigDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>481</width> |
|
10 <height>393</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Offline Storage Settings</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QLabel" name="headerLabel"> |
|
22 <property name="text"> |
|
23 <string><b>Configure offline storage</b></string> |
|
24 </property> |
|
25 </widget> |
|
26 </item> |
|
27 <item> |
|
28 <widget class="Line" name="line17"> |
|
29 <property name="frameShape"> |
|
30 <enum>QFrame::HLine</enum> |
|
31 </property> |
|
32 <property name="frameShadow"> |
|
33 <enum>QFrame::Sunken</enum> |
|
34 </property> |
|
35 <property name="orientation"> |
|
36 <enum>Qt::Horizontal</enum> |
|
37 </property> |
|
38 </widget> |
|
39 </item> |
|
40 <item> |
|
41 <widget class="QGroupBox" name="databaseGroup"> |
|
42 <property name="toolTip"> |
|
43 <string/> |
|
44 </property> |
|
45 <property name="title"> |
|
46 <string>Web SQL Databases</string> |
|
47 </property> |
|
48 <layout class="QGridLayout" name="gridLayout"> |
|
49 <item row="0" column="0" colspan="3"> |
|
50 <widget class="QCheckBox" name="databaseEnabledCheckBox"> |
|
51 <property name="toolTip"> |
|
52 <string>Select to enable Web SQL Databases</string> |
|
53 </property> |
|
54 <property name="text"> |
|
55 <string>Enable Web SQL Databases</string> |
|
56 </property> |
|
57 </widget> |
|
58 </item> |
|
59 <item row="1" column="0"> |
|
60 <widget class="QLabel" name="label"> |
|
61 <property name="text"> |
|
62 <string>Default Quota:</string> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 <item row="1" column="1"> |
|
67 <widget class="QSpinBox" name="databaseQuotaSpinBox"> |
|
68 <property name="toolTip"> |
|
69 <string>Enter the default quota for Web SQL Databases</string> |
|
70 </property> |
|
71 <property name="alignment"> |
|
72 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
73 </property> |
|
74 <property name="suffix"> |
|
75 <string> MB</string> |
|
76 </property> |
|
77 <property name="minimum"> |
|
78 <number>10</number> |
|
79 </property> |
|
80 <property name="maximum"> |
|
81 <number>999</number> |
|
82 </property> |
|
83 </widget> |
|
84 </item> |
|
85 <item row="1" column="2"> |
|
86 <spacer name="horizontalSpacer"> |
|
87 <property name="orientation"> |
|
88 <enum>Qt::Horizontal</enum> |
|
89 </property> |
|
90 <property name="sizeHint" stdset="0"> |
|
91 <size> |
|
92 <width>282</width> |
|
93 <height>20</height> |
|
94 </size> |
|
95 </property> |
|
96 </spacer> |
|
97 </item> |
|
98 </layout> |
|
99 </widget> |
|
100 </item> |
|
101 <item> |
|
102 <spacer name="verticalSpacer"> |
|
103 <property name="orientation"> |
|
104 <enum>Qt::Vertical</enum> |
|
105 </property> |
|
106 <property name="sizeHint" stdset="0"> |
|
107 <size> |
|
108 <width>20</width> |
|
109 <height>204</height> |
|
110 </size> |
|
111 </property> |
|
112 </spacer> |
|
113 </item> |
|
114 <item> |
|
115 <widget class="QDialogButtonBox" name="buttonBox"> |
|
116 <property name="orientation"> |
|
117 <enum>Qt::Horizontal</enum> |
|
118 </property> |
|
119 <property name="standardButtons"> |
|
120 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 </layout> |
|
125 </widget> |
|
126 <tabstops> |
|
127 <tabstop>databaseEnabledCheckBox</tabstop> |
|
128 <tabstop>databaseQuotaSpinBox</tabstop> |
|
129 <tabstop>buttonBox</tabstop> |
|
130 </tabstops> |
|
131 <resources/> |
|
132 <connections> |
|
133 <connection> |
|
134 <sender>buttonBox</sender> |
|
135 <signal>accepted()</signal> |
|
136 <receiver>OfflineStorageConfigDialog</receiver> |
|
137 <slot>accept()</slot> |
|
138 <hints> |
|
139 <hint type="sourcelabel"> |
|
140 <x>278</x> |
|
141 <y>364</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>OfflineStorageConfigDialog</receiver> |
|
153 <slot>reject()</slot> |
|
154 <hints> |
|
155 <hint type="sourcelabel"> |
|
156 <x>346</x> |
|
157 <y>370</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> |