7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qnamespace.h>
9#include <QtCore/qstring.h>
10#include <QtCore/qmargins.h>
11#include <QtGui/qpixmap.h>
27 const QPalette &pal,
bool sunken =
true,
28 int lineWidth = 1,
int midLineWidth = 0);
31 const QPalette &pal,
bool sunken =
true,
32 int lineWidth = 1,
int midLineWidth = 0);
35 const QPalette &pal,
bool sunken =
false,
36 int lineWidth = 1,
int midLineWidth = 0,
40 const QPalette &pal,
bool sunken =
false,
41 int lineWidth = 1,
int midLineWidth = 0,
45 const QPalette &pal,
bool sunken =
false,
46 int lineWidth = 1,
const QBrush *
fill =
nullptr);
49 const QPalette &pal,
bool sunken =
false,
50 int lineWidth = 1,
const QBrush *
fill =
nullptr);
53 const QPalette &pal,
bool sunken =
false,
57 const QPalette &pal,
bool sunken =
false,
61 const QPalette &pal,
bool sunken =
false,
65 const QPalette &pal,
bool sunken =
false,
69 int lineWidth = 1,
const QBrush *
fill =
nullptr);
72 int lineWidth = 1,
const QBrush *
fill =
nullptr);
112 const QRect &targetRect,
115 const QRect &sourceRect,
119 , QDrawBorderPixmap::DrawingHints hints = QDrawBorderPixmap::DrawingHints()
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
The QPalette class contains color groups for each widget state.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
DBusConnection const char * rule
Q_WIDGETS_EXPORT void qDrawBorderPixmap(QPainter *painter, const QRect &targetRect, const QMargins &targetMargins, const QPixmap &pixmap, const QRect &sourceRect, const QMargins &sourceMargins, const QTileRules &rules=QTileRules(), QDrawBorderPixmap::DrawingHints hints=QDrawBorderPixmap::DrawingHints())
Q_WIDGETS_EXPORT void qDrawShadeLine(QPainter *p, int x1, int y1, int x2, int y2, const QPalette &pal, bool sunken=true, int lineWidth=1, int midLineWidth=0)
Q_WIDGETS_EXPORT void qDrawWinButton(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken=false, const QBrush *fill=nullptr)
Q_WIDGETS_EXPORT void qDrawWinPanel(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken=false, const QBrush *fill=nullptr)
Q_WIDGETS_EXPORT void qDrawShadePanel(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken=false, int lineWidth=1, const QBrush *fill=nullptr)
Q_WIDGETS_EXPORT void qDrawShadeRect(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken=false, int lineWidth=1, int midLineWidth=0, const QBrush *fill=nullptr)
Q_WIDGETS_EXPORT void qDrawPlainRect(QPainter *p, int x, int y, int w, int h, const QColor &, int lineWidth=1, const QBrush *fill=nullptr)
#define Q_DECLARE_FLAGS(Flags, Enum)
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLuint GLfloat GLfloat GLfloat GLfloat y1
GLuint GLfloat GLfloat GLfloat x1
GLfloat GLfloat GLfloat GLfloat h
GLfixed GLfixed GLfixed y2
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.
QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule)
Constructs a QTileRules with the given horizontalRule and verticalRule.
QTileRules(Qt::TileRule rule=Qt::StretchTile)
Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.