qskinny/designsystems/fusion/QskFusionSkin.h
Uwe Rathmann c78c0f03a1 QskGraphic::defaultSize replaced by QskGraphic::viewBox. svg2qvg uses
the viewBox of the SVG document to initialize the viewBox of the
graphic. Avoids scaling problems with the symbols of the skins, that
often rely on having a viewBox.
2024-04-17 14:46:29 +02:00

39 lines
820 B
C++

/******************************************************************************
* QSkinny - Copyright (C) The authors
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#ifndef QSK_FUSION_SKIN_H
#define QSK_FUSION_SKIN_H
#include "QskFusionGlobal.h"
#include <QskSkin.h>
class QSK_FUSION_EXPORT QskFusionSkin : public QskSkin
{
Q_OBJECT
using Inherited = QskSkin;
public:
QskFusionSkin( QObject* parent = nullptr );
~QskFusionSkin() override;
enum GraphicRole
{
GraphicNormal,
GraphicDisabled,
GraphicHighlighted,
GraphicError,
GraphicIndicator
};
protected:
void initHints() override;
private:
void setGraphicColor( GraphicRole, QRgb );
};
#endif