#include <CQRoundedRect.h>
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option=new QStyleOptionGraphicsItem(), QWidget *widget=0) |
|
Definition at line 14 of file CQRoundedRect.h.
CQRoundedRect::CQRoundedRect |
( |
qreal |
x, |
|
|
qreal |
y, |
|
|
qreal |
w, |
|
|
qreal |
h, |
|
|
qreal |
rx = 0 , |
|
|
qreal |
ry = 0 |
|
) |
| |
CQRoundedRect::~CQRoundedRect |
( |
| ) |
|
|
virtual |
void CQRoundedRect::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option = new QStyleOptionGraphicsItem() , |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
protectedvirtual |
Definition at line 23 of file CQRoundedRect.cpp.
References mRx, and mRy.
26 painter->setPen(pen());
27 painter->setBrush(brush());
28 painter->drawRoundedRect(rect(),
mRx,
mRy);
The documentation for this class was generated from the following files: