THeaderView Class
表头 More...
Header: | #include <THeaderView> |
Inherits: | QHeaderView |
Public Functions
THeaderView(Qt::Orientation orientation, QWidget *parent = nullptr) |
- 61 public functions inherited from QHeaderView
- 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
void | onHeadCheckStateChanged(const QModelIndex &index) |
- 4 public slots inherited from QHeaderView
- 9 public slots inherited from QAbstractItemView
- 19 public slots inherited from QWidget
Signals
void | headCheckBoxToggled(int iIndex, int iCheckedData) |
- 10 signals inherited from QHeaderView
- 7 signals inherited from QAbstractItemView
- 3 signals inherited from QWidget
Protected Functions
THeaderModel * | headerModel() const |
void | sectionRange(const THeaderNode *node, int &left, int &right) |
- 14 protected functions inherited from QHeaderView
- 37 protected functions inherited from QAbstractItemView
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 8 properties inherited from QHeaderView
- 16 properties inherited from QAbstractItemView
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
- 5 static public members inherited from QWidget
- 3 protected slots inherited from QHeaderView
- 9 protected slots inherited from QAbstractItemView
- 1 protected slot inherited from QWidget
Detailed Description
表头
可展示多级表头。
Warning: THeaderView用来展示多级表头时,不能使用restoreGeometry(),这样会导致多级表头列的关系被破坏,显示混乱。
Member Function Documentation
THeaderView::THeaderView(Qt::Orientation orientation, QWidget *parent = nullptr)
Default constructs an instance of THeaderView.