36 virtual void invalidate() QWT_OVERRIDE;
38 void setMaxColumns( uint maxColumns );
39 uint maxColumns()
const;
41 uint numRows ()
const;
42 uint numColumns ()
const;
44 virtual void addItem( QLayoutItem* ) QWT_OVERRIDE;
46 virtual QLayoutItem* itemAt(
int index )
const QWT_OVERRIDE;
47 virtual QLayoutItem* takeAt(
int index ) QWT_OVERRIDE;
48 virtual int count()
const QWT_OVERRIDE;
50 void setExpandingDirections( Qt::Orientations );
51 virtual Qt::Orientations expandingDirections()
const QWT_OVERRIDE;
54 virtual int maxItemWidth()
const;
56 virtual void setGeometry(
const QRect& ) QWT_OVERRIDE;
58 virtual bool hasHeightForWidth()
const QWT_OVERRIDE;
59 virtual int heightForWidth(
int )
const QWT_OVERRIDE;
61 virtual QSize sizeHint()
const QWT_OVERRIDE;
63 virtual bool isEmpty()
const QWT_OVERRIDE;
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;