diff options
Diffstat (limited to 'rbutil/rbutilqt/encodersgui.h')
-rw-r--r-- | rbutil/rbutilqt/encodersgui.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/encodersgui.h b/rbutil/rbutilqt/encodersgui.h new file mode 100644 index 0000000000..f889823ac8 --- /dev/null +++ b/rbutil/rbutilqt/encodersgui.h | |||
@@ -0,0 +1,77 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * Copyright (C) 2007 by Dominik Wenger | ||
10 | * $Id: encodersgui.h 15212 2007-10-19 21:49:07Z 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 ENCODERSGUI_H | ||
21 | #define ENCODERSGUI_H | ||
22 | |||
23 | #include <QtGui> | ||
24 | |||
25 | class RbSettings; | ||
26 | |||
27 | #include "ui_rbspeexcfgfrm.h" | ||
28 | #include "ui_encexescfgfrm.h" | ||
29 | |||
30 | |||
31 | class EncExesGui : public QDialog | ||
32 | { | ||
33 | Q_OBJECT | ||
34 | public: | ||
35 | EncExesGui(QDialog* parent = NULL); | ||
36 | |||
37 | void showCfg(QString m_name); | ||
38 | void setCfg(RbSettings* sett){settings = sett;} | ||
39 | |||
40 | public slots: | ||
41 | virtual void accept(void); | ||
42 | virtual void reject(void); | ||
43 | virtual void reset(void); | ||
44 | void browse(void); | ||
45 | |||
46 | private: | ||
47 | Ui::EncExesCfgFrm ui; | ||
48 | RbSettings* settings; | ||
49 | QString m_name; | ||
50 | }; | ||
51 | |||
52 | class EncRbSpeexGui : public QDialog | ||
53 | { | ||
54 | Q_OBJECT | ||
55 | public: | ||
56 | EncRbSpeexGui(QDialog* parent = NULL); | ||
57 | |||
58 | void showCfg(float defQ,float defV,float defC, bool defB); | ||
59 | void setCfg(RbSettings* sett){settings = sett;} | ||
60 | |||
61 | public slots: | ||
62 | virtual void accept(void); | ||
63 | virtual void reject(void); | ||
64 | virtual void reset(void); | ||
65 | |||
66 | private: | ||
67 | Ui::RbSpeexCfgFrm ui; | ||
68 | RbSettings* settings; | ||
69 | float defaultQuality; | ||
70 | float defaultVolume; | ||
71 | int defaultComplexity; | ||
72 | bool defaultBand; | ||
73 | }; | ||
74 | |||
75 | |||
76 | |||
77 | #endif | ||