qskinny/skins/squiek/QskSquiekSkin.h

32 lines
794 B
C
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#ifndef QSK_SQUIEK_SKIN_H
#define QSK_SQUIEK_SKIN_H
2018-10-12 08:03:03 +02:00
#include "QskSquiekGlobal.h"
2017-07-21 18:21:34 +02:00
#include <QskSkin.h>
#include <memory>
2018-10-12 08:03:03 +02:00
class QSK_SQUIEK_EXPORT QskSquiekSkin : public QskSkin
2017-07-21 18:21:34 +02:00
{
Q_OBJECT
using Inherited = QskSkin;
2018-08-03 08:15:28 +02:00
public:
2017-07-21 18:21:34 +02:00
QskSquiekSkin( QObject* parent = nullptr );
2018-07-31 17:32:25 +02:00
~QskSquiekSkin() override;
2017-07-21 18:21:34 +02:00
2018-08-03 08:15:28 +02:00
private:
2018-07-31 17:32:25 +02:00
void resetColors( const QColor& accent ) override;
void addGraphicRole( int role, const QColor& );
2017-07-21 18:21:34 +02:00
class PrivateData;
std::unique_ptr< PrivateData > m_data;
};
#endif