RedPanda-CPP/RedPandaIDE/widgets/darkfusionstyle.h

25 lines
936 B
C
Raw Normal View History

#ifndef DARKFUSIONSTYLE_H
#define DARKFUSIONSTYLE_H
#include <QProxyStyle>
class DarkFusionStyle : public QProxyStyle
{
Q_OBJECT
public:
DarkFusionStyle();
// QStyle interface
public:
void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w) const override;
void drawControl(ControlElement ce, const QStyleOption *option, QPainter *painter,
const QWidget *widget) const override;
QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = nullptr,
const QWidget *widget = nullptr) const override;
void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option,
QPainter *painter, const QWidget *widget) const override;
int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const override;
};
#endif // DARKFUSIONSTYLE_H