14 #include <QTreeWidget>
15 #include <QtGui/QColor>
43 Q_PROPERTY( QColor cellBorderColor READ cellBorderColor WRITE setCellBorderColor )
44 Q_PROPERTY( QColor backgroundColor1 READ backgroundColor1 )
45 Q_PROPERTY( QColor backgroundColor2 READ backgroundColor2 )
46 Q_PROPERTY( QColor groupForegroundColor READ groupForegroundColor WRITE setGroupForegroundColor)
56 virtual
void expandAll();
59 virtual
void collapseAll();
64 virtual
bool setProperty(QString prop, QVariant value);
65 virtual
bool setProperty(QString prop, QString sub, QVariant value);
66 virtual
bool setProperty(QString prop, QString sub, QString sub2, QVariant value);
69 virtual DtProperty* property(QString prop);
70 virtual DtProperty* property(QString prop, QString sub);
71 virtual DtProperty* property(QString prop, QString sub, QString sub2);
74 virtual QColor backgroundColor1()
const {
return myBackColor1; };
80 virtual QColor groupForegroundColor()
const;
81 virtual void setGroupForegroundColor(
const QColor& color);
91 virtual QColor cellBorderColor()
const;
92 virtual void setCellBorderColor(
const QColor& color);
96 virtual bool alphaSorted()
const;
98 int attributeNameColumn()
const;
99 int attributeValueColumn()
const;
103 virtual void headerClicked(
int column);
104 virtual void headerSizeChanged();
110 virtual void resizeEvent(QResizeEvent*);
113 virtual void resizeValueColumn(QSize size);
QColor myGroupForeColor
Definition: propertyListView.h:118
A property class.
Definition: property.h:25
Definition: propertyListView.h:26
QColor myBackColor2
Definition: propertyListView.h:116
DtPropertyListViewStyle
Definition: propertyListView.h:21
const QString myAttributeName
Definition: propertyListView.h:125
const QString myValueName
Definition: propertyListView.h:126
virtual bool drawCellBorder()
Definition: propertyListView.h:88
DtPropertyType is the abstract base class for property types.
Definition: propertyType.h:20
Definition: propertyListView.h:23
virtual QColor backgroundColor2() const
Definition: propertyListView.h:77
DtPropertyListViewStyle myBackStyle
Definition: propertyListView.h:131
DtPropertyListViewItem * mySelected
Definition: propertyListView.h:129
QColor myCellBorder
Definition: propertyListView.h:117
A class to draw items in a DtPropertyListView.
Definition: propertyListViewItem.h:36
A class to display a list (properties) alternating the colors of the rows.
Definition: propertyListView.h:38
DtProperty myRoot
Definition: propertyListView.h:128
bool myAlphaSorted
Definition: propertyListView.h:120
virtual QWidget * editorBox()
Definition: propertyListView.h:94
Definition: propertyListView.h:27
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
QColor myBackColor1
Definition: propertyListView.h:115
Definition: propertyListView.h:25
QWidget * myEditorBox
Definition: propertyListView.h:124
Definition: propertyListView.h:24
bool myDrawCellBorder
Definition: propertyListView.h:121
bool myEditable
Definition: propertyListView.h:123