10 #ifndef QWT_DYNGRID_LAYOUT_H 11 #define QWT_DYNGRID_LAYOUT_H 16 template <
typename T>
class QList;
38 void setMaxColumns( uint maxColumns );
39 uint maxColumns()
const;
41 uint numRows ()
const;
42 uint numColumns ()
const;
46 virtual QLayoutItem *itemAt(
int index )
const QWT_OVERRIDE;
50 void setExpandingDirections( Qt::Orientations );
51 virtual Qt::Orientations expandingDirections()
const QWT_OVERRIDE;
52 QList<QRect> layoutItems(
const QRect &, uint numColumns )
const;
54 virtual int maxItemWidth()
const;
64 uint itemCount()
const;
66 virtual uint columnsForWidth(
int width )
const;
70 void layoutGrid( uint numColumns,
73 void stretchGrid(
const QRect &rect, uint numColumns,
78 int maxRowWidth(
int numColumns )
const;
The QwtDynGridLayout class lays out widgets in a grid, adjusting the number of columns and rows to th...