java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPainter
io.qt.widgets.QStylePainter
- All Implemented Interfaces:
QtObjectInterface
Convenience class for drawing QStyle elements inside a widget
Java wrapper for Qt class QStylePainter
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QPainter
QPainter.CompositionMode, QPainter.PixmapFragment, QPainter.PixmapFragmentHint, QPainter.PixmapFragmentHints, QPainter.RenderHint, QPainter.RenderHints
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.gui.QPainter
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQStylePainter
(QPaintDevice pd, QWidget w) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
begin
(QPaintDevice pd, QWidget w) final boolean
final void
final void
drawControl
(QStyle.ControlElement ce, QStyleOption opt) final void
drawItemPixmap
(QRect r, int flags, QPixmap pixmap) final void
drawItemText
(QRect r, int flags, QPalette pal, boolean enabled, String text) Overloaded function fordrawItemText(io.qt.core.QRect, int, io.qt.gui.QPalette, boolean, java.lang.String, io.qt.gui.QPalette.ColorRole)
withtextRole = io.qt.gui.QPalette.ColorRole.NoRole
.final void
drawItemText
(QRect r, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) final void
final QStyle
style()
Methods inherited from class io.qt.gui.QPainter
background, backgroundMode, begin, beginNativePainting, boundingRect, boundingRect, boundingRect, boundingRect, boundingRect, brush, brushOrigin, clipBoundingRect, clipPath, clipRegion, combinedTransform, compositionMode, device, deviceTransform, drawArc, drawArc, drawArc, drawChord, drawChord, drawChord, drawConvexPolygon, drawConvexPolygon, drawConvexPolygon, drawConvexPolygon, drawEllipse, drawEllipse, drawEllipse, drawEllipse, drawEllipse, drawGlyphRun, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawLine, drawLine, drawLine, drawLine, drawLines, drawLines, drawLines, drawLines, drawLines, drawLinesF, drawLinesFromPoints, drawLinesFromPointsF, drawPath, drawPicture, drawPicture, drawPicture, drawPie, drawPie, drawPie, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmap, drawPixmapFragments, drawPixmapFragments, drawPixmapFragments, drawPoint, drawPoint, drawPoint, drawPoints, drawPoints, drawPoints, drawPoints, drawPolygon, drawPolygon, drawPolygon, drawPolygon, drawPolygon, drawPolygon, drawPolygon, drawPolygon, drawPolyline, drawPolyline, drawPolyline, drawPolyline, drawRect, drawRect, drawRect, drawRects, drawRects, drawRects, drawRectsF, drawRoundedRect, drawRoundedRect, drawRoundedRect, drawRoundedRect, drawRoundedRect, drawRoundedRect, drawStaticText, drawStaticText, drawStaticText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawTextItem, drawTextItem, drawTextItem, drawTiledPixmap, drawTiledPixmap, drawTiledPixmap, drawTiledPixmap, drawTiledPixmap, drawTiledPixmap, drawTiledPixmap, end, endNativePainting, eraseRect, eraseRect, eraseRect, fillPath, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, font, fontInfo, fontMetrics, hasClipping, isActive, layoutDirection, opacity, paintEngine, pen, renderHints, resetTransform, restore, rotate, save, scale, setBackground, setBackgroundMode, setBrush, setBrush, setBrush, setBrush, setBrush, setBrush, setBrushOrigin, setBrushOrigin, setBrushOrigin, setClipPath, setClipPath, setClipping, setClipRect, setClipRect, setClipRect, setClipRect, setClipRect, setClipRect, setClipRegion, setClipRegion, setCompositionMode, setFont, setLayoutDirection, setOpacity, setPen, setPen, setPen, setRenderHint, setRenderHint, setRenderHints, setRenderHints, setTransform, setTransform, setViewport, setViewport, setViewTransformEnabled, setWindow, setWindow, setWorldMatrixEnabled, setWorldTransform, setWorldTransform, shear, strokePath, testRenderHint, transform, translate, translate, translate, viewport, viewTransformEnabled, window, worldMatrixEnabled, worldTransform
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStylePainter
public QStylePainter() -
QStylePainter
-
QStylePainter
-
QStylePainter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
begin
-
begin
-
drawComplexControl
@QtUninvokable public final void drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt) -
drawControl
-
drawItemPixmap
-
drawItemText
@QtUninvokable public final void drawItemText(QRect r, int flags, QPalette pal, boolean enabled, String text) Overloaded function for
drawItemText(io.qt.core.QRect, int, io.qt.gui.QPalette, boolean, java.lang.String, io.qt.gui.QPalette.ColorRole)
withtextRole = io.qt.gui.QPalette.ColorRole.NoRole
. -
drawItemText
@QtUninvokable public final void drawItemText(QRect r, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) -
drawPrimitive
-
style
-