14 #include <QtGui/QTreeWidget>
15 #include <QtGui/QColor>
20 class DtPropertyListViewItem;
45 Q_PROPERTY( QColor cellBorderColor READ cellBorderColor WRITE setCellBorderColor );
46 Q_PROPERTY( QColor backgroundColor1 READ backgroundColor1 );
47 Q_PROPERTY( QColor backgroundColor2 READ backgroundColor2 );
48 Q_PROPERTY( QColor groupForegroundColor READ groupForegroundColor WRITE setGroupForegroundColor );
54 Column_AttributeName = 0,
66 virtual void expandAll();
69 virtual void collapseAll();
74 virtual bool setProperty( QString prop, QVariant value );
75 virtual bool setProperty( QString prop, QString sub, QVariant value );
76 virtual bool setProperty( QString prop, QString sub, QString sub2, QVariant value );
79 virtual DtProperty* property( QString prop )
const;
80 virtual DtProperty* property( QString prop, QString sub )
const;
81 virtual DtProperty* property( QString prop, QString sub, QString sub2 )
const;
90 virtual QColor groupForegroundColor()
const;
91 virtual void setGroupForegroundColor(
const QColor& color);
101 virtual QColor cellBorderColor()
const;
102 virtual void setCellBorderColor(
const QColor& color);
106 virtual bool alphaSorted()
const;
110 virtual void headerClicked(
int column );
111 virtual void headerSizeChanged();
118 virtual void resizeEvent( QResizeEvent* );
121 virtual void resizeValueColumn( QSize size );