2 // C++ Interface: settings
4 // Author: Oliver Groß <z.o.gross@gmx.de>, (C) 2008
6 // Copyright: See COPYING file that comes with this distribution
8 #ifndef QBAT_SETTINGS_H
9 #define QBAT_SETTINGS_H
12 #include "ui/ui_settingsdialog.h"
16 class CSettings
: public QDialog
{
19 Ui::settingsDialog ui
;
20 QButtonGroup colorSelectButtons
;
21 Settings
* m_Settings
;
23 QRgb colors
[UI_COUNT_COLORS
];
27 CSettings(QWidget
* parent
= 0);
30 bool execute(Settings
* settings
);
32 void editColor(int id
);