qt-material-widgets/lib/style.cpp

17 lines
406 B
C++
Raw Normal View History

2016-04-30 09:38:30 +00:00
#include <QPainter>
#include <QStyleOption>
2016-04-30 09:53:58 +00:00
#include "lib/style.h"
2016-04-30 09:38:30 +00:00
2016-04-30 09:53:58 +00:00
void Style::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w) const
2016-04-30 09:38:30 +00:00
{
switch (pe)
{
case PE_FrameFocusRect:
//p->setPen(Qt::blue);
//p->drawRect(opt->rect);
break;
default:
QCommonStyle::drawPrimitive(pe, opt, p, w);
}
}