QskLayoutChain

Public Types

  Name
enum FillMode { Leading = 1 « 0, Trailing = 1 « 1}
typedef QVector< Segment > Segments

Public Functions

  Name
  QskLayoutChain()
  ~QskLayoutChain()
void invalidate()
void reset(int count, qreal constraint)
void expandCell(int index, const CellData & newCell)
void expandCells(int start, int end, const CellData & multiCell)
void shrinkCell(int index, const CellData & newCell)
void finish()
const CellData & cell(int index) const
bool setSpacing(qreal spacing)
qreal spacing() const
void setFillMode(int mode)
int fillMode() const
Segments segments(qreal size) const
QskLayoutHint boundingHint() const
qreal constraint() const
int count() const

Public Types Documentation

enum FillMode

Enumerator Value Description
Leading 1 « 0  
Trailing 1 « 1  

typedef Segments

typedef QVector< Segment > QskLayoutChain::Segments;

Public Functions Documentation

function QskLayoutChain

QskLayoutChain()

function ~QskLayoutChain

~QskLayoutChain()

function invalidate

void invalidate()

function reset

void reset(
    int count,
    qreal constraint
)

function expandCell

void expandCell(
    int index,
    const CellData & newCell
)

function expandCells

void expandCells(
    int start,
    int end,
    const CellData & multiCell
)

function shrinkCell

void shrinkCell(
    int index,
    const CellData & newCell
)

function finish

void finish()

function cell

inline const CellData & cell(
    int index
) const

function setSpacing

bool setSpacing(
    qreal spacing
)

function spacing

inline qreal spacing() const

function setFillMode

inline void setFillMode(
    int mode
)

function fillMode

inline int fillMode() const

function segments

Segments segments(
    qreal size
) const

function boundingHint

inline QskLayoutHint boundingHint() const

function constraint

inline qreal constraint() const

function count

inline int count() const

Updated on 28 July 2023 at 14:02:28 CEST