From 7c52284b294cb33bc2e5d747e2e3c14d8ab937ae Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Wed, 21 Jul 2010 07:45:29 +0000 Subject: 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 --- utils/themeeditor/themeeditor.pro | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'utils/themeeditor/themeeditor.pro') diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro index 48c9f8c24d..42031ff9fa 100644 --- a/utils/themeeditor/themeeditor.pro +++ b/utils/themeeditor/themeeditor.pro @@ -1,7 +1,13 @@ +QT += network + # Enabling profiling QMAKE_CXXFLAGS_DEBUG += -pg QMAKE_LFLAGS_DEBUG += -pg +# Adding zlib dependency for QuaZip +LIBS += -lz +INCLUDEPATH += zlib + # build in a separate folder. MYBUILDDIR = $$OUT_PWD/build/ OBJECTS_DIR = $$MYBUILDDIR/o @@ -15,6 +21,7 @@ RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,) INCLUDEPATH += gui INCLUDEPATH += models INCLUDEPATH += graphics +INCLUDEPATH += quazip # Stuff for the parse lib libskin_parser.commands = @$(MAKE) \ @@ -56,7 +63,18 @@ HEADERS += models/parsetreemodel.h \ gui/skintimer.h \ graphics/rbtoucharea.h \ gui/newprojectdialog.h \ - models/targetdata.h + models/targetdata.h \ + quazip/zip.h \ + quazip/unzip.h \ + quazip/quazipnewinfo.h \ + quazip/quazipfileinfo.h \ + quazip/quazipfile.h \ + quazip/quazip.h \ + quazip/ioapi.h \ + quazip/crypt.h \ + zlib/zlib.h \ + zlib/zconf.h \ + gui/fontdownloader.h SOURCES += main.cpp \ models/parsetreemodel.cpp \ models/parsetreenode.cpp \ @@ -83,7 +101,14 @@ SOURCES += main.cpp \ gui/skintimer.cpp \ graphics/rbtoucharea.cpp \ gui/newprojectdialog.cpp \ - models/targetdata.cpp + models/targetdata.cpp \ + quazip/zip.c \ + quazip/unzip.c \ + quazip/quazipnewinfo.cpp \ + quazip/quazipfile.cpp \ + quazip/quazip.cpp \ + quazip/ioapi.c \ + gui/fontdownloader.cpp OTHER_FILES += README \ resources/windowicon.png \ resources/appicon.xcf \ @@ -105,14 +130,17 @@ OTHER_FILES += README \ resources/lines.png \ resources/cursor.xcf \ resources/cursor.png \ - resources/targetdb + resources/targetdb \ + quazip/README.ROCKBOX \ + quazip/LICENSE.GPL FORMS += gui/editorwindow.ui \ gui/preferencesdialog.ui \ gui/configdocument.ui \ gui/skinviewer.ui \ gui/findreplacedialog.ui \ gui/skintimer.ui \ - gui/newprojectdialog.ui + gui/newprojectdialog.ui \ + gui/fontdownloader.ui RESOURCES += resources.qrc win32:RC_FILE = themeeditor.rc macx { -- cgit v1.2.3