TCategoryTreeView Class

导航树 More...

Header: #include <TCategoryTreeView>
Inherits: TTreeView

Properties

Public Functions

TCategoryTreeView(QWidget *parent = 0)
~TCategoryTreeView()

Public Slots

QString displayFormat() const
bool isCheckable() const
void refresh()
void restorSaveState(const QString &iData)
QString saveState()
QAbstractItemView::SelectionMode selectionMode() const
void setCheckable(bool iCheckableBol)
void setDisplayFormat(QString iDisplayFormatStr)
void setHeaderLabel(const QString pLabelStr)
void setItemList(QList<QVariant> iItemLst)
void setSelectionMode(QAbstractItemView::SelectionMode iSelectionMode = QAbstractItemView::SingleSelection)
void updateCount(QVariantMap iCountVarMap)

Signals

void selectionChanged(QVariantList iSelectionDataVarLst)

Additional Inherited Members

Detailed Description

导航树

Property Documentation

checkable : bool

Access functions:

bool isCheckable() const
void setCheckable(bool iCheckableBol)

displayFormat : QString

Access functions:

QString displayFormat() const
void setDisplayFormat(QString iDisplayFormatStr)

selectionMode : QAbstractItemView::SelectionMode

Access functions:

QAbstractItemView::SelectionMode selectionMode() const
void setSelectionMode(QAbstractItemView::SelectionMode iSelectionMode = QAbstractItemView::SingleSelection)

Member Function Documentation

TCategoryTreeView::TCategoryTreeView(QWidget *parent = 0)

Default constructs an instance of TCategoryTreeView.

TCategoryTreeView::~TCategoryTreeView()

Destroys the instance of TCategoryTreeView.

[slot] void TCategoryTreeView::refresh()

[slot] void TCategoryTreeView::restorSaveState(const QString &iData)

[slot] QString TCategoryTreeView::saveState()

[signal] void TCategoryTreeView::selectionChanged(QVariantList iSelectionDataVarLst)

[slot] void TCategoryTreeView::setHeaderLabel(const QString pLabelStr)

[slot] void TCategoryTreeView::setItemList(QList<QVariant> iItemLst)

[slot] void TCategoryTreeView::updateCount(QVariantMap iCountVarMap)