add more spacing
[personal-kdebase.git] / workspace / ksysguard / gui / SensorDisplayLib / SensorLoggerSettings.h
blobce9ec13feee272e1ca32ac1ce785e6e015fc3cda
1 /* This file is part of the KDE project
2 Copyright ( C ) 2003 Nadeem Hasan <nhasan@kde.org>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or ( at your option ) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
21 #ifndef SENSORLOGGERSETTINGS_H
22 #define SENSORLOGGERSETTINGS_H
24 #include <kdialog.h>
27 #include <QColor>
29 class Ui_SensorLoggerSettingsWidget;
31 class SensorLoggerSettings : public KDialog
33 Q_OBJECT
35 public:
37 explicit SensorLoggerSettings( QWidget *parent=0, const char *name=0 );
38 ~SensorLoggerSettings();
40 QString title();
41 QColor foregroundColor();
42 QColor backgroundColor();
43 QColor alarmColor();
45 void setTitle( const QString & );
46 void setForegroundColor( const QColor & );
47 void setBackgroundColor( const QColor & );
48 void setAlarmColor( const QColor & );
50 private:
52 Ui_SensorLoggerSettingsWidget *m_settingsWidget;
55 #endif // SENSORLOGGERSETTINGS_H
57 /* vim: et sw=2 ts=2