diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 03:25:40 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-07 03:25:40 +0000 |
commit | 53b619c6e80c9efc6993c23ff7b1035e8e101834 (patch) | |
tree | 7bca9e3845748332c0e6288b5704e9b004f41a22 /utils/themeeditor/preferencesdialog.ui | |
parent | fbfdaf5c79c664a6ec47b1c3a131577e77efbbd0 (diff) | |
download | rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.gz rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.zip |
Theme Editor: Added a preferences dialog and allowed modification of the syntax highlighting and editor colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/preferencesdialog.ui')
-rw-r--r-- | utils/themeeditor/preferencesdialog.ui | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/utils/themeeditor/preferencesdialog.ui b/utils/themeeditor/preferencesdialog.ui new file mode 100644 index 0000000000..017e69dd01 --- /dev/null +++ b/utils/themeeditor/preferencesdialog.ui | |||
@@ -0,0 +1,235 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ui version="4.0"> | ||
3 | <class>PreferencesDialog</class> | ||
4 | <widget class="QDialog" name="PreferencesDialog"> | ||
5 | <property name="geometry"> | ||
6 | <rect> | ||
7 | <x>0</x> | ||
8 | <y>0</y> | ||
9 | <width>370</width> | ||
10 | <height>370</height> | ||
11 | </rect> | ||
12 | </property> | ||
13 | <property name="windowTitle"> | ||
14 | <string>Dialog</string> | ||
15 | </property> | ||
16 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
17 | <item> | ||
18 | <widget class="QToolBox" name="prefsGroups"> | ||
19 | <property name="currentIndex"> | ||
20 | <number>0</number> | ||
21 | </property> | ||
22 | <widget class="QWidget" name="highlighting"> | ||
23 | <property name="geometry"> | ||
24 | <rect> | ||
25 | <x>0</x> | ||
26 | <y>0</y> | ||
27 | <width>352</width> | ||
28 | <height>288</height> | ||
29 | </rect> | ||
30 | </property> | ||
31 | <attribute name="label"> | ||
32 | <string>Editor Colors</string> | ||
33 | </attribute> | ||
34 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
35 | <item> | ||
36 | <layout class="QVBoxLayout" name="verticalLayout_3"> | ||
37 | <item> | ||
38 | <widget class="QLabel" name="label_2"> | ||
39 | <property name="text"> | ||
40 | <string>Foreground</string> | ||
41 | </property> | ||
42 | <property name="alignment"> | ||
43 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
44 | </property> | ||
45 | <property name="buddy"> | ||
46 | <cstring>fgButton</cstring> | ||
47 | </property> | ||
48 | </widget> | ||
49 | </item> | ||
50 | <item> | ||
51 | <widget class="QLabel" name="label_3"> | ||
52 | <property name="text"> | ||
53 | <string>Background</string> | ||
54 | </property> | ||
55 | <property name="alignment"> | ||
56 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
57 | </property> | ||
58 | <property name="buddy"> | ||
59 | <cstring>bgButton</cstring> | ||
60 | </property> | ||
61 | </widget> | ||
62 | </item> | ||
63 | <item> | ||
64 | <widget class="QLabel" name="label_4"> | ||
65 | <property name="text"> | ||
66 | <string>Comment</string> | ||
67 | </property> | ||
68 | <property name="alignment"> | ||
69 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
70 | </property> | ||
71 | <property name="buddy"> | ||
72 | <cstring>commentButton</cstring> | ||
73 | </property> | ||
74 | </widget> | ||
75 | </item> | ||
76 | <item> | ||
77 | <widget class="QLabel" name="label_5"> | ||
78 | <property name="text"> | ||
79 | <string>Escaped Character</string> | ||
80 | </property> | ||
81 | <property name="alignment"> | ||
82 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
83 | </property> | ||
84 | <property name="buddy"> | ||
85 | <cstring>escapedButton</cstring> | ||
86 | </property> | ||
87 | </widget> | ||
88 | </item> | ||
89 | <item> | ||
90 | <widget class="QLabel" name="label_6"> | ||
91 | <property name="text"> | ||
92 | <string>Conditional</string> | ||
93 | </property> | ||
94 | <property name="alignment"> | ||
95 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
96 | </property> | ||
97 | <property name="buddy"> | ||
98 | <cstring>conditionalButton</cstring> | ||
99 | </property> | ||
100 | </widget> | ||
101 | </item> | ||
102 | <item> | ||
103 | <widget class="QLabel" name="label"> | ||
104 | <property name="text"> | ||
105 | <string>Tag</string> | ||
106 | </property> | ||
107 | <property name="alignment"> | ||
108 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
109 | </property> | ||
110 | <property name="buddy"> | ||
111 | <cstring>tagButton</cstring> | ||
112 | </property> | ||
113 | </widget> | ||
114 | </item> | ||
115 | </layout> | ||
116 | </item> | ||
117 | <item> | ||
118 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||
119 | <item> | ||
120 | <widget class="QPushButton" name="fgButton"> | ||
121 | <property name="autoFillBackground"> | ||
122 | <bool>false</bool> | ||
123 | </property> | ||
124 | <property name="text"> | ||
125 | <string>Click To Change</string> | ||
126 | </property> | ||
127 | </widget> | ||
128 | </item> | ||
129 | <item> | ||
130 | <widget class="QPushButton" name="bgButton"> | ||
131 | <property name="autoFillBackground"> | ||
132 | <bool>false</bool> | ||
133 | </property> | ||
134 | <property name="text"> | ||
135 | <string>Click To Change</string> | ||
136 | </property> | ||
137 | </widget> | ||
138 | </item> | ||
139 | <item> | ||
140 | <widget class="QPushButton" name="commentButton"> | ||
141 | <property name="autoFillBackground"> | ||
142 | <bool>false</bool> | ||
143 | </property> | ||
144 | <property name="text"> | ||
145 | <string>Click To Change</string> | ||
146 | </property> | ||
147 | <property name="flat"> | ||
148 | <bool>false</bool> | ||
149 | </property> | ||
150 | </widget> | ||
151 | </item> | ||
152 | <item> | ||
153 | <widget class="QPushButton" name="escapedButton"> | ||
154 | <property name="autoFillBackground"> | ||
155 | <bool>false</bool> | ||
156 | </property> | ||
157 | <property name="text"> | ||
158 | <string>Click To Change</string> | ||
159 | </property> | ||
160 | </widget> | ||
161 | </item> | ||
162 | <item> | ||
163 | <widget class="QPushButton" name="conditionalButton"> | ||
164 | <property name="autoFillBackground"> | ||
165 | <bool>false</bool> | ||
166 | </property> | ||
167 | <property name="text"> | ||
168 | <string>Click To Change</string> | ||
169 | </property> | ||
170 | </widget> | ||
171 | </item> | ||
172 | <item> | ||
173 | <widget class="QPushButton" name="tagButton"> | ||
174 | <property name="autoFillBackground"> | ||
175 | <bool>false</bool> | ||
176 | </property> | ||
177 | <property name="text"> | ||
178 | <string>Click To Change</string> | ||
179 | </property> | ||
180 | </widget> | ||
181 | </item> | ||
182 | </layout> | ||
183 | </item> | ||
184 | </layout> | ||
185 | </widget> | ||
186 | </widget> | ||
187 | </item> | ||
188 | <item> | ||
189 | <widget class="QDialogButtonBox" name="buttonBox"> | ||
190 | <property name="orientation"> | ||
191 | <enum>Qt::Horizontal</enum> | ||
192 | </property> | ||
193 | <property name="standardButtons"> | ||
194 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||
195 | </property> | ||
196 | </widget> | ||
197 | </item> | ||
198 | </layout> | ||
199 | </widget> | ||
200 | <resources/> | ||
201 | <connections> | ||
202 | <connection> | ||
203 | <sender>buttonBox</sender> | ||
204 | <signal>accepted()</signal> | ||
205 | <receiver>PreferencesDialog</receiver> | ||
206 | <slot>accept()</slot> | ||
207 | <hints> | ||
208 | <hint type="sourcelabel"> | ||
209 | <x>248</x> | ||
210 | <y>254</y> | ||
211 | </hint> | ||
212 | <hint type="destinationlabel"> | ||
213 | <x>157</x> | ||
214 | <y>274</y> | ||
215 | </hint> | ||
216 | </hints> | ||
217 | </connection> | ||
218 | <connection> | ||
219 | <sender>buttonBox</sender> | ||
220 | <signal>rejected()</signal> | ||
221 | <receiver>PreferencesDialog</receiver> | ||
222 | <slot>reject()</slot> | ||
223 | <hints> | ||
224 | <hint type="sourcelabel"> | ||
225 | <x>316</x> | ||
226 | <y>260</y> | ||
227 | </hint> | ||
228 | <hint type="destinationlabel"> | ||
229 | <x>286</x> | ||
230 | <y>274</y> | ||
231 | </hint> | ||
232 | </hints> | ||
233 | </connection> | ||
234 | </connections> | ||
235 | </ui> | ||