#include <QmitkPatientTableHeaderView.h>
|
| QmitkPatientTableHeaderView (QWidget *parent=nullptr) |
|
| ~QmitkPatientTableHeaderView () override |
|
void | setModel (QAbstractItemModel *model) override |
| Set the model of the table view of this header view. This model returns a standard item model for the 'HorizontalHeaderDataRole'-role. The header model has been previously filled with header data. This function is overwritten from QHeaderView. More...
|
|
|
void | paintSection (QPainter *painter, const QRect &rect, int logicalIndex) const override |
| Paint each header using 'PaintHeader'. This function is overwritten from QHeaderView. More...
|
|
QSize | sectionSizeFromContents (int logicalIndex) const override |
| Get the section size by retrieving the text content. The section size is dependent on the child and parent headers. This function is overwritten from QHeaderView. More...
|
|
◆ HeaderDataModelRoles
◆ QmitkPatientTableHeaderView()
QmitkPatientTableHeaderView::QmitkPatientTableHeaderView |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~QmitkPatientTableHeaderView()
QmitkPatientTableHeaderView::~QmitkPatientTableHeaderView |
( |
| ) |
|
|
override |
◆ paintSection()
void QmitkPatientTableHeaderView::paintSection |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
int |
logicalIndex |
|
) |
| const |
|
overrideprotected |
Paint each header using 'PaintHeader'. This function is overwritten from QHeaderView.
◆ sectionSizeFromContents()
QSize QmitkPatientTableHeaderView::sectionSizeFromContents |
( |
int |
logicalIndex | ) |
const |
|
overrideprotected |
Get the section size by retrieving the text content. The section size is dependent on the child and parent headers. This function is overwritten from QHeaderView.
◆ setModel()
void QmitkPatientTableHeaderView::setModel |
( |
QAbstractItemModel * |
model | ) |
|
|
override |
Set the model of the table view of this header view. This model returns a standard item model for the 'HorizontalHeaderDataRole'-role. The header model has been previously filled with header data. This function is overwritten from QHeaderView.
The documentation for this class was generated from the following file: