Qt 4.8
Public Functions | Public Variables | List of all members
QHeaderViewPrivate::SectionSpan Struct Reference

#include <qheaderview_p.h>

Public Functions

void read (QDataStream &in)
 
int sectionSize () const
 
 SectionSpan ()
 
 SectionSpan (int length, int sections, QHeaderView::ResizeMode mode)
 
void write (QDataStream &out) const
 

Public Variables

int count
 
QHeaderView::ResizeMode resizeMode
 
int size
 

Detailed Description

Definition at line 287 of file qheaderview_p.h.

Constructors and Destructors

◆ SectionSpan() [1/2]

QHeaderViewPrivate::SectionSpan::SectionSpan ( )
inline

◆ SectionSpan() [2/2]

QHeaderViewPrivate::SectionSpan::SectionSpan ( int  length,
int  sections,
QHeaderView::ResizeMode  mode 
)
inline

Definition at line 292 of file qheaderview_p.h.

Functions

◆ read()

void QHeaderViewPrivate::SectionSpan::read ( QDataStream in)
inline

Definition at line 298 of file qheaderview_p.h.

Referenced by operator>>(), and QHeaderViewPrivate::sectionSpanIndex().

299  { in >> size; in >> count; int m; in >> m; resizeMode = (QHeaderView::ResizeMode)m; }
ResizeMode
The resize mode specifies the behavior of the header sections.
Definition: qheaderview.h:72
QHeaderView::ResizeMode resizeMode

◆ sectionSize()

int QHeaderViewPrivate::SectionSpan::sectionSize ( ) const
inline

◆ write()

void QHeaderViewPrivate::SectionSpan::write ( QDataStream out) const
inline

Definition at line 296 of file qheaderview_p.h.

Referenced by operator<<(), and QHeaderViewPrivate::sectionSpanIndex().

297  { out << size; out << count; out << (int)resizeMode; }
QHeaderView::ResizeMode resizeMode

Properties

◆ count

int QHeaderViewPrivate::SectionSpan::count

◆ resizeMode

QHeaderView::ResizeMode QHeaderViewPrivate::SectionSpan::resizeMode

Definition at line 290 of file qheaderview_p.h.

Referenced by QHeaderViewPrivate::createSectionSpan().

◆ size

int QHeaderViewPrivate::SectionSpan::size

The documentation for this struct was generated from the following file: