#include <MyCommonStyle.h>
|
| 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 |
| |
◆ drawFrame() [1/2]
| void MyCommonStyleBase::drawFrame |
( |
QPainter * |
pr, |
|
|
const QRect & |
r, |
|
|
const QColor & |
color_topleft, |
|
|
const QColor & |
color_bottomright |
|
) |
| |
|
static |
枠を描く。色は左上と右下で別々に指定できる。
- Parameters
-
| pr | |
| r | |
| color_topleft | 左上の色。無効な色の場合は描かない。 |
| color_bottomright | 右下の色。無効な色の場合は描かない。 |
◆ drawFrame() [2/2]
| void MyCommonStyleBase::drawFrame |
( |
QPainter * |
pr, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h, |
|
|
QColor |
color_topleft, |
|
|
QColor |
color_bottomright |
|
) |
| |
|
static |
枠を描く。色は左上と右下で別々に指定できる。
- Parameters
-
| pr | |
| x | |
| y | |
| w | |
| h | |
| color_topleft | 左上の色。無効な色の場合は描かない。 |
| color_bottomright | 右下の色。無効な色の場合は描かない。 |
◆ drawShadedFrame()
| void MyCommonStyleBase::drawShadedFrame |
( |
QPainter * |
p, |
|
|
QRect const & |
rect, |
|
|
QPalette const & |
palette, |
|
|
QStyle::State |
state |
|
) |
| |
|
static |
RaisedやSunkenのある枠を描く
- Parameters
-
◆ x_pixelMetric()
| bool MyCommonStyleBase::x_pixelMetric |
( |
int * |
value, |
|
|
QStyle::PixelMetric |
metric, |
|
|
const QStyleOption * |
option, |
|
|
const QWidget * |
widget |
|
) |
| const |
|
protected |
◆ x_sizeFromContents()
| void MyCommonStyleBase::x_sizeFromContents |
( |
QSize * |
value, |
|
|
QStyle::ContentsType |
type, |
|
|
const QStyleOption * |
option, |
|
|
const QSize & |
size, |
|
|
const QWidget * |
widget |
|
) |
| const |
|
protected |
◆ x_styleHint()
| bool MyCommonStyleBase::x_styleHint |
( |
int * |
value, |
|
|
QStyle::StyleHint |
hint, |
|
|
const QStyleOption * |
option, |
|
|
const QWidget * |
widget, |
|
|
QStyleHintReturn * |
returnData |
|
) |
| const |
|
protected |
The documentation for this class was generated from the following files: