RedPanda-CPP/RedPandaIDE/widgets/darkfusionstyle.h

27 lines
862 B
C++

#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;
// QStyle interface
public:
void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option,
QPainter *painter, const QWidget *widget) const override;
};
#endif // DARKFUSIONSTYLE_H