Simulacrum  1.2
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
Simulacrum::SPOIObject Class Reference

#include <vpTools.h>

Inheritance diagram for Simulacrum::SPOIObject:
Inheritance graph
Collaboration diagram for Simulacrum::SPOIObject:
Collaboration graph

Public Slots

void setSource (SSpace &, const SPoint &)
 
void setPixmap (const QPixmap &)
 
void setLabel (const QString &)
 
void setLabelFr (const QString &)
 
void setEditable (bool)
 
void refresh ()
 
void moveTo (int x, int y)
 
void link (SPOIObject &)
 
void unlink (QObject *)
 
void drawLink ()
 
void setWriteDistance (bool)
 

Signals

void modified (SPOIObject *)
 
void moved (int x, int y)
 
void placed (int x, int y)
 

Public Member Functions

 SPOIObject (SViewPort *parent, bool hq=true, Qt::WindowFlags f=0)
 
 SPOIObject (SViewPort *parent, int vxx, int vyy, const QString &, bool hq=true)
 
virtual ~SPOIObject ()
 
SSpacesource () const
 
SPoint sourcePoint () const
 
QString label () const
 
SPOIObjectlink () const
 

Protected Member Functions

void mousePressEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void moveEvent (QMoveEvent *)
 
void init (SViewPort *, bool hq)
 
void writeDistance (SPOIObject &, SPoint, float)
 
void writeDistance ()
 

Constructor & Destructor Documentation

◆ SPOIObject() [1/2]

SPOIObject::SPOIObject ( SViewPort parent,
bool  hq = true,
Qt::WindowFlags  f = 0 
)

◆ SPOIObject() [2/2]

SPOIObject::SPOIObject ( SViewPort parent,
int  vxx,
int  vyy,
const QString &  lb,
bool  hq = true 
)

◆ ~SPOIObject()

SPOIObject::~SPOIObject ( )
virtual

Member Function Documentation

◆ drawLink

void SPOIObject::drawLink ( )
slot

◆ init()

void SPOIObject::init ( SViewPort parent,
bool  hq 
)
protected

◆ label()

QString SPOIObject::label ( ) const

◆ link() [1/2]

SPOIObject * SPOIObject::link ( ) const

◆ link [2/2]

void SPOIObject::link ( SPOIObject newlnk)
slot

◆ modified

void Simulacrum::SPOIObject::modified ( SPOIObject )
signal

◆ mouseDoubleClickEvent()

void SPOIObject::mouseDoubleClickEvent ( QMouseEvent *  event)
protected

◆ mouseMoveEvent()

void SPOIObject::mouseMoveEvent ( QMouseEvent *  event)
protected

◆ mousePressEvent()

void SPOIObject::mousePressEvent ( QMouseEvent *  event)
protected

◆ mouseReleaseEvent()

void SPOIObject::mouseReleaseEvent ( QMouseEvent *  event)
protected

◆ moved

void Simulacrum::SPOIObject::moved ( int  x,
int  y 
)
signal

◆ moveEvent()

void SPOIObject::moveEvent ( QMoveEvent *  mev)
protected

◆ moveTo

void SPOIObject::moveTo ( int  x,
int  y 
)
slot

◆ placed

void Simulacrum::SPOIObject::placed ( int  x,
int  y 
)
signal

◆ refresh

void SPOIObject::refresh ( )
slot

◆ setEditable

void SPOIObject::setEditable ( bool  nmove)
slot

◆ setLabel

void SPOIObject::setLabel ( const QString &  newlabel)
slot

◆ setLabelFr

void SPOIObject::setLabelFr ( const QString &  newlabel)
slot

◆ setPixmap

void SPOIObject::setPixmap ( const QPixmap &  newpixmap)
slot

◆ setSource

void SPOIObject::setSource ( SSpace newsrc,
const SPoint newpoint 
)
slot

◆ setWriteDistance

void SPOIObject::setWriteDistance ( bool  nwrite)
slot

◆ source()

SSpace * SPOIObject::source ( ) const

◆ sourcePoint()

SPoint SPOIObject::sourcePoint ( ) const

◆ unlink

void SPOIObject::unlink ( QObject *  ulnk)
slot

◆ writeDistance() [1/2]

void SPOIObject::writeDistance ( )
protected

◆ writeDistance() [2/2]

void SPOIObject::writeDistance ( SPOIObject targ,
SPoint  lastpos,
float  accum 
)
protected

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