summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2019-01-30 14:26:56 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2019-01-30 14:00:45 +0000
commitac382b68b7c67af45096cb590fc537b5794e8f27 (patch)
treee975b84d08d3c55abc0eadd39b218bfb1b76cbdf
parentbc623f4178081735ff83119e9a474dfef8b4d8f1 (diff)
downloadqt-creator-ac382b68b7c67af45096cb590fc537b5794e8f27.tar.gz
Doc: Show button examples also in Qt Design Studio Manual
Use defines to display the correct menu paths to the wizards. Change-Id: I2cd6dff049a674e9646639fa928f7353d97037ac Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--doc/src/qtquick/qtquick-buttons.qdoc (renamed from doc/src/qtquick/creator-only/qtquick-buttons.qdoc)10
-rw-r--r--doc/src/qtquick/qtquick-components.qdoc17
-rw-r--r--doc/src/qtquick/qtquick-navigator.qdoc6
3 files changed, 17 insertions, 16 deletions
diff --git a/doc/src/qtquick/creator-only/qtquick-buttons.qdoc b/doc/src/qtquick/qtquick-buttons.qdoc
index 00a09a7ccc..0f7c5f5235 100644
--- a/doc/src/qtquick/creator-only/qtquick-buttons.qdoc
+++ b/doc/src/qtquick/qtquick-buttons.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -42,7 +42,11 @@
\list 1
\li Select \uicontrol File > \uicontrol {New File or Project} >
+ \if defined(qtcreator)
\uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
+ \else
+ \uicontrol {Qt Quick Files} > \uicontrol {Qt Quick File} >
+ \endif
\uicontrol Choose to create a QML file called Button.qml (for
example).
@@ -147,7 +151,11 @@
\list 1
\li Select \uicontrol File > \uicontrol {New File or Project} >
+ \if defined(qtcreator)
\uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
+ \else
+ \uicontrol {Qt Quick Files} > \uicontrol {Qt Quick File} >
+ \endif
\uicontrol Choose to create a QML file called Button.qml (for
example).
diff --git a/doc/src/qtquick/qtquick-components.qdoc b/doc/src/qtquick/qtquick-components.qdoc
index 7a83860c72..77e0a8c58a 100644
--- a/doc/src/qtquick/qtquick-components.qdoc
+++ b/doc/src/qtquick/qtquick-components.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -33,11 +33,7 @@
\contentspage index.html
\page quick-components.html
\previouspage creator-using-qt-quick-designer.html
- \if defined(qtdesignstudio)
- \nextpage qtquick-navigator.html
- \else
\nextpage quick-buttons.html
- \endif
\title Creating Components
@@ -466,15 +462,17 @@
Some ready-made controls, such as a gauge, dial, status indicator, and
tumbler, are provided by the \l {Qt Quick Extras} module.
- \if defined(qtcreator)
\section1 Creating Components in Design Mode
\list 1
\li Select \uicontrol File > \uicontrol {New File or Project} >
- \uicontrol {Files and Classes} > \uicontrol Qt >
- \uicontrol {QML File (Qt Quick 2)} > \uicontrol Choose to create a new .qml
- file.
+ \if defined(qtcreator)
+ \uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
+ \else
+ \uicontrol {Qt Quick Files} > \uicontrol {Qt Quick File} >
+ \endif
+ \uicontrol Choose to create a new .qml file.
\note Components are listed in the \uicontrol {QML Components} section of
the \uicontrol Library only if the filename begins with a capital
@@ -501,7 +499,6 @@
\li \l{Creating Scalable Buttons and Borders}
\endlist
- \endif
\section1 Moving Within Components
diff --git a/doc/src/qtquick/qtquick-navigator.qdoc b/doc/src/qtquick/qtquick-navigator.qdoc
index e61e517bac..0215df96be 100644
--- a/doc/src/qtquick/qtquick-navigator.qdoc
+++ b/doc/src/qtquick/qtquick-navigator.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -26,11 +26,7 @@
/*!
\contentspage {Qt Creator Manual}
\page qtquick-navigator.html
- \if defined(qtdesignstudio)
- \previouspage quick-components.html
- \else
\previouspage quick-scalable-image.html
- \endif
\nextpage qtquick-properties.html
\title Managing Item Hierarchy