Olive
Public Slots | Public Member Functions | Public Attributes | List of all members
QPainterWrapper Class Reference

#include <qpainterwrapper.h>

Inheritance diagram for QPainterWrapper:

Public Slots

void fill (const QString &color)
 
void fillRect (int x, int y, int width, int height, const QString &brush)
 
void drawRect (int x, int y, int width, int height)
 
void setPen (const QString &pen)
 
void setBrush (const QString &brush)
 

Public Member Functions

 QPainterWrapper ()
 

Public Attributes

QImage * img
 
QPainter * painter
 

Constructor & Destructor Documentation

◆ QPainterWrapper()

QPainterWrapper::QPainterWrapper ( )

Member Function Documentation

◆ drawRect

void QPainterWrapper::drawRect ( int  x,
int  y,
int  width,
int  height 
)
slot

◆ fill

void QPainterWrapper::fill ( const QString &  color)
slot

◆ fillRect

void QPainterWrapper::fillRect ( int  x,
int  y,
int  width,
int  height,
const QString &  brush 
)
slot

◆ setBrush

void QPainterWrapper::setBrush ( const QString &  brush)
slot

◆ setPen

void QPainterWrapper::setPen ( const QString &  pen)
slot

Member Data Documentation

◆ img

QImage* QPainterWrapper::img

◆ painter

QPainter* QPainterWrapper::painter

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