From 97b5b8009254004608feefb903cbf44abaa099f6 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Mon, 7 May 2012 18:49:48 +0200 Subject: Doc: Modularize QtWidgets documentation. This change moves the snippets and images to the modularized directories. Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d Reviewed-by: Marius Storm-Olsen --- src/widgets/kernel/qformlayout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/kernel/qformlayout.cpp') diff --git a/src/widgets/kernel/qformlayout.cpp b/src/widgets/kernel/qformlayout.cpp index 440f3f1dc2..bc4527a1e0 100644 --- a/src/widgets/kernel/qformlayout.cpp +++ b/src/widgets/kernel/qformlayout.cpp @@ -1038,11 +1038,11 @@ QStyle* QFormLayoutPrivate::getStyle() const creates a QLabel behind the scenes and automatically set up its buddy. We can then write code like this: - \snippet doc/src/snippets/code/src_gui_kernel_qformlayout.cpp 0 + \snippet code/src_gui_kernel_qformlayout.cpp 0 Compare this with the following code, written using QGridLayout: - \snippet doc/src/snippets/code/src_gui_kernel_qformlayout.cpp 1 + \snippet code/src_gui_kernel_qformlayout.cpp 1 \endlist The table below shows the default appearance in different styles. @@ -1083,7 +1083,7 @@ QStyle* QFormLayoutPrivate::getStyle() const appearance of QMacStyle on all platforms, but with left-aligned labels, you could write: - \snippet doc/src/snippets/code/src_gui_kernel_qformlayout.cpp 2 + \snippet code/src_gui_kernel_qformlayout.cpp 2 \sa QGridLayout, QBoxLayout, QStackedLayout */ -- cgit v1.2.3