Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QPainterPath::addRoundedRect ( qreal  x,
qreal  y,
qreal  w,
qreal  h,
qreal  xRadius,
qreal  yRadius,
Qt::SizeMode  mode = Qt::AbsoluteSize 
) [inline]

Since:
4.4
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds the given rectangle x, y, w, h with rounded corners to the path.

Definition at line 320 of file qpainterpath.h.

References addRoundedRect().

{
    addRoundedRect(QRectF(x, y, w, h), xRadius, yRadius, mode);
}


Generated by  Doxygen 1.6.0   Back to index