/******************************************************************************
* Copyright (C) 2021 Edelhirsch Software GmbH
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#pragma once
#include <QskGradient.h>
#include <QskSkin.h>
class Skin : public QskSkin
{
public:
struct Palette
QskGradient menuBar;
QskGradient mainContent;
QskGradient box;
QskGradient roundButton;
QColor weekdayBox;
QColor text;
QColor shadow;
QskGradient circularProgressBarGroove;
};
Skin( const Palette& palette, QObject* parent = nullptr );
~Skin() override;
enum SkinFontRole
TitleFont = QskSkin::HugeFont + 1,
private:
void initHints( const Palette& palette );
class DaytimeSkin : public Skin
DaytimeSkin( QObject* parent = nullptr )
: Skin( palette(), parent )
}
Palette palette() const;
class NighttimeSkin : public Skin
NighttimeSkin( QObject* parent = nullptr )