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

Displays the headers set with setHeaders() instead of the header from the model. More...

#include <eheaderviewcustom.h>

+ Inheritance diagram for EHeaderViewCustom:
+ Collaboration diagram for EHeaderViewCustom:

Public Member Functions

 EHeaderViewCustom (Qt::Orientation orientation, QWidget *parent=NULL)
 
 EHeaderViewCustom (QStringList headerList, Qt::Orientation orientation, QWidget *parent=NULL)
 
void setHeaders (QStringList headerList)
 
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 Attributes

QStringList _headerList
 

Detailed Description

Displays the headers set with setHeaders() instead of the header from the model.

See Also
EHeaderViewSpanned
EHeaderViewVerticalText

Constructor & Destructor Documentation

EHeaderViewCustom::EHeaderViewCustom ( Qt::Orientation  orientation,
QWidget *  parent = NULL 
)
EHeaderViewCustom::EHeaderViewCustom ( QStringList  headerList,
Qt::Orientation  orientation,
QWidget *  parent = NULL 
)

+ Here is the call graph for this function:

Member Function Documentation

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

+ Here is the call graph for this function:

QSize EHeaderViewCustom::sectionSizeFromContents ( int  logicalIndex) const
void EHeaderViewCustom::setHeaders ( QStringList  headerList)

+ Here is the caller graph for this function:

Member Data Documentation

QStringList EHeaderViewCustom::_headerList
private

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