Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QSize QWidget::sizeHint [read, inherited]

the recommended size for the widget

If the value of this property is an invalid size, no size is recommended.

The default implementation of sizeHint() returns an invalid size if there is no layout for this widget, and returns the layout's preferred size otherwise.

See also:
QSize::isValid(), minimumSizeHint(), sizePolicy(), setMinimumSize(), updateGeometry()

Definition at line 182 of file qwidget.h.

Referenced by QWorkspace::addWindow(), Q3Table::adjustColumn(), Q3Table::adjustRow(), QWidget::adjustSize(), Q3MainWindow::event(), QWidget::restoreGeometry(), QWidgetItem::setGeometry(), QScrollArea::setWidget(), Q3TableItem::sizeHint(), Q3WidgetStack::sizeHint(), QStackedLayout::sizeHint(), QSplitter::sizeHint(), QFrame::sizeHint(), QDialog::sizeHint(), QWidgetItem::sizeHint(), and Q3FileDialog::updateGeometries().


Generated by  Doxygen 1.6.0   Back to index