![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qnamespace.h>
#include <QtCore/qstring.h>
#include <QtCore/qmargins.h>
#include <QtGui/qpixmap.h>
Go to the source code of this file.
Classes | |
class | QQC2::QTileRules |
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments. More... | |
Namespaces | |
namespace | QQC2 |
namespace | QQC2::QDrawBorderPixmap |
Enumerations | |
enum | QQC2::QDrawBorderPixmap::DrawingHint { QQC2::QDrawBorderPixmap::OpaqueTopLeft = 0x0001 , QQC2::QDrawBorderPixmap::OpaqueTop = 0x0002 , QQC2::QDrawBorderPixmap::OpaqueTopRight = 0x0004 , QQC2::QDrawBorderPixmap::OpaqueLeft = 0x0008 , QQC2::QDrawBorderPixmap::OpaqueCenter = 0x0010 , QQC2::QDrawBorderPixmap::OpaqueRight = 0x0020 , QQC2::QDrawBorderPixmap::OpaqueBottomLeft = 0x0040 , QQC2::QDrawBorderPixmap::OpaqueBottom = 0x0080 , QQC2::QDrawBorderPixmap::OpaqueBottomRight = 0x0100 , QQC2::QDrawBorderPixmap::OpaqueCorners = OpaqueTopLeft | OpaqueTopRight | OpaqueBottomLeft | OpaqueBottomRight , QQC2::QDrawBorderPixmap::OpaqueEdges = OpaqueTop | OpaqueLeft | OpaqueRight | OpaqueBottom , QQC2::QDrawBorderPixmap::OpaqueFrame = OpaqueCorners | OpaqueEdges , QQC2::QDrawBorderPixmap::OpaqueAll = OpaqueCenter | OpaqueFrame } |
Functions | |
void | QQC2::qDrawShadeLine (QPainter *p, int x1, int y1, int x2, int y2, const QPalette &pal, bool sunken, int lineWidth, int midLineWidth) |
void | QQC2::qDrawShadeLine (QPainter *p, const QPoint &p1, const QPoint &p2, const QPalette &pal, bool sunken, int lineWidth, int midLineWidth) |
void | QQC2::qDrawShadeRect (QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken, int lineWidth, int midLineWidth, const QBrush *fill) |
void | QQC2::qDrawShadeRect (QPainter *p, const QRect &r, const QPalette &pal, bool sunken, int lineWidth, int midLineWidth, const QBrush *fill) |
void | QQC2::qDrawShadePanel (QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken, int lineWidth, const QBrush *fill) |
void | QQC2::qDrawShadePanel (QPainter *p, const QRect &r, const QPalette &pal, bool sunken, int lineWidth, const QBrush *fill) |
void | QQC2::qDrawWinButton (QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken, const QBrush *fill) |
void | QQC2::qDrawWinButton (QPainter *p, const QRect &r, const QPalette &pal, bool sunken, const QBrush *fill) |
void | QQC2::qDrawWinPanel (QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken, const QBrush *fill) |
void | QQC2::qDrawWinPanel (QPainter *p, const QRect &r, const QPalette &pal, bool sunken, const QBrush *fill) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Draws the Windows-style panel at the rectangle specified by rect using the given painter with a line width of 2 pixels. | |
void | QQC2::qDrawPlainRect (QPainter *p, int x, int y, int w, int h, const QColor &c, int lineWidth, const QBrush *fill) |
void | QQC2::qDrawPlainRect (QPainter *p, const QRect &r, const QColor &c, int lineWidth, const QBrush *fill) |
void | QQC2::qDrawBorderPixmap (QPainter *painter, const QRect &targetRect, const QMargins &targetMargins, const QPixmap &pixmap, const QRect &sourceRect, const QMargins &sourceMargins, const QTileRules &rules, QDrawBorderPixmap::DrawingHints hints) |
void | QQC2::qDrawBorderPixmap (QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap) |