java.lang.Object
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
-
Field Summary
Fields inherited from class io.qt.gui.QPainter
staticMetaObject
-
Constructor Summary
-
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, 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, drawEllipse, drawGlyphRun, 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, 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, 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, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawRoundRect, drawStaticText, drawStaticText, drawStaticText, drawText, drawText, drawText, drawText, 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, fillPath, fillPath, fillPath, fillPath, fillPath, fillPath, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, fillRect, font, fontInfo, fontMetrics, hasClipping, initFrom, isActive, layoutDirection, matrixEnabled, opacity, paintEngine, pen, redirected, redirected, renderHints, resetMatrix, resetTransform, restore, restoreRedirected, rotate, save, scale, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setBackgroundMode, setBrush, setBrush, setBrush, setBrush, setBrush, setBrush, setBrush, setBrushOrigin, setBrushOrigin, setBrushOrigin, setClipPath, setClipPath, setClipping, setClipRect, setClipRect, setClipRect, setClipRect, setClipRect, setClipRect, setClipRegion, setClipRegion, setClipRegion, setClipRegion, setClipRegion, setClipRegion, setClipRegion, setClipRegion, setCompositionMode, setFont, setFont, setLayoutDirection, setMatrixEnabled, setOpacity, setPen, setPen, setPen, setPen, setPen, setPen, setRedirected, setRedirected, setRenderHint, setRenderHint, setRenderHints, setRenderHints, setTransform, setTransform, setViewport, setViewport, setViewTransformEnabled, setWindow, setWindow, setWorldMatrixEnabled, setWorldTransform, setWorldTransform, shear, strokePath, strokePath, 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
- Parameters:
pd
-w
-
-
QStylePainter
- Parameters:
w
-
-
-
Method Details
-
begin
- Parameters:
pd
-w
-- Returns:
-
begin
- Parameters:
w
-- Returns:
-
drawComplexControl
@QtUninvokable public final void drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt) - Parameters:
cc
-opt
-
-
drawControl
- Parameters:
ce
-opt
-
-
drawItemPixmap
- Parameters:
r
-flags
-pixmap
-
-
drawItemText
@QtUninvokable public final void drawItemText(QRect r, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) - Parameters:
r
-flags
-pal
-enabled
-text
-textRole
-
-
drawPrimitive
- Parameters:
pe
-opt
-
-
style
- Returns:
-
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
.
-