Walls And Holes  1
MapCellGraphicsItem Class Reference

The MapCellGraphicsItem class Inherits from QGraphicsItem this class is used for painting and generating the cells in MapCell. More...

#include <mapcellgraphicsitem.h>

Inheritance diagram for MapCellGraphicsItem:
Collaboration diagram for MapCellGraphicsItem:

Public Member Functions

 MapCellGraphicsItem (int x, int y, qreal w, qreal h, const Tile &tile)
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
 
int viewMode () const
 
void setViewMode (int viewMode)
 

Detailed Description

The MapCellGraphicsItem class Inherits from QGraphicsItem this class is used for painting and generating the cells in MapCell.

Constructor & Destructor Documentation

◆ MapCellGraphicsItem()

MapCellGraphicsItem::MapCellGraphicsItem ( int  x,
int  y,
qreal  w,
qreal  h,
const Tile tile 
)

Member Function Documentation

◆ boundingRect()

QRectF MapCellGraphicsItem::boundingRect ( ) const

◆ paint()

void MapCellGraphicsItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
Here is the call graph for this function:

◆ setViewMode()

void MapCellGraphicsItem::setViewMode ( int  viewMode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ viewMode()

int MapCellGraphicsItem::viewMode ( ) const
inline
Here is the caller graph for this function:

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