Uses of Class
io.qt.gui.QPainter
Package
Description
-
Uses of QPainter in io.qt.charts
Modifier and TypeMethodDescriptionvoid
QLegend.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) -
Uses of QPainter in io.qt.gui
Modifier and TypeMethodDescriptionfinal QPainter
QPaintEngine.painter()
final QPainter
QPaintEngineState.painter()
protected QPainter
QImage.sharedPainter()
protected QPainter
QOpenGLPaintDevice.sharedPainter()
protected QPainter
QPagedPaintDevice.Impl.sharedPainter()
protected QPainter
QPaintDevice.Impl.sharedPainter()
QPaintDevice.MemberAccess.sharedPainter()
protected QPainter
QPaintDeviceWindow.sharedPainter()
protected QPainter
QPdfWriter.sharedPainter()
protected QPainter
QPicture.sharedPainter()
protected QPainter
QPixmap.sharedPainter()
Modifier and TypeMethodDescriptionabstract void
QAbstractTextDocumentLayout.draw
(QPainter painter, QAbstractTextDocumentLayout.PaintContext context) final void
final void
QTextDocument.drawContents
(QPainter painter) Overloaded function forQTextDocument.drawContents(io.qt.gui.QPainter, io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
.final void
QTextDocument.drawContents
(QPainter painter, QRectF rect) final void
QTextLayout.drawCursor
(QPainter p, QPointF pos, int cursorPosition) final void
QTextLayout.drawCursor
(QPainter p, QPointF pos, int cursorPosition, int width) protected void
QAbstractTextDocumentLayout.drawInlineObject
(QPainter painter, QRectF rect, QTextInlineObject object, int posInDocument, QTextFormat format) void
QTextObjectInterface.drawObject
(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format) abstract void
QTextObjectInterface.Impl.drawObject
(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format) protected void
QImage.initPainter
(QPainter painter) protected void
QOpenGLPaintDevice.initPainter
(QPainter painter) protected void
QPagedPaintDevice.Impl.initPainter
(QPainter painter) protected void
QPaintDevice.Impl.initPainter
(QPainter painter) void
QPaintDevice.MemberAccess.initPainter
(QPainter painter) protected void
QPaintDeviceWindow.initPainter
(QPainter painter) protected void
QPdfWriter.initPainter
(QPainter painter) protected void
QPicture.initPainter
(QPainter painter) protected void
QPixmap.initPainter
(QPainter painter) final void
final void
QIcon.paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment) final void
QIcon.paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function forQIcon.paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
QIcon.paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) final void
final void
QIcon.paint
(QPainter painter, QRect rect, Qt.Alignment alignment) final void
QIcon.paint
(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function forQIcon.paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
QIcon.paint
(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) abstract void
QIconEngine.paint
(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) final boolean
-
Uses of QPainter in io.qt.multimedia.widgets
Modifier and TypeMethodDescriptionvoid
QGraphicsVideoItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) -
Uses of QPainter in io.qt.printsupport
-
Uses of QPainter in io.qt.qt3d.render
Modifier and TypeMethodDescriptionprotected abstract void
-
Uses of QPainter in io.qt.quick
Modifier and TypeMethodDescriptionabstract void
-
Uses of QPainter in io.qt.svg
Modifier and TypeMethodDescriptionprotected void
QSvgGenerator.initPainter
(QPainter painter) void
QGraphicsSvgItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
final void
final void
Overloaded function forQSvgRenderer.render(io.qt.gui.QPainter, java.lang.String, io.qt.core.QRectF)
withbounds = new io.qt.core.QRectF()
.final void
-
Uses of QPainter in io.qt.widgets
Modifier and TypeClassDescriptionclass
Convenience class for drawing QStyle elements inside a widgetModifier and TypeMethodDescriptionprotected void
protected void
protected void
protected abstract void
protected void
void
QPlainTextDocumentLayout.draw
(QPainter arg__1, QAbstractTextDocumentLayout.PaintContext arg__2) protected void
QGraphicsScene.drawBackground
(QPainter painter, QRectF rect) protected void
QGraphicsView.drawBackground
(QPainter painter, QRectF rect) protected final void
QItemDelegate.drawBackground
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) protected void
QTreeView.drawBranches
(QPainter painter, QRect rect, QModelIndex index) protected void
QItemDelegate.drawCheck
(QPainter painter, QStyleOptionViewItem option, QRect rect, Qt.CheckState state) void
QCommonStyle.drawComplexControl
(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget w) void
QProxyStyle.drawComplexControl
(QStyle.ComplexControl control, QStyleOptionComplex option, QPainter painter, QWidget widget) final void
QStyle.drawComplexControl
(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p) Overloaded function forQStyle.drawComplexControl(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withwidget = null
.abstract void
QStyle.drawComplexControl
(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget) protected void
QSplashScreen.drawContents
(QPainter painter) void
QCommonStyle.drawControl
(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget w) void
QProxyStyle.drawControl
(QStyle.ControlElement element, QStyleOption option, QPainter painter, QWidget widget) final void
QStyle.drawControl
(QStyle.ControlElement element, QStyleOption opt, QPainter p) Overloaded function forQStyle.drawControl(io.qt.widgets.QStyle.ControlElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withw = null
.abstract void
QStyle.drawControl
(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget w) protected void
QItemDelegate.drawDecoration
(QPainter painter, QStyleOptionViewItem option, QRect rect, QPixmap pixmap) protected void
QItemDelegate.drawDisplay
(QPainter painter, QStyleOptionViewItem option, QRect rect, String text) protected void
QItemDelegate.drawFocus
(QPainter painter, QStyleOptionViewItem option, QRect rect) protected void
QGraphicsScene.drawForeground
(QPainter painter, QRectF rect) protected void
QGraphicsView.drawForeground
(QPainter painter, QRectF rect) protected final void
void
QProxyStyle.drawItemPixmap
(QPainter painter, QRect rect, int alignment, QPixmap pixmap) void
QStyle.drawItemPixmap
(QPainter painter, QRect rect, int alignment, QPixmap pixmap) protected final void
QGraphicsScene.drawItems
(QPainter painter, QGraphicsItem[] items, QStyleOptionGraphicsItem[] options) Overloaded function forQGraphicsScene.drawItems(io.qt.gui.QPainter, io.qt.widgets.QGraphicsItem[], io.qt.widgets.QStyleOptionGraphicsItem[], io.qt.widgets.QWidget)
withwidget = null
.protected void
QGraphicsScene.drawItems
(QPainter painter, QGraphicsItem[] items, QStyleOptionGraphicsItem[] options, QWidget widget) protected void
QGraphicsView.drawItems
(QPainter painter, QGraphicsItem[] items, QStyleOptionGraphicsItem[] options) void
QProxyStyle.drawItemText
(QPainter painter, QRect rect, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) final void
QStyle.drawItemText
(QPainter painter, QRect rect, int flags, QPalette pal, boolean enabled, String text) Overloaded function forQStyle.drawItemText(io.qt.gui.QPainter, 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
.void
QStyle.drawItemText
(QPainter painter, QRect rect, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) void
QCommonStyle.drawPrimitive
(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget w) void
QProxyStyle.drawPrimitive
(QStyle.PrimitiveElement element, QStyleOption option, QPainter painter, QWidget widget) final void
QStyle.drawPrimitive
(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p) Overloaded function forQStyle.drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withw = null
.abstract void
QStyle.drawPrimitive
(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget w) protected void
QTreeView.drawRow
(QPainter painter, QStyleOptionViewItem options, QModelIndex index) protected final void
QGraphicsEffect.drawSource
(QPainter painter) protected final void
protected void
QWidget.initPainter
(QPainter painter) final void
QAbstractGraphicsShapeItem.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQAbstractGraphicsShapeItem.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.abstract void
QAbstractGraphicsShapeItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) abstract void
QAbstractItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) void
QGraphicsEllipseItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
QGraphicsItem.Impl.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsItem.Impl.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.abstract void
QGraphicsItem.Impl.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) default void
QGraphicsItem.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsItem.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.void
QGraphicsItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
QGraphicsItemGroup.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsItemGroup.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.void
QGraphicsItemGroup.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
QGraphicsLineItem.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsLineItem.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.void
QGraphicsLineItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
QGraphicsObject.paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsObject.paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.abstract void
QGraphicsObject.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsPathItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsPixmapItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsPolygonItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsProxyWidget.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsRectItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsSimpleTextItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsTextItem.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QGraphicsWidget.paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) void
QItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) void
QStyledItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) protected void
protected void
QHeaderView.paintSection
(QPainter painter, QRect rect, int logicalIndex) final void
QGraphicsWidget.paintWindowFrame
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forQGraphicsWidget.paintWindowFrame(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.void
QGraphicsWidget.paintWindowFrame
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final void
final void
final void
Overloaded function forQGraphicsScene.render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)
withaspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio
.final void
QGraphicsScene.render
(QPainter painter, QRectF target, QRectF source, Qt.AspectRatioMode aspectRatioMode) final void
final void
final void
Overloaded function forQGraphicsView.render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRect, io.qt.core.Qt.AspectRatioMode)
withaspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio
.final void
QGraphicsView.render
(QPainter painter, QRectF target, QRect source, Qt.AspectRatioMode aspectRatioMode) final void
final void
Overloaded function forQWidget.render(io.qt.gui.QPainter, io.qt.core.QPoint, io.qt.gui.QRegion, io.qt.widgets.QWidget.RenderFlags)
withrenderFlags = new io.qt.widgets.QWidget.RenderFlags(RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren)
.final void
QWidget.render
(QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag... renderFlags) final void
QWidget.render
(QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlags renderFlags) protected final QRect
QItemDelegate.textRectangle
(QPainter painter, QRect rect, QFont font, String text)