diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-12 16:55:10 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-12 16:55:10 (GMT) |
commit | 5c7388f16f50cc867180d19c44549a2da2760696 (patch) | |
tree | 5a69b6211ea1f2bf3cbc1176fb37715a7e98cac6 /src/gui/kernel | |
parent | 3f867b487ac1642ce3ae442e2dbbbf56029290cd (diff) | |
parent | f7ee0c9efcb6cb36a95f49bc998524e25480f8ba (diff) | |
download | Qt-5c7388f16f50cc867180d19c44549a2da2760696.zip Qt-5c7388f16f50cc867180d19c44549a2da2760696.tar.gz Qt-5c7388f16f50cc867180d19c44549a2da2760696.tar.bz2 |
Merge commit 'origin/4.6' into 4.6-ce
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 11 | ||||
-rw-r--r-- | src/gui/kernel/qwidget.h | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index c776c36..4aa358f 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -11462,6 +11462,17 @@ void QWidget::languageChange() { } // compat \sa QWidget::setMaximumSize() */ +/*! + \fn QWidget::setupUi(QWidget *widget) + + Sets up the user interface for the specified \a widget. + + \note This function is available with widgets that derive from user + interface descriptions created using \l{uic}. + + \sa {Using a Designer UI File in Your Application} +*/ + QRect QWidgetPrivate::frameStrut() const { Q_Q(const QWidget); diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h index b7c55f9..5ba1d23 100644 --- a/src/gui/kernel/qwidget.h +++ b/src/gui/kernel/qwidget.h @@ -288,6 +288,10 @@ public: void setMaximumWidth(int maxw); void setMaximumHeight(int maxh); +#ifdef Q_QDOC + void setupUi(QWidget *widget); +#endif + QSize sizeIncrement() const; void setSizeIncrement(const QSize &); void setSizeIncrement(int w, int h); |