QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskLayoutChain Class Reference

Detailed Description

Definition at line 15 of file QskLayoutChain.h.

Classes

class  CellData
 
class  Segment
 

Public Types

enum  FillMode { Leading = 1 << 0 , Trailing = 1 << 1 }
 
typedef QVector< SegmentSegments
 

Public Member Functions

void invalidate ()
 
void reset (int count, qreal constraint)
 
void expandCell (int index, const CellData &)
 
void expandCells (int start, int end, const CellData &)
 
void shrinkCell (int index, const CellData &)
 
void finish ()
 
const CellDatacell (int index) const
 
bool setSpacing (qreal spacing)
 
qreal spacing () const
 
void setFillMode (int mode)
 
int fillMode () const
 
Segments segments (qreal size) const
 
QskLayoutMetrics boundingMetrics () const
 
qreal constraint () const
 
int count () const
 

Member Typedef Documentation

◆ Segments

typedef QVector< Segment > QskLayoutChain::Segments

Definition at line 27 of file QskLayoutChain.h.

Member Enumeration Documentation

◆ FillMode

enum QskLayoutChain::FillMode

Definition at line 50 of file QskLayoutChain.h.

Constructor & Destructor Documentation

◆ QskLayoutChain()

QskLayoutChain::QskLayoutChain ( )

Definition at line 14 of file QskLayoutChain.cpp.

◆ ~QskLayoutChain()

QskLayoutChain::~QskLayoutChain ( )

Definition at line 18 of file QskLayoutChain.cpp.

Member Function Documentation

◆ boundingMetrics()

QskLayoutMetrics QskLayoutChain::boundingMetrics ( ) const
inline

Definition at line 76 of file QskLayoutChain.h.

◆ cell()

const CellData & QskLayoutChain::cell ( int  index) const
inline

Definition at line 67 of file QskLayoutChain.h.

◆ constraint()

qreal QskLayoutChain::constraint ( ) const
inline

Definition at line 78 of file QskLayoutChain.h.

◆ count()

int QskLayoutChain::count ( ) const
inline

Definition at line 79 of file QskLayoutChain.h.

◆ expandCell()

void QskLayoutChain::expandCell ( int  index,
const CellData newCell 
)

Definition at line 74 of file QskLayoutChain.cpp.

◆ expandCells()

void QskLayoutChain::expandCells ( int  start,
int  end,
const CellData multiCell 
)

Definition at line 99 of file QskLayoutChain.cpp.

◆ fillMode()

int QskLayoutChain::fillMode ( ) const
inline

Definition at line 73 of file QskLayoutChain.h.

◆ finish()

void QskLayoutChain::finish ( )

Definition at line 164 of file QskLayoutChain.cpp.

◆ invalidate()

void QskLayoutChain::invalidate ( )

Definition at line 22 of file QskLayoutChain.cpp.

◆ reset()

void QskLayoutChain::reset ( int  count,
qreal  constraint 
)

Definition at line 28 of file QskLayoutChain.cpp.

◆ segments()

QskLayoutChain::Segments QskLayoutChain::segments ( qreal  size) const

Definition at line 229 of file QskLayoutChain.cpp.

◆ setFillMode()

void QskLayoutChain::setFillMode ( int  mode)
inline

Definition at line 72 of file QskLayoutChain.h.

◆ setSpacing()

bool QskLayoutChain::setSpacing ( qreal  spacing)

Definition at line 218 of file QskLayoutChain.cpp.

◆ shrinkCell()

void QskLayoutChain::shrinkCell ( int  index,
const CellData newCell 
)

Definition at line 36 of file QskLayoutChain.cpp.

◆ spacing()

qreal QskLayoutChain::spacing ( ) const
inline

Definition at line 70 of file QskLayoutChain.h.