MAK RTIspy API Documentation for HLA 1516
List of all members | Public Member Functions | Protected Attributes
DtPropertyListViewItem Class Reference

A class to draw items in a DtPropertyListView. More...

+ Inheritance diagram for DtPropertyListViewItem:
+ Collaboration diagram for DtPropertyListViewItem:

Public Member Functions

 DtPropertyListViewItem (DtPropertyListView *, const DtProperty *)
 DtPropertyListViewItem (QTreeWidgetItem *, const DtProperty *)
virtual ~DtPropertyListViewItem ()
virtual void expandAll ()
virtual void collapseAll ()
virtual DtPropertyEditorWidgeteditor ()
virtual void setEditorText (const QString &)
virtual QString editorText ()
virtual bool operator< (const QTreeWidgetItem &) const
virtual bool operator< (const DtPropertyListViewItem &) const
DtPropertyproperty ()
const DtPropertyproperty () const
void setChanged (bool)
void setShowCheckBox (bool)
bool showCheckBox () const

Protected Attributes

DtPropertyEditorWidgetmyEditor
DtPropertymyProperty
bool myIsChanged
bool myShowCheckBox

Detailed Description

A class to draw items in a DtPropertyListView.

A class that draws the items, in rows of alternating colors, in a DtPropertySheet. This is the base class for the property-specific items that contain editors. Items that don't require any kind of editor can just use this class. Subclasses need to implement methods to return an editor specific to the type of property being displayed.

Constructor & Destructor Documentation

DtPropertyListViewItem::DtPropertyListViewItem ( DtPropertyListView view,
const DtProperty prop 
)

References myProperty.

DtPropertyListViewItem::DtPropertyListViewItem ( QTreeWidgetItem after,
const DtProperty prop 
)

References myProperty.

DtPropertyListViewItem::~DtPropertyListViewItem ( )
virtual

References myEditor, and myProperty.

Member Function Documentation

void DtPropertyListViewItem::collapseAll ( )
virtual
DtPropertyEditorWidget * DtPropertyListViewItem::editor ( )
virtual
virtual QString DtPropertyListViewItem::editorText ( )
inlinevirtual
void DtPropertyListViewItem::expandAll ( )
virtual

References expandAll().

Referenced by expandAll(), and DtPropertyListView::expandAll().

bool DtPropertyListViewItem::operator< ( const QTreeWidgetItem other) const
virtual
bool DtPropertyListViewItem::operator< ( const DtPropertyListViewItem other) const
virtual

References property().

DtProperty * DtPropertyListViewItem::property ( )
const DtProperty * DtPropertyListViewItem::property ( ) const

References myProperty.

void DtPropertyListViewItem::setChanged ( bool  value)
virtual void DtPropertyListViewItem::setEditorText ( const QString &  )
inlinevirtual
void DtPropertyListViewItem::setShowCheckBox ( bool  value)

References myShowCheckBox.

bool DtPropertyListViewItem::showCheckBox ( ) const

References myShowCheckBox.

Member Data Documentation

DtPropertyEditorWidget* DtPropertyListViewItem::myEditor
protected

Referenced by editor(), and ~DtPropertyListViewItem().

bool DtPropertyListViewItem::myIsChanged
protected

Referenced by setChanged().

DtProperty* DtPropertyListViewItem::myProperty
protected
bool DtPropertyListViewItem::myShowCheckBox
protected

Referenced by setShowCheckBox(), and showCheckBox().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)