diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2012-05-07 18:49:48 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-09 08:36:46 +0200 |
commit | 97b5b8009254004608feefb903cbf44abaa099f6 (patch) | |
tree | cf3a79caa34085de1308eb86cac6ea0d9663aa9c /src/widgets/widgets/qstackedwidget.cpp | |
parent | cfdc5628b1fc2cbafa2aebca38995e5718fcb0de (diff) |
Doc: Modularize QtWidgets documentation.
This change moves the snippets and images to the modularized
directories.
Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qstackedwidget.cpp')
-rw-r--r-- | src/widgets/widgets/qstackedwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/widgets/qstackedwidget.cpp b/src/widgets/widgets/qstackedwidget.cpp index 5406f5dcf5..e239f86345 100644 --- a/src/widgets/widgets/qstackedwidget.cpp +++ b/src/widgets/widgets/qstackedwidget.cpp @@ -74,16 +74,16 @@ public: Like QStackedLayout, QStackedWidget can be constructed and populated with a number of child widgets ("pages"): - \snippet doc/src/snippets/qstackedwidget/main.cpp 0 - \snippet doc/src/snippets/qstackedwidget/main.cpp 2 - \snippet doc/src/snippets/qstackedwidget/main.cpp 3 + \snippet qstackedwidget/main.cpp 0 + \snippet qstackedwidget/main.cpp 2 + \snippet qstackedwidget/main.cpp 3 QStackedWidget provides no intrinsic means for the user to switch page. This is typically done through a QComboBox or a QListWidget that stores the titles of the QStackedWidget's pages. For example: - \snippet doc/src/snippets/qstackedwidget/main.cpp 1 + \snippet qstackedwidget/main.cpp 1 When populating a stacked widget, the widgets are added to an internal list. The indexOf() function returns the index of a |