forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Thomas Hartmann
parent
bc623f4178
commit
ac382b68b7
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2018 The Qt Company Ltd.
|
** Copyright (C) 2019 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -42,7 +42,11 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
|
\if defined(qtcreator)
|
||||||
\uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
|
\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
|
\uicontrol Choose to create a QML file called Button.qml (for
|
||||||
example).
|
example).
|
||||||
|
|
||||||
@@ -147,7 +151,11 @@
|
|||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
|
\if defined(qtcreator)
|
||||||
\uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
|
\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
|
\uicontrol Choose to create a QML file called Button.qml (for
|
||||||
example).
|
example).
|
||||||
|
|
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2018 The Qt Company Ltd.
|
** Copyright (C) 2019 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -33,11 +33,7 @@
|
|||||||
\contentspage index.html
|
\contentspage index.html
|
||||||
\page quick-components.html
|
\page quick-components.html
|
||||||
\previouspage creator-using-qt-quick-designer.html
|
\previouspage creator-using-qt-quick-designer.html
|
||||||
\if defined(qtdesignstudio)
|
|
||||||
\nextpage qtquick-navigator.html
|
|
||||||
\else
|
|
||||||
\nextpage quick-buttons.html
|
\nextpage quick-buttons.html
|
||||||
\endif
|
|
||||||
|
|
||||||
\title Creating Components
|
\title Creating Components
|
||||||
|
|
||||||
@@ -466,15 +462,17 @@
|
|||||||
Some ready-made controls, such as a gauge, dial, status indicator, and
|
Some ready-made controls, such as a gauge, dial, status indicator, and
|
||||||
tumbler, are provided by the \l {Qt Quick Extras} module.
|
tumbler, are provided by the \l {Qt Quick Extras} module.
|
||||||
|
|
||||||
\if defined(qtcreator)
|
|
||||||
\section1 Creating Components in Design Mode
|
\section1 Creating Components in Design Mode
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol Qt >
|
\if defined(qtcreator)
|
||||||
\uicontrol {QML File (Qt Quick 2)} > \uicontrol Choose to create a new .qml
|
\uicontrol Qt > \uicontrol {QML File (Qt Quick 2)} >
|
||||||
file.
|
\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
|
\note Components are listed in the \uicontrol {QML Components} section of
|
||||||
the \uicontrol Library only if the filename begins with a capital
|
the \uicontrol Library only if the filename begins with a capital
|
||||||
@@ -501,7 +499,6 @@
|
|||||||
\li \l{Creating Scalable Buttons and Borders}
|
\li \l{Creating Scalable Buttons and Borders}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
\endif
|
|
||||||
|
|
||||||
\section1 Moving Within Components
|
\section1 Moving Within Components
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2018 The Qt Company Ltd.
|
** Copyright (C) 2019 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -26,11 +26,7 @@
|
|||||||
/*!
|
/*!
|
||||||
\contentspage {Qt Creator Manual}
|
\contentspage {Qt Creator Manual}
|
||||||
\page qtquick-navigator.html
|
\page qtquick-navigator.html
|
||||||
\if defined(qtdesignstudio)
|
|
||||||
\previouspage quick-components.html
|
|
||||||
\else
|
|
||||||
\previouspage quick-scalable-image.html
|
\previouspage quick-scalable-image.html
|
||||||
\endif
|
|
||||||
\nextpage qtquick-properties.html
|
\nextpage qtquick-properties.html
|
||||||
|
|
||||||
\title Managing Item Hierarchy
|
\title Managing Item Hierarchy
|
||||||
|
Reference in New Issue
Block a user