diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-07-21 07:45:29 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-21 07:45:29 +0000 |
| commit | 7c52284b294cb33bc2e5d747e2e3c14d8ab937ae (patch) | |
| tree | ba7bbf82a8ca0852deee158068330365f0f97e97 /utils/themeeditor/gui/preferencesdialog.ui | |
| parent | b72f475d44cf83c10c99eaf765b1c55cfdc00bb0 (diff) | |
| download | rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.zip rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.gz rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.bz2 rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.xz | |
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
Diffstat (limited to 'utils/themeeditor/gui/preferencesdialog.ui')
| -rw-r--r-- | utils/themeeditor/gui/preferencesdialog.ui | 100 |
1 files changed, 88 insertions, 12 deletions
diff --git a/utils/themeeditor/gui/preferencesdialog.ui b/utils/themeeditor/gui/preferencesdialog.ui index c455ed0..824862e 100644 --- a/utils/themeeditor/gui/preferencesdialog.ui +++ b/utils/themeeditor/gui/preferencesdialog.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>370</width> - <height>370</height> + <height>295</height> </rect> </property> <property name="windowTitle"> @@ -24,7 +24,7 @@ <enum>QTabWidget::North</enum> </property> <property name="currentIndex"> - <number>0</number> + <number>2</number> </property> <widget class="QWidget" name="tab_2"> <attribute name="title"> @@ -32,29 +32,31 @@ </attribute> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <item> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Font</string> </property> + <property name="buddy"> + <cstring>fontSelect</cstring> + </property> </widget> </item> - <item> + <item row="0" column="1"> <widget class="QFontComboBox" name="fontSelect"/> </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <item> + <item row="1" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Size</string> </property> + <property name="buddy"> + <cstring>fontSize</cstring> + </property> </widget> </item> - <item> + <item row="1" column="1"> <widget class="QSpinBox" name="fontSize"> <property name="value"> <number>12</number> @@ -118,7 +120,7 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_9"> + <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QLabel" name="label_9"> <property name="text"> @@ -138,6 +140,19 @@ </item> </layout> </item> + <item> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <widget class="QWidget" name="prefsGroupsPage1"> @@ -256,6 +271,19 @@ </item> </layout> </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <widget class="QWidget" name="tab"> @@ -301,6 +329,54 @@ </item> </layout> </item> + <item> + <widget class="QPushButton" name="dlFontsButton"> + <property name="text"> + <string>Download Fontpack</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_11"> + <item> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Target DB</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="dbBox"/> + </item> + <item> + <widget class="QPushButton" name="browseDB"> + <property name="text"> + <string>Browse...</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QPushButton" name="pushButton_2"> + <property name="text"> + <string>Update Target DB</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> </layout> </widget> </widget> |