diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-05 19:47:49 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-05 19:47:49 +0000 |
commit | 47181b8b9b0e3e914243a463ad02a2eceab61c6e (patch) | |
tree | 11a75ac5d5d1a4e72a60284c7a4a1b74893568db /utils/themeeditor/editorwindow.ui | |
parent | 45ab395c2fb42445382a377314bd63ae216f40c4 (diff) | |
download | rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.tar.gz rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.zip |
Theme Editor: Got save/save-as functionality working and added Tango icons to the toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26593 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/editorwindow.ui')
-rw-r--r-- | utils/themeeditor/editorwindow.ui | 89 |
1 files changed, 84 insertions, 5 deletions
diff --git a/utils/themeeditor/editorwindow.ui b/utils/themeeditor/editorwindow.ui index b990f6eabd..21152dad75 100644 --- a/utils/themeeditor/editorwindow.ui +++ b/utils/themeeditor/editorwindow.ui | |||
@@ -14,7 +14,7 @@ | |||
14 | <string>Rockbox Theme Editor</string> | 14 | <string>Rockbox Theme Editor</string> |
15 | </property> | 15 | </property> |
16 | <property name="windowIcon"> | 16 | <property name="windowIcon"> |
17 | <iconset> | 17 | <iconset resource="resources.qrc"> |
18 | <normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset> | 18 | <normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset> |
19 | </property> | 19 | </property> |
20 | <widget class="QWidget" name="centralwidget"> | 20 | <widget class="QWidget" name="centralwidget"> |
@@ -50,6 +50,11 @@ | |||
50 | <addaction name="actionNew_Document"/> | 50 | <addaction name="actionNew_Document"/> |
51 | <addaction name="actionOpen_Document"/> | 51 | <addaction name="actionOpen_Document"/> |
52 | <addaction name="separator"/> | 52 | <addaction name="separator"/> |
53 | <addaction name="actionClose_Document"/> | ||
54 | <addaction name="separator"/> | ||
55 | <addaction name="actionSave_Document"/> | ||
56 | <addaction name="actionSave_Document_As"/> | ||
57 | <addaction name="separator"/> | ||
53 | <addaction name="actionPreferences"/> | 58 | <addaction name="actionPreferences"/> |
54 | <addaction name="separator"/> | 59 | <addaction name="separator"/> |
55 | <addaction name="actionQuit"/> | 60 | <addaction name="actionQuit"/> |
@@ -91,6 +96,9 @@ | |||
91 | <attribute name="toolBarBreak"> | 96 | <attribute name="toolBarBreak"> |
92 | <bool>false</bool> | 97 | <bool>false</bool> |
93 | </attribute> | 98 | </attribute> |
99 | <addaction name="actionToolbarNew"/> | ||
100 | <addaction name="actionToolbarOpen"/> | ||
101 | <addaction name="actionToolbarSave"/> | ||
94 | </widget> | 102 | </widget> |
95 | <widget class="QDockWidget" name="fileDock"> | 103 | <widget class="QDockWidget" name="fileDock"> |
96 | <property name="windowTitle"> | 104 | <property name="windowTitle"> |
@@ -147,14 +155,14 @@ | |||
147 | <property name="text"> | 155 | <property name="text"> |
148 | <string>Parse &Tree Panel</string> | 156 | <string>Parse &Tree Panel</string> |
149 | </property> | 157 | </property> |
150 | <property name="shortcut"> | ||
151 | <string>Ctrl+D</string> | ||
152 | </property> | ||
153 | </action> | 158 | </action> |
154 | <action name="actionPreferences"> | 159 | <action name="actionPreferences"> |
155 | <property name="text"> | 160 | <property name="text"> |
156 | <string>&Preferences</string> | 161 | <string>&Preferences</string> |
157 | </property> | 162 | </property> |
163 | <property name="shortcut"> | ||
164 | <string>Ctrl+P</string> | ||
165 | </property> | ||
158 | </action> | 166 | </action> |
159 | <action name="actionFile_Panel"> | 167 | <action name="actionFile_Panel"> |
160 | <property name="checkable"> | 168 | <property name="checkable"> |
@@ -194,8 +202,79 @@ | |||
194 | <string>Ctrl+O</string> | 202 | <string>Ctrl+O</string> |
195 | </property> | 203 | </property> |
196 | </action> | 204 | </action> |
205 | <action name="actionSave_Document"> | ||
206 | <property name="enabled"> | ||
207 | <bool>false</bool> | ||
208 | </property> | ||
209 | <property name="text"> | ||
210 | <string>&Save Document</string> | ||
211 | </property> | ||
212 | <property name="shortcut"> | ||
213 | <string>Ctrl+S</string> | ||
214 | </property> | ||
215 | </action> | ||
216 | <action name="actionClose_Document"> | ||
217 | <property name="enabled"> | ||
218 | <bool>false</bool> | ||
219 | </property> | ||
220 | <property name="text"> | ||
221 | <string>&Close Document</string> | ||
222 | </property> | ||
223 | <property name="shortcut"> | ||
224 | <string>Ctrl+W</string> | ||
225 | </property> | ||
226 | </action> | ||
227 | <action name="actionSave_Document_As"> | ||
228 | <property name="enabled"> | ||
229 | <bool>false</bool> | ||
230 | </property> | ||
231 | <property name="text"> | ||
232 | <string>Save Document &As</string> | ||
233 | </property> | ||
234 | <property name="shortcut"> | ||
235 | <string>Ctrl+Shift+S</string> | ||
236 | </property> | ||
237 | </action> | ||
238 | <action name="actionToolbarNew"> | ||
239 | <property name="icon"> | ||
240 | <iconset resource="resources.qrc"> | ||
241 | <normaloff>:/resources/resources/document-new.png</normaloff>:/resources/resources/document-new.png</iconset> | ||
242 | </property> | ||
243 | <property name="text"> | ||
244 | <string>ToolbarNew</string> | ||
245 | </property> | ||
246 | <property name="toolTip"> | ||
247 | <string>New</string> | ||
248 | </property> | ||
249 | </action> | ||
250 | <action name="actionToolbarOpen"> | ||
251 | <property name="icon"> | ||
252 | <iconset resource="resources.qrc"> | ||
253 | <normaloff>:/resources/resources/document-open.png</normaloff>:/resources/resources/document-open.png</iconset> | ||
254 | </property> | ||
255 | <property name="text"> | ||
256 | <string>ToolbarOpen</string> | ||
257 | </property> | ||
258 | <property name="toolTip"> | ||
259 | <string>Open</string> | ||
260 | </property> | ||
261 | </action> | ||
262 | <action name="actionToolbarSave"> | ||
263 | <property name="icon"> | ||
264 | <iconset resource="resources.qrc"> | ||
265 | <normaloff>:/resources/resources/document-save.png</normaloff>:/resources/resources/document-save.png</iconset> | ||
266 | </property> | ||
267 | <property name="text"> | ||
268 | <string>ToolbarSave</string> | ||
269 | </property> | ||
270 | <property name="toolTip"> | ||
271 | <string>Save</string> | ||
272 | </property> | ||
273 | </action> | ||
197 | </widget> | 274 | </widget> |
198 | <resources/> | 275 | <resources> |
276 | <include location="resources.qrc"/> | ||
277 | </resources> | ||
199 | <connections> | 278 | <connections> |
200 | <connection> | 279 | <connection> |
201 | <sender>actionQuit</sender> | 280 | <sender>actionQuit</sender> |