2017-07-21 16:21:34 +00:00
|
|
|
/******************************************************************************
|
2024-01-17 13:31:45 +00:00
|
|
|
* QSkinny - Copyright (C) The authors
|
2023-04-06 07:23:37 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2017-07-21 16:21:34 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_SQUIEK_SKIN_H
|
|
|
|
#define QSK_SQUIEK_SKIN_H
|
|
|
|
|
2018-10-12 06:03:03 +00:00
|
|
|
#include "QskSquiekGlobal.h"
|
2017-07-21 16:21:34 +00:00
|
|
|
#include <QskSkin.h>
|
|
|
|
#include <memory>
|
|
|
|
|
2018-10-12 06:03:03 +00:00
|
|
|
class QSK_SQUIEK_EXPORT QskSquiekSkin : public QskSkin
|
2017-07-21 16:21:34 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
using Inherited = QskSkin;
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
public:
|
2017-07-21 16:21:34 +00:00
|
|
|
QskSquiekSkin( QObject* parent = nullptr );
|
2018-07-31 15:32:25 +00:00
|
|
|
~QskSquiekSkin() override;
|
2017-07-21 16:21:34 +00:00
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
private:
|
2018-07-31 15:32:25 +00:00
|
|
|
void resetColors( const QColor& accent ) override;
|
2023-03-02 08:16:55 +00:00
|
|
|
void addGraphicRole( int role, const QColor& );
|
2017-07-21 16:21:34 +00:00
|
|
|
|
|
|
|
class PrivateData;
|
|
|
|
std::unique_ptr< PrivateData > m_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|