qt-material-widgets/lib/style.h

28 lines
473 B
C
Raw Normal View History

2016-04-24 11:36:28 +00:00
#ifndef STYLE_H
#define STYLE_H
#include <QCommonStyle>
class Style : public QCommonStyle
{
Q_OBJECT
public:
static Style &instance()
{
static Style instance;
return instance;
}
2016-04-30 09:38:30 +00:00
void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p,
const QWidget *w = 0) const Q_DECL_OVERRIDE;
2016-04-24 11:36:28 +00:00
private:
Style() {}
Style(Style const &);
void operator=(Style const &);
};
#endif // STYLE_H