QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskPainterCommand Class Reference

Detailed Description

Definition at line 16 of file QskPainterCommand.h.

Classes

struct  ImageData
 
struct  PixmapData
 
struct  StateData
 

Public Types

enum  Type : qint8 {
  Invalid = -1 , Path , Pixmap , Image ,
  State
}
 

Public Member Functions

 QskPainterCommand (const QskPainterCommand &)
 
 QskPainterCommand (const QPainterPath &)
 
 QskPainterCommand (const QRectF &rect, const QPixmap &, const QRectF &subRect)
 
 QskPainterCommand (const QRectF &rect, const QImage &, const QRectF &subRect, Qt::ImageConversionFlags)
 
 QskPainterCommand (const QskPainterCommand::StateData &data)
 
 QskPainterCommand (const QPaintEngineState &)
 
QskPainterCommandoperator= (const QskPainterCommand &)
 
bool operator== (const QskPainterCommand &other) const noexcept
 
bool operator!= (const QskPainterCommand &other) const noexcept
 
Type type () const noexcept
 
QPainterPath * path () noexcept
 
const QPainterPath * path () const noexcept
 
PixmapData * pixmapData () noexcept
 
const PixmapData * pixmapData () const noexcept
 
ImageData * imageData () noexcept
 
const ImageData * imageData () const noexcept
 
StateData * stateData () noexcept
 
const StateData * stateData () const noexcept
 

Member Enumeration Documentation

◆ Type

enum QskPainterCommand::Type : qint8

Definition at line 19 of file QskPainterCommand.h.

Constructor & Destructor Documentation

◆ QskPainterCommand() [1/7]

constexpr QskPainterCommand::QskPainterCommand ( )
inlineconstexprnoexcept

Definition at line 118 of file QskPainterCommand.h.

◆ QskPainterCommand() [2/7]

QskPainterCommand::QskPainterCommand ( const QskPainterCommand other)

Definition at line 94 of file QskPainterCommand.cpp.

◆ QskPainterCommand() [3/7]

QskPainterCommand::QskPainterCommand ( const QPainterPath &  path)
explicit

Definition at line 8 of file QskPainterCommand.cpp.

◆ QskPainterCommand() [4/7]

QskPainterCommand::QskPainterCommand ( const QRectF &  rect,
const QPixmap &  pixmap,
const QRectF &  subRect 
)

Definition at line 14 of file QskPainterCommand.cpp.

◆ QskPainterCommand() [5/7]

QskPainterCommand::QskPainterCommand ( const QRectF &  rect,
const QImage &  image,
const QRectF &  subRect,
Qt::ImageConversionFlags  flags 
)

Definition at line 24 of file QskPainterCommand.cpp.

◆ QskPainterCommand() [6/7]

QskPainterCommand::QskPainterCommand ( const QskPainterCommand::StateData &  data)
explicit

Definition at line 35 of file QskPainterCommand.cpp.

◆ QskPainterCommand() [7/7]

QskPainterCommand::QskPainterCommand ( const QPaintEngineState &  state)
explicit

Definition at line 41 of file QskPainterCommand.cpp.

◆ ~QskPainterCommand()

QskPainterCommand::~QskPainterCommand ( )

Definition at line 99 of file QskPainterCommand.cpp.

Member Function Documentation

◆ imageData() [1/2]

const QskPainterCommand::ImageData * QskPainterCommand::imageData ( ) const
inlinenoexcept

Definition at line 146 of file QskPainterCommand.h.

◆ imageData() [2/2]

QskPainterCommand::ImageData * QskPainterCommand::imageData ( )
noexcept

Definition at line 301 of file QskPainterCommand.cpp.

◆ operator!=()

bool QskPainterCommand::operator!= ( const QskPainterCommand other) const
inlinenoexcept

Definition at line 124 of file QskPainterCommand.h.

◆ operator=()

QskPainterCommand & QskPainterCommand::operator= ( const QskPainterCommand other)

Definition at line 104 of file QskPainterCommand.cpp.

◆ operator==()

bool QskPainterCommand::operator== ( const QskPainterCommand other) const
noexcept

Definition at line 112 of file QskPainterCommand.cpp.

◆ path() [1/2]

const QPainterPath * QskPainterCommand::path ( ) const
inlinenoexcept

Definition at line 134 of file QskPainterCommand.h.

◆ path() [2/2]

QPainterPath * QskPainterCommand::path ( )
noexcept

Definition at line 291 of file QskPainterCommand.cpp.

◆ pixmapData() [1/2]

const QskPainterCommand::PixmapData * QskPainterCommand::pixmapData ( ) const
inlinenoexcept

Definition at line 140 of file QskPainterCommand.h.

◆ pixmapData() [2/2]

QskPainterCommand::PixmapData * QskPainterCommand::pixmapData ( )
noexcept

Definition at line 296 of file QskPainterCommand.cpp.

◆ stateData() [1/2]

const QskPainterCommand::StateData * QskPainterCommand::stateData ( ) const
inlinenoexcept

Definition at line 152 of file QskPainterCommand.h.

◆ stateData() [2/2]

QskPainterCommand::StateData * QskPainterCommand::stateData ( )
noexcept

Definition at line 306 of file QskPainterCommand.cpp.

◆ type()

QskPainterCommand::Type QskPainterCommand::type ( ) const
inlinenoexcept

Definition at line 129 of file QskPainterCommand.h.

Member Data Documentation

◆ m_imageData

ImageData* QskPainterCommand::m_imageData

Definition at line 113 of file QskPainterCommand.h.

◆ m_path

QPainterPath* QskPainterCommand::m_path

Definition at line 111 of file QskPainterCommand.h.

◆ m_pixmapData

PixmapData* QskPainterCommand::m_pixmapData

Definition at line 112 of file QskPainterCommand.h.

◆ m_stateData

StateData* QskPainterCommand::m_stateData

Definition at line 114 of file QskPainterCommand.h.