Public Types | Public Member Functions | Protected Member Functions | List of all members
iwidgets::CHierarchicalHeaderView Class Reference

Hierarchical header view for QTableView. More...

#include <CHierarchicalHeaderView.h>

Inheritance diagram for iwidgets::CHierarchicalHeaderView:

Public Types

enum  HeaderDataModelRoles { HorizontalHeaderDataRole =Qt::UserRole, VerticalHeaderDataRole =Qt::UserRole+1 }
 
typedef QHeaderView BaseClass
 

Public Member Functions

 CHierarchicalHeaderView (Qt::Orientation orientation, QWidget *parent=0)
 
virtual void setModel (QAbstractItemModel *model)
 

Protected Member Functions

virtual void paintSection (QPainter *painter, const QRect &rect, int logicalIndex) const
 
virtual QSize sectionSizeFromContents (int logicalIndex) const
 

Detailed Description

Hierarchical header view for QTableView.

Definition at line 21 of file CHierarchicalHeaderView.h.

Member Typedef Documentation

Definition at line 25 of file CHierarchicalHeaderView.h.

Member Enumeration Documentation

Enumerator
HorizontalHeaderDataRole 
VerticalHeaderDataRole 

Definition at line 27 of file CHierarchicalHeaderView.h.

Constructor & Destructor Documentation

iwidgets::CHierarchicalHeaderView::CHierarchicalHeaderView ( Qt::Orientation  orientation,
QWidget *  parent = 0 
)

Member Function Documentation

virtual void iwidgets::CHierarchicalHeaderView::paintSection ( QPainter *  painter,
const QRect &  rect,
int  logicalIndex 
) const
protectedvirtual
virtual QSize iwidgets::CHierarchicalHeaderView::sectionSizeFromContents ( int  logicalIndex) const
protectedvirtual
virtual void iwidgets::CHierarchicalHeaderView::setModel ( QAbstractItemModel *  model)
virtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy