Commit graph

71 commits

Author SHA1 Message Date
Dominik Riebeling
fa330c109d themeeditor: Make it compile with current Qt5.
- Replace use of obsolete members with their replacements.
- Fix type issue that requires explicitly creating the right object now.
- Update project file to work with Qt5.

Change-Id: I3af2b1520796e977e58c0a01e165c77c469a23b9
2020-09-03 18:45:48 +02:00
Dominik Riebeling
ff38666a19 themeeditor: Fix download URL for targetdb.
We're not using svn anymore since long.

Change-Id: I408b1c59dfaafe1e403b0fa49b912862b68c72f8
2020-09-03 18:45:48 +02:00
Dominik Riebeling
3ff7dc75a1 themeeditor: Fix menu Quit entry not working.
Change-Id: Ib527b4b4a7b450dee713dea93eaf93d85c0d4bfd
2020-09-03 18:45:48 +02:00
Teruaki Kawashima
24b0b38315 Fix themeeditor building by correcting spelling of 'seperate'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28528 a1c6a512-1295-4272-9138-f99709370657
2010-11-07 12:29:19 +00:00
Robert Bieber
18a6f42f26 Theme Editor: Editor font/color settings are now applied to config documents
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27818 a1c6a512-1295-4272-9138-f99709370657
2010-08-15 01:50:27 +00:00
Robert Bieber
5602342613 Theme Editor: Added a warning console to the renderer, but haven't made any rendering classes use it yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27775 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 05:30:31 +00:00
Robert Bieber
df1ff115f5 Theme Editor: Added coordinate display when moving mouse around preview window
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27738 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 20:53:50 +00:00
Robert Bieber
054a85fdca Theme Editor: Added code generate/undo functionality to SkinViewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27704 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 00:43:33 +00:00
Robert Bieber
c216100f84 Theme Editor: Overhauled main window toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27697 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:56:00 +00:00
Robert Bieber
49865b23f6 Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 09:16:52 +00:00
Robert Bieber
a83adc7d6d Theme Editor: Removed markup comments from CodeEditor files (it was originally a Nokia example, so it was marked up with comments for their documentation), implemented the beginnings of drag and drop editing. Viewports are now movable, but don't invoke code generation yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27675 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 08:42:30 +00:00
Robert Bieber
436ed78b6f Theme Editor: SkinDocument class now checks file extension when loading a document and sets the cs device setting accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27673 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:32:37 +00:00
Robert Bieber
7cd57a9671 Theme Editor: Added a default label to switch block in devicestate.cpp to be safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27672 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:26:55 +00:00
Robert Bieber
c8824640f2 Theme Editor: Fixed rendering of %ca tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27671 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:23:39 +00:00
Rafaël Carré
a19fa2dafc themeeditor: fix build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27661 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 19:00:33 +00:00
Robert Bieber
ba41fa537a Theme Editor: Made auto-complete functional and enabled it by default. Added a small subset of the available tags to the tagdb file, filling it out is todo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27625 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 08:38:38 +00:00
Robert Bieber
f8dd370ff8 Theme Editor: Began implementing syntax highlighting. What I've accomplished so far isn't particularly useful for anything other than testing, so at the moment it will only function if activated in the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27624 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 01:26:10 +00:00
Robert Bieber
89c1a88dc8 Theme Editor: Recent documents/projects that no longer exist are now cleared from the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27611 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:38:01 +00:00
Robert Bieber
5106d938c6 Theme Editor: Project Exporter will not check for internal settings keys as files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27610 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:17:12 +00:00
Robert Bieber
d92f8174a1 Theme Editor: Added targetdb download to preferences dialog, fixed Cancel button on FontDownloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27565 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 21:59:35 +00:00
Robert Bieber
e1e51f9994 Theme Editor: Added recent docs/projects menus. Modified buildtargetdb.php to add a do-not-modify warning to the top of its output, and generated a new targetdb file with the warning in place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27564 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 21:16:37 +00:00
Robert Bieber
7a1a72a527 Theme Editor: Added resource check to project export
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27543 a1c6a512-1295-4272-9138-f99709370657
2010-07-24 22:41:45 +00:00
Robert Bieber
8556ad81bd Theme Editor: Implemented zip file project export
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27537 a1c6a512-1295-4272-9138-f99709370657
2010-07-24 08:10:44 +00:00
Robert Bieber
5297db9904 Theme Editor: Added interface for project export, exporting files to zip is still todo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27534 a1c6a512-1295-4272-9138-f99709370657
2010-07-23 21:15:15 +00:00
Robert Bieber
e6fd3d0318 Theme Editor: Switched back to Lorenzo Bettini's find/replace dialog (with some modifications) as he changed the license to LGPL v2.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27528 a1c6a512-1295-4272-9138-f99709370657
2010-07-23 07:31:53 +00:00
Robert Bieber
2a2df2857b Theme Editor: Changed default directories for fonts and targetdb, font downloader will now make download directory if it doesn't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27515 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 21:18:17 +00:00
Robert Bieber
d03929b0c9 Theme Editor: Added file filters with capitalized extensions for WPS, SBS, etc. files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27514 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 20:08:51 +00:00
Robert Bieber
7c52284b29 Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27509 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 07:45:29 +00:00
Robert Bieber
3c4fb8abe4 Theme Editor: Added column number to parser error messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27477 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:59:02 +00:00
Robert Bieber
eb52a45a0c Theme Editor: If a pr project specifies a valid #target value, its settings are now loaded into the device configuration panel when the theme is loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27476 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:39:40 +00:00
Robert Bieber
4a46996922 Theme Editor: Integrated target db with project creation code. Now changing the target option in the New Project dialog will change the available options for wps documents, and the target id is stored in the new config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27451 a1c6a512-1295-4272-9138-f99709370657
2010-07-17 00:35:54 +00:00
Robert Bieber
025147effb Theme Editor: Added target database, now populates combo box in new project dialog but otherwise not used yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27450 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 20:47:23 +00:00
Robert Bieber
c272144867 Theme Editor: Added New Project feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27439 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 21:39:09 +00:00
Robert Bieber
15488a00ea Theme Editor: Committed FS#11477 to add a DECIMAL parameter type in the parser and adapt the Theme Editor to accomodate the change by Johnathan Gordon. Fixed bug in the parser caused by the patch (error was thrown on zero value) and adapted tag rendering for new format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27426 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 06:24:11 +00:00
Robert Bieber
4b457d688b Theme Editor: Added optional plaintext editing for config files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27415 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 07:38:09 +00:00
Robert Bieber
b76b6448a2 Theme Editor: Added Close Project feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27412 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 05:06:42 +00:00
Robert Bieber
bae1836337 Theme Editor: Implemented some touch area click events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27397 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 05:33:14 +00:00
Robert Bieber
b99066440f Theme Editor: Implemented timer panel functionality, added missing seconds field to device control panel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27354 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 02:11:34 +00:00
Robert Bieber
73a3747bc1 Theme Editor: Built a ui for the timer panel, not functional yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27353 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 21:53:27 +00:00
Robert Bieber
91a0e8a4c2 Theme Editor: Simplified clock tab in device control panel, now one set of values controls all the cX tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27351 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 19:44:30 +00:00
Robert Bieber
cd98d01926 Theme Editor: Implemented the song time (pS, pE, px, pc, etc.) in the device configuration panel, all depending on one value for current time in song and one value for length of song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27347 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 08:14:04 +00:00
Robert Bieber
6358d41f31 Theme Editor: Began working on special cases for device option panel. Implemented path info for current and next file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27346 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 06:54:08 +00:00
Robert Bieber
de9ba10aab Theme Editor: Made auto-expand/highlight of parse tree optional (through preferences dialog), added Simulation Time variable to device config panel, subline alternation is now dependent on that rather than time in song
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27342 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 20:56:16 +00:00
Robert Bieber
6d609e009f Theme Editor: Implemented caching for rendered text, added profiling info to debug build, added a 500msec delay when rendering after code changes to prevent editor from hanging on large themes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27332 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 09:33:47 +00:00
Robert Bieber
eccc2bd009 Theme Editor: Added font directory option in preferences dialog, renderer will now search that directory for fonts if they're not found in the project directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27322 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 20:23:27 +00:00
Robert Bieber
71b561e3df Theme Editor: Fixed bug that caused WPS skins without SBS parents not to render their backdrops correctly. Added support for RTL-dependant text alignment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27295 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:02:40 +00:00
Robert Bieber
d4e7ab7a93 Theme Editor: Switched device configuration panel to a QFormLayout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27267 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:48:10 +00:00
Robert Bieber
5aa684f058 Theme Editor: Implemented replace and replace all in find/replace dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27254 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 08:23:20 +00:00
Robert Bieber
a8bb62e6e2 Theme Editor: Made irrelevant menu items disabled at startup, made wrap-around search work in the find/replace dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27253 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:53:06 +00:00
Robert Bieber
fb09d6354c Theme Editor: Removed some old debug code in skindocument.cpp, began implementing a new find/replace dialog, due to licensing issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27252 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:08:59 +00:00