Skip to content

Commit a62bab9

Browse files
committed
Doc: Move touch examples around so they get included in docs
Task-number: QTBUG-59249 Change-Id: I71f1d2e28f0cadbad1d6bcf117198018eaf8e012 Reviewed-by: Topi Reiniö <[email protected]>
1 parent 7470049 commit a62bab9

31 files changed

+10
-10
lines changed

examples/examples.pro

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ CONFIG += no_docs_target
44
SUBDIRS = \
55
corelib \
66
embedded \
7-
qpa \
8-
touch
7+
qpa
98

109
qtHaveModule(dbus): SUBDIRS += dbus
1110
qtHaveModule(network): SUBDIRS += network

examples/touch/dials/dials.pro examples/widgets/touch/dials/dials.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ SOURCES += main.cpp
44
FORMS += dials.ui
55

66
# install
7-
target.path = $$[QT_INSTALL_EXAMPLES]/touch/dials
7+
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/touch/dials
88
INSTALLS += target
File renamed without changes.

examples/touch/dials/doc/src/touch-dials.qdoc examples/widgets/touch/dials/doc/src/touch-dials.qdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
\example touch/dials
3030
\title Touch Dials Example
3131
\ingroup touchinputexamples
32-
\brief Shows how to apply touch to a set of standard Qt widgets
32+
\brief Shows how to apply touch to a set of standard Qt widgets.
3333

3434
The Touch Dials example shows how to apply touch to a set of
3535
standard Qt widgets.
File renamed without changes.

doc/src/examples/fingerpaint.qdoc examples/widgets/touch/fingerpaint/doc/src/fingerpaint.qdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
\example touch/fingerpaint
3030
\title Finger Paint Example
3131
\ingroup touchinputexamples
32-
\brief Shows the use of a touchscreen to make a simple painting application
32+
\brief Shows the use of a touchscreen to make a simple painting application.
3333

3434
The Finger Paint example shows the use of a touchscreen with a custom widget
3535
to create a simple painting application.

examples/touch/fingerpaint/fingerpaint.pro examples/widgets/touch/fingerpaint/fingerpaint.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ SOURCES = main.cpp \
99
scribblearea.cpp
1010

1111
# install
12-
target.path = $$[QT_INSTALL_EXAMPLES]/touch/fingerpaint
12+
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/touch/fingerpaint
1313
INSTALLS += target

examples/touch/knobs/doc/src/touch-knobs.qdoc examples/widgets/touch/knobs/doc/src/touch-knobs.qdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
\example touch/knobs
3030
\title Touch Knobs Example
3131
\ingroup touchinputexamples
32-
\brief Shows how to create custom controls that accept touch input
32+
\brief Shows how to create custom controls that accept touch input.
3333

3434
The Touch Knobs example shows how to create custom controls that
3535
accept touch input.
File renamed without changes.
File renamed without changes.

examples/touch/knobs/knobs.pro examples/widgets/touch/knobs/knobs.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ HEADERS = knob.h
44
SOURCES = main.cpp knob.cpp
55

66
# install
7-
target.path = $$[QT_INSTALL_EXAMPLES]/touch/knobs
7+
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/touch/knobs
88
INSTALLS += target
File renamed without changes.
Loading

doc/src/examples/pinchzoom.qdoc examples/widgets/touch/pinchzoom/doc/src/pinchzoom.qdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
\example touch/pinchzoom
3030
\title Pinch Zoom Example
3131
\ingroup touchinputexamples
32-
\brief Shows how to recognize a gesture
32+
\brief Shows how to recognize a gesture.
3333

3434
The Pinch Zoom example shows how to use low-level touch information
3535
to recognize a gesture.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/touch/pinchzoom/pinchzoom.pro examples/widgets/touch/pinchzoom/pinchzoom.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RESOURCES += \
1212
mice.qrc
1313

1414
# install
15-
target.path = $$[QT_INSTALL_EXAMPLES]/touch/pinchzoom
15+
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/touch/pinchzoom
1616
INSTALLS += target
File renamed without changes.

examples/widgets/widgets.pro

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ SUBDIRS = \
1919
scroller \
2020
statemachine \
2121
tools \
22+
touch \
2223
tutorials \
2324
widgets
2425

0 commit comments

Comments
 (0)