MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Properties
DtPropertyListView Class Reference

A class to display a list (properties) alternating the colors of the rows. More...

+ Inheritance diagram for DtPropertyListView:
+ Collaboration diagram for DtPropertyListView:

Public Member Functions

 DtPropertyListView (QWidget *parent=0)
 DtPropertyListView (QColor, QColor, bool drawBorder=true, QWidget *parent=0)
 DtPropertyListView (const DtPropertyListView &orig)
virtual ~DtPropertyListView ()
virtual void expandAll ()
virtual void collapseAll ()
virtual DtPropertyListViewItemaddProperty (const DtProperty &, QTreeWidgetItem *parentTree=0)
virtual DtPropertyListViewItemaddToProperty (const DtProperty &)
virtual bool setProperty (QString prop, QVariant value)
virtual bool setProperty (QString prop, QString sub, QVariant value)
virtual bool setProperty (QString prop, QString sub, QString sub2, QVariant value)
virtual DtPropertyproperty (QString prop)
virtual DtPropertyproperty (QString prop, QString sub)
virtual DtPropertyproperty (QString prop, QString sub, QString sub2)
virtual QColor backgroundColor1 () const
virtual QColor backgroundColor2 () const
virtual QColor groupForegroundColor () const
virtual void setGroupForegroundColor (const QColor &color)
virtual DtPropertyListViewStyle backgroundStyle () const
virtual void setBackgroundStyle (const DtPropertyListViewStyle &style)
virtual bool drawCellBorder ()
virtual QColor cellBorderColor () const
virtual void setCellBorderColor (const QColor &color)
virtual QWidgeteditorBox ()
virtual bool alphaSorted () const
int attributeNameColumn () const
int attributeValueColumn () const

Protected Slots

virtual void headerClicked (int column)
virtual void headerSizeChanged ()

Protected Member Functions

virtual void init ()
virtual void resizeEvent (QResizeEvent *)
virtual void resizeValueColumn (QSize size)

Protected Attributes

QColor myBackColor1
QColor myBackColor2
QColor myCellBorder
QColor myGroupForeColor
bool myAlphaSorted
bool myDrawCellBorder
bool myEditable
QWidgetmyEditorBox
const QString myAttributeName
const QString myValueName
DtProperty myRoot
DtPropertyListViewItemmySelected
DtPropertyListViewStyle myBackStyle

Properties

QColor cellBorderColor
QColor backgroundColor1
QColor backgroundColor2
QColor groupForegroundColor

Detailed Description

A class to display a list (properties) alternating the colors of the rows.

A class that displays a list (properties) alternating the colors of the rows. The information displayed is query-able, settable, and sortable. NOTE that the property sheet UI pattern only allows for top-level properties and one level of sub-property children (see the Qt 3.X Designer for an example) and the API to this class reflects that.

Constructor & Destructor Documentation

DtPropertyListView::DtPropertyListView ( QWidget parent = 0)
DtPropertyListView::DtPropertyListView ( QColor  ,
QColor  ,
bool  drawBorder = true,
QWidget parent = 0 
)
DtPropertyListView::DtPropertyListView ( const DtPropertyListView orig)
virtual DtPropertyListView::~DtPropertyListView ( )
virtual

Member Function Documentation

virtual DtPropertyListViewItem* DtPropertyListView::addProperty ( const DtProperty ,
QTreeWidgetItem parentTree = 0 
)
virtual
virtual DtPropertyListViewItem* DtPropertyListView::addToProperty ( const DtProperty )
virtual
virtual bool DtPropertyListView::alphaSorted ( ) const
virtual
int DtPropertyListView::attributeNameColumn ( ) const
int DtPropertyListView::attributeValueColumn ( ) const
virtual QColor DtPropertyListView::backgroundColor1 ( ) const
inlinevirtual
virtual QColor DtPropertyListView::backgroundColor2 ( ) const
inlinevirtual
virtual DtPropertyListViewStyle DtPropertyListView::backgroundStyle ( ) const
virtual
virtual QColor DtPropertyListView::cellBorderColor ( ) const
virtual
virtual void DtPropertyListView::collapseAll ( )
virtual
virtual bool DtPropertyListView::drawCellBorder ( )
inlinevirtual
virtual QWidget* DtPropertyListView::editorBox ( )
inlinevirtual
virtual void DtPropertyListView::expandAll ( )
virtual
virtual QColor DtPropertyListView::groupForegroundColor ( ) const
virtual
virtual void DtPropertyListView::headerClicked ( int  column)
protectedvirtualslot
virtual void DtPropertyListView::headerSizeChanged ( )
protectedvirtualslot
virtual void DtPropertyListView::init ( )
protectedvirtual
virtual DtProperty* DtPropertyListView::property ( QString  prop)
virtual
virtual DtProperty* DtPropertyListView::property ( QString  prop,
QString  sub 
)
virtual
virtual DtProperty* DtPropertyListView::property ( QString  prop,
QString  sub,
QString  sub2 
)
virtual
virtual void DtPropertyListView::resizeEvent ( QResizeEvent *  )
protectedvirtual
virtual void DtPropertyListView::resizeValueColumn ( QSize  size)
protectedvirtual
virtual void DtPropertyListView::setBackgroundStyle ( const DtPropertyListViewStyle style)
virtual
virtual void DtPropertyListView::setCellBorderColor ( const QColor &  color)
virtual
virtual void DtPropertyListView::setGroupForegroundColor ( const QColor &  color)
virtual
virtual bool DtPropertyListView::setProperty ( QString  prop,
QVariant  value 
)
virtual
virtual bool DtPropertyListView::setProperty ( QString  prop,
QString  sub,
QVariant  value 
)
virtual
virtual bool DtPropertyListView::setProperty ( QString  prop,
QString  sub,
QString  sub2,
QVariant  value 
)
virtual

Member Data Documentation

bool DtPropertyListView::myAlphaSorted
protected
const QString DtPropertyListView::myAttributeName
protected
QColor DtPropertyListView::myBackColor1
protected
QColor DtPropertyListView::myBackColor2
protected
DtPropertyListViewStyle DtPropertyListView::myBackStyle
protected
QColor DtPropertyListView::myCellBorder
protected
bool DtPropertyListView::myDrawCellBorder
protected
bool DtPropertyListView::myEditable
protected
QWidget* DtPropertyListView::myEditorBox
protected
QColor DtPropertyListView::myGroupForeColor
protected
DtProperty DtPropertyListView::myRoot
protected
DtPropertyListViewItem* DtPropertyListView::mySelected
protected
const QString DtPropertyListView::myValueName
protected

Property Documentation

QColor DtPropertyListView::backgroundColor1
read
QColor DtPropertyListView::backgroundColor2
read
QColor DtPropertyListView::cellBorderColor
readwrite
QColor DtPropertyListView::groupForegroundColor
readwrite

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

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)