Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPainterStateSaver Struct Reference
+ Collaboration diagram for QPainterStateSaver:

Public Member Functions

 QPainterStateSaver (QPainter *p, bool bSaveRestore=true)
 
 ~QPainterStateSaver ()
 
void restore ()
 

Detailed Description

Definition at line 99 of file qcommonstyle.cpp.

Constructor & Destructor Documentation

◆ QPainterStateSaver()

QPainterStateSaver::QPainterStateSaver ( QPainter * p,
bool bSaveRestore = true )
inline

Definition at line 101 of file qcommonstyle.cpp.

References QPainter::save().

+ Here is the call graph for this function:

◆ ~QPainterStateSaver()

QPainterStateSaver::~QPainterStateSaver ( )
inline

Definition at line 108 of file qcommonstyle.cpp.

References restore().

+ Here is the call graph for this function:

Member Function Documentation

◆ restore()

void QPainterStateSaver::restore ( )
inline

Definition at line 112 of file qcommonstyle.cpp.

References QPainter::restore().

Referenced by ~QPainterStateSaver().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this struct was generated from the following file: