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_MATERIAL_SKIN_H
|
|
|
|
#define QSK_MATERIAL_SKIN_H
|
|
|
|
|
2018-10-12 08:03:03 +02:00
|
|
|
#include "QskMaterialGlobal.h"
|
2017-07-21 18:21:34 +02:00
|
|
|
#include <QskSkin.h>
|
|
|
|
#include <memory>
|
|
|
|
|
2018-10-12 08:03:03 +02:00
|
|
|
class QSK_MATERIAL_EXPORT QskMaterialSkin : 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
|
|
|
QskMaterialSkin( QObject* parent = nullptr );
|
2018-07-31 17:32:25 +02:00
|
|
|
~QskMaterialSkin() 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;
|
2017-07-21 18:21:34 +02:00
|
|
|
|
|
|
|
class PrivateData;
|
|
|
|
std::unique_ptr< PrivateData > m_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|