#include <QtCore/qconfig.h>
#include <QtGui/qwindowdefs.h>
#include <QtCore/qobject.h>
#include <QtCore/qmargins.h>
#include <QtGui/qpaintdevice.h>
#include <QtGui/qpalette.h>
#include <QtGui/qfont.h>
#include <QtGui/qfontmetrics.h>
#include <QtGui/qfontinfo.h>
#include <QtGui/qsizepolicy.h>
#include <QtGui/qregion.h>
#include <QtGui/qbrush.h>
#include <QtGui/qcursor.h>
#include <QtGui/qkeysequence.h>
Go to the source code of this file.
◆ QWIDGETSIZE_MAX
#define QWIDGETSIZE_MAX ((1<<24)-1) |
Defines the maximum size for a QWidget object.
The largest allowed size for a widget is QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX), i.e. QSize (16777215,16777215).
- See also
- QWidget::setMaximumSize()
Definition at line 1087 of file qwidget.h.
Referenced by QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), QWidgetPrivate::createExtra(), QGraphicsAnchorLayoutPrivate::createLayoutEdges(), do_size_hints(), QGraphicsLayoutItemPrivate::effectiveSizeHints(), QDockAreaLayoutInfo::fitItems(), QDockAreaLayout::getGrid(), initEmptyMultiBox(), QToolBarLayout::layoutActions(), QDockAreaLayoutItem::maximumSize(), QDockAreaLayoutInfo::maximumSize(), QDockWidgetItem::maximumSize(), QLabel::minimumSizeHint(), qSmartMaxSize(), qt_grab_cursor(), QtWndProc(), QWorkspaceTitleBar::QWorkspaceTitleBar(), realMaxSize(), QSplitterPrivate::recalc(), AnchorData::refreshSizeHints(), QWidget::setDisabled(), QWidget::setFixedSize(), QStyleSheetStyle::setGeometry(), QWidget::setMaximumHeight(), QWidgetPrivate::setMaximumSize_helper(), QWidget::setMaximumWidth(), QWidgetPrivate::setMinimumSize_helper(), QWizardHeader::setup(), QFormLayoutPrivate::setupVerticalLayoutData(), QDockWidgetLayout::sizeFromContent(), QGraphicsProxyWidget::sizeHint(), QDockAreaLayoutInfo::sizeHint(), QGraphicsWidget::sizeHint(), QWizardPrivate::updateMinMaxSizes(), and QFormLayoutPrivate::updateSizes().
◆ qobject_cast< const QWidget * >()
Definition at line 928 of file qwidget.h.
931 return static_cast<const QWidget*
>(o);
bool isWidgetType() const
Returns true if the object is a widget; otherwise returns false.
◆ qobject_cast< QWidget * >()
Definition at line 923 of file qwidget.h.
926 return static_cast<QWidget*
>(o);
bool isWidgetType() const
Returns true if the object is a widget; otherwise returns false.