VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes
makVrf::DtPlanListBoxItem Class Reference
Inheritance diagram for makVrf::DtPlanListBoxItem:
Inheritance graph
[legend]

Public Member Functions

 DtPlanListBoxItem (const QString &text=QString::null, bool showCurrentAsArrow=false)
 DtPlanListBoxItem (const DtStmtIndex &index, const QString &indent, bool showCurrentAsArrow=false)
virtual ~DtPlanListBoxItem ()
virtual void setStatementIndex (const DtStmtIndex index)
virtual const DtStmtIndexstatementIndex () const
virtual void setIndent (const QString &indent)
virtual const QString & indent () const
virtual void setBlockIndex (int index)
virtual int blockIndex () const
virtual void setPlanText (const QString &)
virtual QString planItemText () const
 Returns the text of the plan item as displayed in the plan box.
QTreeWidgetItemprev ()
virtual void setCurrent (bool)
 Set to true to bold item as current item in plan.
bool current () const
virtual QVariant data (int col, int role) const
 If data role, return bolded font if current statement.
virtual const QImage & arrowIcon () const
 Returns arrow icon. If has not yet been created, creates it.
virtual QString stringRep () const

Protected Attributes

DtStmtIndex myStatementIndex
QString myIndent
int myBlockIndex
bool myCurrent
bool myShowCurrentAsArrow

Static Protected Attributes

static QImage theCurrentArrow

Constructor & Destructor Documentation

makVrf::DtPlanListBoxItem::DtPlanListBoxItem ( const QString &  text = QString::null,
bool  showCurrentAsArrow = false 
)
makVrf::DtPlanListBoxItem::DtPlanListBoxItem ( const DtStmtIndex index,
const QString &  indent,
bool  showCurrentAsArrow = false 
)
virtual makVrf::DtPlanListBoxItem::~DtPlanListBoxItem ( )
virtual

Member Function Documentation

virtual void makVrf::DtPlanListBoxItem::setStatementIndex ( const DtStmtIndex  index)
virtual
virtual const DtStmtIndex& makVrf::DtPlanListBoxItem::statementIndex ( ) const
virtual
virtual void makVrf::DtPlanListBoxItem::setIndent ( const QString &  indent)
virtual
virtual const QString& makVrf::DtPlanListBoxItem::indent ( ) const
virtual
virtual void makVrf::DtPlanListBoxItem::setBlockIndex ( int  index)
virtual
virtual int makVrf::DtPlanListBoxItem::blockIndex ( ) const
virtual
virtual void makVrf::DtPlanListBoxItem::setPlanText ( const QString &  )
virtual
virtual QString makVrf::DtPlanListBoxItem::planItemText ( ) const
virtual

Returns the text of the plan item as displayed in the plan box.

QTreeWidgetItem* makVrf::DtPlanListBoxItem::prev ( )
virtual void makVrf::DtPlanListBoxItem::setCurrent ( bool  )
virtual

Set to true to bold item as current item in plan.

Will force update of tree widget parent

bool makVrf::DtPlanListBoxItem::current ( ) const
inline

References myCurrent.

virtual QVariant makVrf::DtPlanListBoxItem::data ( int  col,
int  role 
) const
virtual

If data role, return bolded font if current statement.

virtual const QImage& makVrf::DtPlanListBoxItem::arrowIcon ( ) const
virtual

Returns arrow icon. If has not yet been created, creates it.

virtual QString makVrf::DtPlanListBoxItem::stringRep ( ) const
virtual

Member Data Documentation

DtStmtIndex makVrf::DtPlanListBoxItem::myStatementIndex
protected
QString makVrf::DtPlanListBoxItem::myIndent
protected
int makVrf::DtPlanListBoxItem::myBlockIndex
protected
bool makVrf::DtPlanListBoxItem::myCurrent
protected

Referenced by current().

bool makVrf::DtPlanListBoxItem::myShowCurrentAsArrow
protected
QImage makVrf::DtPlanListBoxItem::theCurrentArrow
staticprotected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)