diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2007-08-05 16:17:35 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2007-08-05 16:17:35 +0000 |
commit | e70f7f4ca857e9e88a6e076360b6c9c235d7739b (patch) | |
tree | c5528e6abc91f74ac14192f9f2844f856588fdc0 /rbutil/rbutilqt/installtalkwindow.h | |
parent | 1d9f693658fda6e76d6c473fce8aa42b07f1b898 (diff) | |
download | rockbox-e70f7f4ca857e9e88a6e076360b6c9c235d7739b.tar.gz rockbox-e70f7f4ca857e9e88a6e076360b6c9c235d7739b.zip |
rbutilQt: added Talkfile creation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14197 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.h')
-rw-r--r-- | rbutil/rbutilqt/installtalkwindow.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.h b/rbutil/rbutilqt/installtalkwindow.h new file mode 100644 index 0000000000..1962d36a52 --- /dev/null +++ b/rbutil/rbutilqt/installtalkwindow.h | |||
@@ -0,0 +1,66 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2007 by Dominik Wenger | ||
10 | * $Id: installtalkwindow.h 14151 2007-08-02 22:27:51Z domonoky $ | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef INSTALLTALKWINDOW_H | ||
21 | #define INSTALLTALKWINDOW_H | ||
22 | |||
23 | #include <QtGui> | ||
24 | |||
25 | #include <QSettings> | ||
26 | |||
27 | #include "ui_installtalkfrm.h" | ||
28 | #include "progressloggergui.h" | ||
29 | #include "talkfile.h" | ||
30 | |||
31 | class InstallTalkWindow : public QDialog | ||
32 | { | ||
33 | Q_OBJECT | ||
34 | public: | ||
35 | InstallTalkWindow(QWidget *parent = 0); | ||
36 | void setUserSettings(QSettings*); | ||
37 | void setDeviceSettings(QSettings*); | ||
38 | |||
39 | public slots: | ||
40 | void accept(void); | ||
41 | |||
42 | private slots: | ||
43 | void browseFolder(void); | ||
44 | void browseTTS(void); | ||
45 | void browseEncoder(void); | ||
46 | |||
47 | void setTalkFolder(QString folder); | ||
48 | void setTTSExec(QString path); | ||
49 | void setEncoderExec(QString path); | ||
50 | |||
51 | void setEncoderOptions(int index); | ||
52 | void setTTSOptions(int index); | ||
53 | void setEncoderOptions(QString options); | ||
54 | void setTTSOptions(QString options); | ||
55 | |||
56 | private: | ||
57 | TalkFileCreator* talkcreator; | ||
58 | Ui::InstallTalkFrm ui; | ||
59 | ProgressLoggerGui* logger; | ||
60 | QSettings *devices; | ||
61 | QSettings *userSettings; | ||
62 | |||
63 | }; | ||
64 | |||
65 | |||
66 | #endif | ||