Added cyrillic glyphs to 10-Artwiz-Snap; also added the default char
[kugel-rb.git] / rbutil / rbutilqt / encodersgui.h
blob0c53549f801aba6736c81f32fa5eaa8c097f0835
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id$
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef ENCODERSGUI_H
23 #define ENCODERSGUI_H
25 #include <QtGui>
27 class RbSettings;
29 #include "ui_rbspeexcfgfrm.h"
30 #include "ui_encexescfgfrm.h"
33 class EncExesGui : public QDialog
35 Q_OBJECT
36 public:
37 EncExesGui(QDialog* parent = NULL);
39 void showCfg(QString m_name);
40 void setCfg(RbSettings* sett){settings = sett;}
42 public slots:
43 virtual void accept(void);
44 virtual void reject(void);
45 virtual void reset(void);
46 void browse(void);
48 private:
49 Ui::EncExesCfgFrm ui;
50 RbSettings* settings;
51 QString m_name;
54 class EncRbSpeexGui : public QDialog
56 Q_OBJECT
57 public:
58 EncRbSpeexGui(QDialog* parent = NULL);
60 void showCfg(float defQ,float defV,int defC, bool defB);
61 void setCfg(RbSettings* sett){settings = sett;}
63 public slots:
64 virtual void accept(void);
65 virtual void reject(void);
66 virtual void reset(void);
68 private:
69 Ui::RbSpeexCfgFrm ui;
70 RbSettings* settings;
71 float defaultQuality;
72 float defaultVolume;
73 int defaultComplexity;
74 bool defaultBand;
79 #endif