Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QHeaderViewPrivate::SectionItem Struct Reference

#include <qheaderview_p.h>

+ Collaboration diagram for QHeaderViewPrivate::SectionItem:

Public Member Functions

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

Public Attributes

uint size: 20
 
uint isHidden: 1
 
uint resizeMode: 5
 
uint currentlyUnusedPadding: 6
 
union { 
 
   int   calculated_startpos 
 
   int   tmpLogIdx 
 
   int   tmpDataStreamSectionCount 
 
};  
 

Detailed Description

Definition at line 289 of file qheaderview_p.h.

Constructor & Destructor Documentation

◆ SectionItem() [1/2]

QHeaderViewPrivate::SectionItem::SectionItem ( )
inline

Definition at line 301 of file qheaderview_p.h.

◆ SectionItem() [2/2]

QHeaderViewPrivate::SectionItem::SectionItem ( int length,
QHeaderView::ResizeMode mode )
inline

Definition at line 302 of file qheaderview_p.h.

Member Function Documentation

◆ calculatedEndPos()

int QHeaderViewPrivate::SectionItem::calculatedEndPos ( ) const
inline

Definition at line 305 of file qheaderview_p.h.

References calculated_startpos, and size.

◆ read()

void QHeaderViewPrivate::SectionItem::read ( QDataStream & in)
inline

Definition at line 309 of file qheaderview_p.h.

References resizeMode, and tmpDataStreamSectionCount.

Referenced by operator>>().

+ Here is the caller graph for this function:

◆ sectionSize()

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

Definition at line 304 of file qheaderview_p.h.

References size.

◆ write()

void QHeaderViewPrivate::SectionItem::write ( QDataStream & out) const
inline

Definition at line 307 of file qheaderview_p.h.

References out, and resizeMode.

Referenced by operator<<().

+ Here is the caller graph for this function:

Member Data Documentation

◆ [union]

◆ calculated_startpos

int QHeaderViewPrivate::SectionItem::calculated_startpos
mutable

Definition at line 296 of file qheaderview_p.h.

Referenced by calculatedEndPos().

◆ currentlyUnusedPadding

uint QHeaderViewPrivate::SectionItem::currentlyUnusedPadding

Definition at line 293 of file qheaderview_p.h.

◆ isHidden

uint QHeaderViewPrivate::SectionItem::isHidden

Definition at line 291 of file qheaderview_p.h.

◆ resizeMode

uint QHeaderViewPrivate::SectionItem::resizeMode

Definition at line 292 of file qheaderview_p.h.

Referenced by read(), and write().

◆ size

uint QHeaderViewPrivate::SectionItem::size

Definition at line 290 of file qheaderview_p.h.

Referenced by calculatedEndPos(), and sectionSize().

◆ tmpDataStreamSectionCount

int QHeaderViewPrivate::SectionItem::tmpDataStreamSectionCount

Definition at line 298 of file qheaderview_p.h.

Referenced by read().

◆ tmpLogIdx

int QHeaderViewPrivate::SectionItem::tmpLogIdx
mutable

Definition at line 297 of file qheaderview_p.h.


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