Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <QmitkPatientTableHeaderView.h>
Public Types | |
enum | HeaderDataModelRoles { HorizontalHeaderDataRole } |
Public Member Functions | |
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... | |
Protected Member Functions | |
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... | |
Definition at line 27 of file QmitkPatientTableHeaderView.h.
Enumerator | |
---|---|
HorizontalHeaderDataRole |
Definition at line 36 of file QmitkPatientTableHeaderView.h.
QmitkPatientTableHeaderView::QmitkPatientTableHeaderView | ( | QWidget * | parent = nullptr | ) |
Definition at line 20 of file QmitkPatientTableHeaderView.cpp.
|
override |
Definition at line 27 of file QmitkPatientTableHeaderView.cpp.
|
overrideprotected |
Paint each header using 'PaintHeader'. This function is overwritten from QHeaderView.
Definition at line 44 of file QmitkPatientTableHeaderView.cpp.
|
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.
Definition at line 63 of file QmitkPatientTableHeaderView.cpp.
|
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.
Definition at line 32 of file QmitkPatientTableHeaderView.cpp.
References HorizontalHeaderDataRole.