The spanned sections are labeled with the title set by setSpanned() in the first row of the header and the model header data in the second row of the header. All other sections are labeled only with the model data.
More...
#include <eheaderviewspanned.h>
Protected Member Functions |
void | paintSection (QPainter *painter, const QRect &rect, int logicalIndex) const |
Private Member Functions |
bool | isSpanned (int logicalIndex) const |
Detailed Description
The spanned sections are labeled with the title set by setSpanned() in the first row of the header and the model header data in the second row of the header. All other sections are labeled only with the model data.
- See Also
- EHeaderViewCustom
-
EHeaderViewVerticalText
Constructor & Destructor Documentation
EHeaderViewSpanned::EHeaderViewSpanned |
( |
Qt::Orientation |
orientation, |
|
|
QWidget * |
parent = NULL |
|
) |
| |
Member Function Documentation
bool EHeaderViewSpanned::isSpanned |
( |
int |
logicalIndex | ) |
const |
|
private |
void EHeaderViewSpanned::paintSection |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
int |
logicalIndex |
|
) |
| const |
|
protected |
QSize EHeaderViewSpanned::sectionSizeFromContents |
( |
int |
logicalIndex | ) |
const |
void EHeaderViewSpanned::setSpanned |
( |
int |
spanFirst, |
|
|
int |
spanLast, |
|
|
const QString & |
title |
|
) |
| |
void EHeaderViewSpanned::spannedSectionResized |
( |
int |
logicalIndex, |
|
|
int |
oldSize, |
|
|
int |
newSize |
|
) |
| |
|
privateslot |
Member Data Documentation
int EHeaderViewSpanned::_spanFirst |
|
private |
int EHeaderViewSpanned::_spanLast |
|
private |
QString EHeaderViewSpanned::_spanTitle |
|
private |
The documentation for this class was generated from the following files: