#include <LightStyle.h>
|
| void | drawPrimitive (PrimitiveElement element, QStyleOption const *option, QPainter *painter, QWidget const *widget=nullptr) const override |
| |
| void | drawControl (ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *widget) const override |
| |
| void | drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const override |
| |
| | MyCommonStyle ()=default |
| |
| | ~MyCommonStyle () override=default |
| |
| int | styleHint (QStyle::StyleHint hint, const QStyleOption *option, const QWidget *widget=nullptr, QStyleHintReturn *returnData=nullptr) const override |
| |
| int | pixelMetric (QStyle::PixelMetric metric, const QStyleOption *option, const QWidget *widget) const override |
| |
| QSize | sizeFromContents (QStyle::ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const override |
| |
|
| static void | drawFrame (QPainter *pr, int x, int y, int w, int h, QColor color_topleft, QColor color_bottomright) |
| | 枠を描く。色は左上と右下で別々に指定できる。 More...
|
| |
| static void | drawShadedFrame (QPainter *p, QRect const &rect, QPalette const &palette, QStyle::State state) |
| | RaisedやSunkenのある枠を描く More...
|
| |
| static void | drawFrame (QPainter *pr, const QRect &r, const QColor &color_topleft, const QColor &color_bottomright) |
| | 枠を描く。色は左上と右下で別々に指定できる。 More...
|
| |
| bool | x_styleHint (int *value, QStyle::StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const |
| |
| bool | x_pixelMetric (int *value, QStyle::PixelMetric metric, const QStyleOption *option, const QWidget *widget) const |
| |
| void | x_sizeFromContents (QSize *value, QStyle::ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const |
| |
◆ Base
◆ drawComplexControl()
| void LightStyle::drawComplexControl |
( |
ComplexControl |
control, |
|
|
const QStyleOptionComplex * |
option, |
|
|
QPainter * |
painter, |
|
|
const QWidget * |
widget |
|
) |
| const |
|
override |
◆ drawControl()
| void LightStyle::drawControl |
( |
ControlElement |
element, |
|
|
const QStyleOption * |
opt, |
|
|
QPainter * |
p, |
|
|
const QWidget * |
widget |
|
) |
| const |
|
override |
◆ drawPrimitive()
| void LightStyle::drawPrimitive |
( |
PrimitiveElement |
element, |
|
|
QStyleOption const * |
option, |
|
|
QPainter * |
painter, |
|
|
QWidget const * |
widget = nullptr |
|
) |
| const |
|
override |
◆ legacy_windows_
The documentation for this class was generated from the following files: