TCategoryTreeView Class
导航树 More...
Header: | #include <TCategoryTreeView> |
Inherits: | TTreeView |
Properties
- checkable : bool
- displayFormat : QString
- selectionMode : QAbstractItemView::SelectionMode
- 1 property inherited from TTreeView
- 11 properties inherited from QTreeView
- 16 properties inherited from QAbstractItemView
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
Public Functions
TCategoryTreeView(QWidget *parent = 0) | |
~TCategoryTreeView() |
- 1 public function inherited from TTreeView
- 52 public functions inherited from QTreeView
- 57 public functions inherited from QAbstractItemView
- 20 public functions inherited from QAbstractScrollArea
- 14 public functions inherited from QFrame
- 213 public functions inherited from QWidget
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) |
- 71 public slots inherited from TTreeView
- 8 public slots inherited from QTreeView
- 9 public slots inherited from TUiInterface
- 9 public slots inherited from QAbstractItemView
- 19 public slots inherited from QWidget
Signals
void | selectionChanged(QVariantList iSelectionDataVarLst) |
- 8 signals inherited from TTreeView
- 2 signals inherited from QTreeView
- 1 signal inherited from TUiInterface
- 7 signals inherited from QAbstractItemView
- 3 signals inherited from QWidget
Additional Inherited Members
- 1 static public member inherited from TTreeView
- 5 static public members inherited from QWidget
- 29 protected functions inherited from QTreeView
- 2 protected functions inherited from TUiInterface
- 37 protected functions inherited from QAbstractItemView
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 4 protected slots inherited from QTreeView
- 9 protected slots inherited from QAbstractItemView
- 1 protected slot inherited from QWidget
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.