LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GhostCard Class Reference

#include <GhostCard.h>

Inheritance diagram for GhostCard:
[legend]
Collaboration diagram for GhostCard:
[legend]

Public Member Functions

 GhostCard (const QPixmap &pixmap, const QPainterPath &path=QPainterPath(), const CardWindow::Position &pos=CardWindow::Position())
 
virtual ~GhostCard ()
 
virtual QRectF boundingRect () const
 
CardWindow::Position position () const
 
void setPosition (const CardWindow::Position &pos)
 

Protected Member Functions

virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
 

Protected Attributes

QPixmap m_pixmap
 
QPainterPath m_painterPath
 
QRectF m_boundingRect
 
CardWindow::Position m_position
 

Properties

CardWindow::Position position
 

Constructor & Destructor Documentation

GhostCard::GhostCard ( const QPixmap &  pixmap,
const QPainterPath &  path = QPainterPath(),
const CardWindow::Position pos = CardWindow::Position() 
)
GhostCard::~GhostCard ( )
virtual

Member Function Documentation

virtual QRectF GhostCard::boundingRect ( ) const
inlinevirtual
void GhostCard::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  ,
QWidget *   
)
protectedvirtual
CardWindow::Position GhostCard::position ( ) const
inline
void GhostCard::setPosition ( const CardWindow::Position pos)

Member Data Documentation

QRectF GhostCard::m_boundingRect
protected
QPainterPath GhostCard::m_painterPath
protected
QPixmap GhostCard::m_pixmap
protected
CardWindow::Position GhostCard::m_position
protected

Property Documentation

CardWindow::Position GhostCard::position
readwrite

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