Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QCachedPainter Class Reference

#include <qstyle_p.h>

Collaboration diagram for QCachedPainter:

Public Member Functions

 QCachedPainter (QPainter *painter, const QString &cachePrefix, const QStyleOption *option, QSize size={}, QRect paintRect={})
 ~QCachedPainter ()
void finish ()
bool needsPainting () const
QRect pixmapRect () const
QPainteroperator-> ()
QPainterpainter ()

Static Public Member Functions

static void cleanupPixmapCache ()

Detailed Description

Definition at line 51 of file qstyle_p.h.

Constructor & Destructor Documentation

◆ QCachedPainter()

QCachedPainter::QCachedPainter ( QPainter * painter,
const QString & cachePrefix,
const QStyleOption * option,
QSize size = {},
QRect paintRect = {} )

Definition at line 2436 of file qstyle.cpp.

◆ ~QCachedPainter()

QCachedPainter::~QCachedPainter ( )

Definition at line 2454 of file qstyle.cpp.

Member Function Documentation

◆ cleanupPixmapCache()

void QCachedPainter::cleanupPixmapCache ( )
static

Definition at line 2473 of file qstyle.cpp.

◆ finish()

void QCachedPainter::finish ( )

Definition at line 2461 of file qstyle.cpp.

◆ needsPainting()

bool QCachedPainter::needsPainting ( ) const
inline

Definition at line 58 of file qstyle_p.h.

◆ operator->()

QPainter * QCachedPainter::operator-> ( )
inline

Definition at line 67 of file qstyle_p.h.

◆ painter()

QPainter * QCachedPainter::painter ( )
inline

Definition at line 71 of file qstyle_p.h.

◆ pixmapRect()

QRect QCachedPainter::pixmapRect ( ) const
inline

Definition at line 62 of file qstyle_p.h.


The documentation for this class was generated from the following files: