2019-06-20 10:02:28 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2017-07-25 05:24:27 +00:00
|
|
|
#ifndef DEFAULTSKIN_H
|
|
|
|
#define DEFAULTSKIN_H
|
|
|
|
|
|
|
|
#include <QskSkin.h>
|
|
|
|
|
|
|
|
class Palette;
|
|
|
|
|
|
|
|
class DefaultSkin : public QskSkin
|
|
|
|
{
|
2018-08-03 06:15:28 +00:00
|
|
|
public:
|
2017-07-25 05:24:27 +00:00
|
|
|
DefaultSkin( const QString& name, QObject* parent = nullptr );
|
2018-07-31 15:32:25 +00:00
|
|
|
~DefaultSkin() override;
|
2017-07-25 05:24:27 +00:00
|
|
|
|
|
|
|
void toggleScheme();
|
2017-10-30 07:33:43 +00:00
|
|
|
void resetHints();
|
2017-07-25 05:24:27 +00:00
|
|
|
|
2017-07-25 08:47:40 +00:00
|
|
|
enum Scheme
|
|
|
|
{
|
2017-07-25 05:24:27 +00:00
|
|
|
Daylight,
|
|
|
|
Nighttime
|
|
|
|
};
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
private:
|
2017-07-25 05:24:27 +00:00
|
|
|
void initHints();
|
|
|
|
|
|
|
|
QString m_name;
|
|
|
|
Palette* m_palette;
|
|
|
|
Scheme m_scheme;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEFAULTSKIN_H
|