LibEngsas
Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
EHeaderViewSpanned Class Reference

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>

+ Inheritance diagram for EHeaderViewSpanned:
+ Collaboration diagram for EHeaderViewSpanned:

Public Member Functions

 EHeaderViewSpanned (Qt::Orientation orientation, QWidget *parent=NULL)
 
void setSpanned (int spanFirst, int spanLast, const QString &title)
 
QSize sectionSizeFromContents (int logicalIndex) const
 
- Public Member Functions inherited from EHeaderViewBase
 EHeaderViewBase (Qt::Orientation orientation, QWidget *parent=NULL)
 
 ~EHeaderViewBase ()
 

Protected Member Functions

void paintSection (QPainter *painter, const QRect &rect, int logicalIndex) const
 
- Protected Member Functions inherited from EHeaderViewBase
QStyleOptionHeader styleOptionHeader (const QRect &rect, int logicalIndex) const
 

Private Slots

void spannedSectionResized (int logicalIndex, int oldSize, int newSize)
 

Private Member Functions

bool isSpanned (int logicalIndex) const
 

Private Attributes

int _spanFirst
 
int _spanLast
 
QString _spanTitle
 

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 
)

+ Here is the call graph for this function:

Member Function Documentation

bool EHeaderViewSpanned::isSpanned ( int  logicalIndex) const
private

+ Here is the caller graph for this function:

void EHeaderViewSpanned::paintSection ( QPainter *  painter,
const QRect &  rect,
int  logicalIndex 
) const
protected

+ Here is the call graph for this function:

QSize EHeaderViewSpanned::sectionSizeFromContents ( int  logicalIndex) const

+ Here is the call graph for this function:

void EHeaderViewSpanned::setSpanned ( int  spanFirst,
int  spanLast,
const QString &  title 
)
void EHeaderViewSpanned::spannedSectionResized ( int  logicalIndex,
int  oldSize,
int  newSize 
)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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: