forked from qt-creator/qt-creator
Doc: remove obsolete \if defined commands
The doc sources are no longer used for single-sourcing. Change-Id: I934c88c19646d84b4de3c5787234148f947c4489 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -10,9 +10,7 @@ defines = Q_QDOC \
|
|||||||
Q_BYTE_ORDER \
|
Q_BYTE_ORDER \
|
||||||
QT_DEPRECATED \
|
QT_DEPRECATED \
|
||||||
Q_NO_USING_KEYWORD \
|
Q_NO_USING_KEYWORD \
|
||||||
__cplusplus \
|
__cplusplus
|
||||||
qtquick \
|
|
||||||
qcmanual
|
|
||||||
|
|
||||||
versionsym = QT_VERSION_STR
|
versionsym = QT_VERSION_STR
|
||||||
|
|
||||||
|
|||||||
@@ -238,11 +238,7 @@
|
|||||||
debugging) or runs a separate process (e.g. when using GDB server
|
debugging) or runs a separate process (e.g. when using GDB server
|
||||||
on embedded Linux). The host side typically
|
on embedded Linux). The host side typically
|
||||||
consists of \QC itself, often with the help of an external process, such as
|
consists of \QC itself, often with the help of an external process, such as
|
||||||
\if defined(qcmanual)
|
|
||||||
GDB or CDB.
|
GDB or CDB.
|
||||||
\else
|
|
||||||
GDB.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
While this setup might look daunting, it is mostly invisible to
|
While this setup might look daunting, it is mostly invisible to
|
||||||
the user of \QC. To start debugging on a remote target with the
|
the user of \QC. To start debugging on a remote target with the
|
||||||
|
|||||||
@@ -100,9 +100,7 @@
|
|||||||
You can look up any issue in the
|
You can look up any issue in the
|
||||||
\l{http://bugreports.qt-project.org/}{Qt bug tracker}.
|
\l{http://bugreports.qt-project.org/}{Qt bug tracker}.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\include widgets/creator-faq-qtdesigner.qdocinc
|
\include widgets/creator-faq-qtdesigner.qdocinc
|
||||||
\endif
|
|
||||||
|
|
||||||
\section1 Help Questions
|
\section1 Help Questions
|
||||||
|
|
||||||
|
|||||||
@@ -19,11 +19,7 @@
|
|||||||
/*!
|
/*!
|
||||||
|
|
||||||
\contentspage index.html
|
\contentspage index.html
|
||||||
\if defined(qcmanual)
|
|
||||||
\previouspage creator-developing-generic-linux.html
|
\previouspage creator-developing-generic-linux.html
|
||||||
\else
|
|
||||||
\previouspage creator-developing-meego.html
|
|
||||||
\endif
|
|
||||||
\page creator-developing-maemo.html
|
\page creator-developing-maemo.html
|
||||||
\nextpage creator-developing-meego.html
|
\nextpage creator-developing-meego.html
|
||||||
|
|
||||||
@@ -40,11 +36,9 @@
|
|||||||
development is disabled by default. To enable it, select \gui Help >
|
development is disabled by default. To enable it, select \gui Help >
|
||||||
\gui {About Plugins} > \gui {Device Support} > \gui Madde and restart \QC.
|
\gui {About Plugins} > \gui {Device Support} > \gui Madde and restart \QC.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
For more
|
For more
|
||||||
information about the Maemo 5 platform, see
|
information about the Maemo 5 platform, see
|
||||||
\l{http://maemo.org/intro/platform/}{Software Platform} on the Maemo web site.
|
\l{http://maemo.org/intro/platform/}{Software Platform} on the Maemo web site.
|
||||||
\endif
|
|
||||||
|
|
||||||
For more information about developing applications for the Maemo 5
|
For more information about developing applications for the Maemo 5
|
||||||
platform, select \gui {Help > Index} and look for \gui {Platform Notes},
|
platform, select \gui {Help > Index} and look for \gui {Platform Notes},
|
||||||
@@ -58,10 +52,8 @@
|
|||||||
|
|
||||||
\li Maemo 5 device: Nokia N900 with software update release 1.3
|
\li Maemo 5 device: Nokia N900 with software update release 1.3
|
||||||
(V20.2010.36-2) or later installed.
|
(V20.2010.36-2) or later installed.
|
||||||
\if defined(qcmanual)
|
|
||||||
\li MADDE cross-platform Maemo development
|
\li MADDE cross-platform Maemo development
|
||||||
tool (installed as part of the Qt 4 SDK).
|
tool (installed as part of the Qt 4 SDK).
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Nokia USB drivers.
|
\li Nokia USB drivers.
|
||||||
|
|
||||||
@@ -234,13 +226,7 @@
|
|||||||
testing. If you write applications that use Qt Mobility APIs, you might want
|
testing. If you write applications that use Qt Mobility APIs, you might want
|
||||||
to test them with real user data. To create a connection as a user, specify
|
to test them with real user data. To create a connection as a user, specify
|
||||||
the \gui Username and \gui Password in \QC. For more information, see
|
the \gui Username and \gui Password in \QC. For more information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Testing with User Data on Maemo Devices}.
|
\l{Testing with User Data on Maemo Devices}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-maemo.html#testing-with-user-data-on-maemo-devices}
|
|
||||||
{Testing with User Data on Maemo Devices}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
You can protect the connections between \QC and
|
You can protect the connections between \QC and
|
||||||
a device by using either a password or an SSH key. If you use a password, you
|
a device by using either a password or an SSH key. If you use a password, you
|
||||||
@@ -250,22 +236,11 @@
|
|||||||
If you do not have an SSH key, you can create it in \QC.
|
If you do not have an SSH key, you can create it in \QC.
|
||||||
Encrypted keys are not supported. For more
|
Encrypted keys are not supported. For more
|
||||||
information, see
|
information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Generating SSH Keys}.
|
\l{Generating SSH Keys}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-meego.html#generating-ssh-keys}
|
|
||||||
{Generating SSH Keys}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
You can view processes running on devices and kill them. For more
|
You can view processes running on devices and kill them. For more
|
||||||
information, see
|
information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Managing Device Processes}.
|
\l{Managing Device Processes}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-meego.html#managing-device-processes}
|
|
||||||
{Managing Device Processes}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
To configure connections between \QC and a
|
To configure connections between \QC and a
|
||||||
@@ -309,8 +284,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
|
|
||||||
\li To test applications on the emulator (QEMU) separately, you must
|
\li To test applications on the emulator (QEMU) separately, you must
|
||||||
create a connection to it from the development PC. If you installed
|
create a connection to it from the development PC. If you installed
|
||||||
Qt 4 SDK, the connection is created automatically and you can omit this
|
Qt 4 SDK, the connection is created automatically and you can omit this
|
||||||
@@ -330,7 +303,6 @@
|
|||||||
connection.
|
connection.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Select \gui Tools > \gui Options > \gui {Build & Run} >
|
\li Select \gui Tools > \gui Options > \gui {Build & Run} >
|
||||||
\gui Kits > \gui Add to add a kit for building for the device:
|
\gui Kits > \gui Add to add a kit for building for the device:
|
||||||
|
|||||||
@@ -21,11 +21,7 @@
|
|||||||
\contentspage index.html
|
\contentspage index.html
|
||||||
\previouspage creator-developing-maemo.html
|
\previouspage creator-developing-maemo.html
|
||||||
\page creator-developing-meego.html
|
\page creator-developing-meego.html
|
||||||
\if defined(qcmanual)
|
|
||||||
\nextpage creator-developing-qnx.html
|
\nextpage creator-developing-qnx.html
|
||||||
\else
|
|
||||||
\nextpage creator-developing-maemo.html
|
|
||||||
\endif
|
|
||||||
|
|
||||||
\title Connecting MeeGo Harmattan Devices
|
\title Connecting MeeGo Harmattan Devices
|
||||||
|
|
||||||
@@ -39,12 +35,9 @@
|
|||||||
development is disabled by default. To enable it, select \gui Help >
|
development is disabled by default. To enable it, select \gui Help >
|
||||||
\gui {About Plugins} > \gui {Device Support} > \gui Madde and restart \QC.
|
\gui {About Plugins} > \gui {Device Support} > \gui Madde and restart \QC.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
For more information about the Harmattan platform, see
|
For more information about the Harmattan platform, see
|
||||||
\l{http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/guide/html/Developer_Library_Harmattan_overview_5dcf.html}
|
\l{http://library.developer.nokia.com/topic/MeeGo_1.2_Harmattan_API/html/guide/html/Developer_Library_Harmattan_overview_5dcf.html}
|
||||||
{Harmattan Overview} in the MeeGo 1.2 Harmattan Developer Library.
|
{Harmattan Overview} in the MeeGo 1.2 Harmattan Developer Library.
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
\note Qt 4 SDK does not contain the tool chains for building applications for
|
\note Qt 4 SDK does not contain the tool chains for building applications for
|
||||||
other MeeGo devices than MeeGo Harmattan. You can try to run applications
|
other MeeGo devices than MeeGo Harmattan. You can try to run applications
|
||||||
@@ -247,13 +240,7 @@
|
|||||||
If you write applications that use Qt Mobility APIs, you might want to test
|
If you write applications that use Qt Mobility APIs, you might want to test
|
||||||
them with real user data. To create a connection as a user, specify the
|
them with real user data. To create a connection as a user, specify the
|
||||||
\gui Username and \gui Password in \QC. For more information, see
|
\gui Username and \gui Password in \QC. For more information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Testing with User Data on MeeGo Devices}.
|
\l{Testing with User Data on MeeGo Devices}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-meego.html#testing-with-user-data-on-meego-devices}
|
|
||||||
{Testing with User Data on MeeGo Devices}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
You can protect the connections between \QC and a device by using
|
You can protect the connections between \QC and a device by using
|
||||||
either a password or an SSH key. If you use a password, you must generate it
|
either a password or an SSH key. If you use a password, you must generate it
|
||||||
@@ -262,23 +249,11 @@
|
|||||||
|
|
||||||
If you do not have an SSH key, you can create it in \QC. Encrypted
|
If you do not have an SSH key, you can create it in \QC. Encrypted
|
||||||
keys are not supported. For more information, see
|
keys are not supported. For more information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Generating SSH Keys}.
|
\l{Generating SSH Keys}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-meego.html#generating-ssh-keys}
|
|
||||||
{Generating SSH Keys}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
You can view processes running on devices and kill them. For more
|
You can view processes running on devices and kill them. For more
|
||||||
information, see
|
information, see
|
||||||
\if defined(qcmanual)
|
|
||||||
\l{Managing Device Processes}.
|
\l{Managing Device Processes}.
|
||||||
\else
|
|
||||||
\l{http://doc.qt.digia.com/qtcreator/creator-developing-meego.html#managing-device-processes}
|
|
||||||
{Managing Device Processes}.
|
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
To configure connections between \QC and a device:
|
To configure connections between \QC and a device:
|
||||||
|
|
||||||
@@ -324,8 +299,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
|
|
||||||
\li To test applications on the emulator (QEMU), you must
|
\li To test applications on the emulator (QEMU), you must
|
||||||
create a connection to it from the development PC. If you installed
|
create a connection to it from the development PC. If you installed
|
||||||
Qt 4 SDK, the connection is created automatically and you can omit this
|
Qt 4 SDK, the connection is created automatically and you can omit this
|
||||||
@@ -355,8 +328,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Select \gui Tools > \gui Options > \gui {Build & Run} >
|
\li Select \gui Tools > \gui Options > \gui {Build & Run} >
|
||||||
\gui Kits > \gui Add to add a kit for building for the device:
|
\gui Kits > \gui Add to add a kit for building for the device:
|
||||||
|
|
||||||
@@ -410,8 +381,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
|
|
||||||
\section2 Testing with User Data on MeeGo Devices
|
\section2 Testing with User Data on MeeGo Devices
|
||||||
|
|
||||||
To run your application as the default user, you must first assign a
|
To run your application as the default user, you must first assign a
|
||||||
@@ -436,8 +405,6 @@
|
|||||||
\include linux-mobile/linuxdev-keys.qdocinc
|
\include linux-mobile/linuxdev-keys.qdocinc
|
||||||
\include linux-mobile/linuxdev-processes.qdocinc
|
\include linux-mobile/linuxdev-processes.qdocinc
|
||||||
|
|
||||||
\endif
|
|
||||||
|
|
||||||
\section1 Troubleshooting Harmattan Connections
|
\section1 Troubleshooting Harmattan Connections
|
||||||
|
|
||||||
The addresses used in this example might be reserved by some other
|
The addresses used in this example might be reserved by some other
|
||||||
|
|||||||
@@ -104,11 +104,9 @@
|
|||||||
|
|
||||||
\li Creating new CMake projects with \QC is not supported.
|
\li Creating new CMake projects with \QC is not supported.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\li On Windows, you must create projects for Maemo 5 and Harmattan
|
\li On Windows, you must create projects for Maemo 5 and Harmattan
|
||||||
device types on the same partition where you installed Qt 4 SDK, \QC, and
|
device types on the same partition where you installed Qt 4 SDK, \QC, and
|
||||||
MADDE.
|
MADDE.
|
||||||
\endif
|
|
||||||
|
|
||||||
\li If error messages displayed in the \gui {Compile Output} pane contain
|
\li If error messages displayed in the \gui {Compile Output} pane contain
|
||||||
paths where slashes are missing (for example, C:QtSDK),
|
paths where slashes are missing (for example, C:QtSDK),
|
||||||
|
|||||||
@@ -98,7 +98,6 @@
|
|||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\li Qt GUI Application
|
\li Qt GUI Application
|
||||||
|
|
||||||
Use \QD forms to design a Qt widget based user interface for the
|
Use \QD forms to design a Qt widget based user interface for the
|
||||||
@@ -110,7 +109,6 @@
|
|||||||
mobile devices and C++ to implement the application logic.
|
mobile devices and C++ to implement the application logic.
|
||||||
Select this template to develop for devices that support only
|
Select this template to develop for devices that support only
|
||||||
Qt 4.6.x
|
Qt 4.6.x
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Qt Quick Application (Built-in Types)
|
\li Qt Quick Application (Built-in Types)
|
||||||
|
|
||||||
@@ -277,18 +275,14 @@
|
|||||||
|
|
||||||
C++ class, source, or header files that you can use to write the
|
C++ class, source, or header files that you can use to write the
|
||||||
application logic in both Qt Quick projects and
|
application logic in both Qt Quick projects and
|
||||||
\if defined(qcmanual)
|
|
||||||
Qt widget based projects
|
Qt widget based projects
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Qt
|
\li Qt
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\li \QD forms and \QD form classes, which specify parts of user
|
\li \QD forms and \QD form classes, which specify parts of user
|
||||||
interfaces in Qt widget based projects
|
interfaces in Qt widget based projects
|
||||||
\endif
|
|
||||||
|
|
||||||
\li Qt resource files, which allow you to store binary files in the
|
\li Qt resource files, which allow you to store binary files in the
|
||||||
application executable
|
application executable
|
||||||
|
|||||||
@@ -72,9 +72,7 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\include qnx/creator-projects-qt-version-qnx.qdocinc
|
\include qnx/creator-projects-qt-version-qnx.qdocinc
|
||||||
\endif
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -41,16 +41,9 @@
|
|||||||
For more information on the options you have, see
|
For more information on the options you have, see
|
||||||
\l{Specifying Run Settings}.
|
\l{Specifying Run Settings}.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\include projects/creator-projects-running-desktop.qdocinc
|
\include projects/creator-projects-running-desktop.qdocinc
|
||||||
\endif
|
|
||||||
|
|
||||||
\include projects/creator-projects-running-simulator.qdocinc
|
\include projects/creator-projects-running-simulator.qdocinc
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\include linux-mobile/creator-projects-running-generic-linux.qdocinc
|
\include linux-mobile/creator-projects-running-generic-linux.qdocinc
|
||||||
\include linux-mobile/creator-projects-running-madde.qdocinc
|
\include linux-mobile/creator-projects-running-madde.qdocinc
|
||||||
\include qnx/creator-projects-running-qnx.qdocinc
|
\include qnx/creator-projects-running-qnx.qdocinc
|
||||||
\endif
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -45,13 +45,11 @@
|
|||||||
parsed .pro files. For more information on how the commands are constructed,
|
parsed .pro files. For more information on how the commands are constructed,
|
||||||
see \l{Starting External Processes}.
|
see \l{Starting External Processes}.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\include projects/creator-projects-settings-run-desktop.qdocinc
|
\include projects/creator-projects-settings-run-desktop.qdocinc
|
||||||
\include projects/creator-projects-settings-run-analyze.qdocinc
|
\include projects/creator-projects-settings-run-analyze.qdocinc
|
||||||
\include projects/creator-projects-settings-run-debug.qdocinc
|
\include projects/creator-projects-settings-run-debug.qdocinc
|
||||||
\include linux-mobile/creator-projects-settings-run-linux.qdocinc
|
\include linux-mobile/creator-projects-settings-run-linux.qdocinc
|
||||||
\include qnx/creator-projects-settings-run-qnx.qdocinc
|
\include qnx/creator-projects-settings-run-qnx.qdocinc
|
||||||
\endif
|
|
||||||
|
|
||||||
\section1 Selecting the Run Environment
|
\section1 Selecting the Run Environment
|
||||||
|
|
||||||
|
|||||||
@@ -64,11 +64,9 @@
|
|||||||
\section1 Related Topics
|
\section1 Related Topics
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\if defined(qcmanual)
|
|
||||||
\li \l {Using Qt Quick Designer}
|
\li \l {Using Qt Quick Designer}
|
||||||
\li \l {Creating Buttons}
|
\li \l {Creating Buttons}
|
||||||
\li \l {Creating Scalable Buttons and Borders}
|
\li \l {Creating Scalable Buttons and Borders}
|
||||||
\endif
|
|
||||||
\li \l {Exporting Designs from Graphics Software}
|
\li \l {Exporting Designs from Graphics Software}
|
||||||
\li \l {Using QML Modules with Plugins}
|
\li \l {Using QML Modules with Plugins}
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
The following sections contain examples of how to create some common
|
The following sections contain examples of how to create some common
|
||||||
components:
|
components:
|
||||||
|
|
||||||
@@ -130,5 +129,4 @@
|
|||||||
top level when you are done editing the component.
|
top level when you are done editing the component.
|
||||||
|
|
||||||
\image qmldesigner-breadcrumbs.png "Go into Component command"
|
\image qmldesigner-breadcrumbs.png "Go into Component command"
|
||||||
\endif
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -35,10 +35,8 @@
|
|||||||
screens. Typically, the main qml file in a Qt Quick project specifies the
|
screens. Typically, the main qml file in a Qt Quick project specifies the
|
||||||
main window of an application.
|
main window of an application.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
The QML files in the project folder are displayed in \gui {QML Components}
|
The QML files in the project folder are displayed in \gui {QML Components}
|
||||||
in the \gui Library pane.
|
in the \gui Library pane.
|
||||||
\endif
|
|
||||||
|
|
||||||
You can also use ready-made Qt Quick 1 Components (for Qt 4) to create
|
You can also use ready-made Qt Quick 1 Components (for Qt 4) to create
|
||||||
screens with a native look and feel for a particular target platform.
|
screens with a native look and feel for a particular target platform.
|
||||||
@@ -47,7 +45,6 @@
|
|||||||
can install Qt Quick 1 Components as part of the Qt 4 SDK and the Qt Quick
|
can install Qt Quick 1 Components as part of the Qt 4 SDK and the Qt Quick
|
||||||
Controls as part of Qt 5.1, or later.
|
Controls as part of Qt 5.1, or later.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
\section1 Adding Components to Screens
|
\section1 Adding Components to Screens
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
@@ -60,7 +57,6 @@
|
|||||||
For example, you can anchor components to a position on the screen.
|
For example, you can anchor components to a position on the screen.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
\section1 Using Data Models
|
\section1 Using Data Models
|
||||||
@@ -85,9 +81,7 @@
|
|||||||
\l{http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-listmodel.html}{ListModel} and the
|
\l{http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-listmodel.html}{ListModel} and the
|
||||||
delegate component that creates an instance for each item in the model are
|
delegate component that creates an instance for each item in the model are
|
||||||
added automatically. You can edit item properties
|
added automatically. You can edit item properties
|
||||||
\if defined(qcmanual)
|
|
||||||
in the \gui Properties pane or
|
in the \gui Properties pane or
|
||||||
\endif
|
|
||||||
in the code editor. You can also replace the default model and
|
in the code editor. You can also replace the default model and
|
||||||
delegate with other, more complex models and delegates in the code editor.
|
delegate with other, more complex models and delegates in the code editor.
|
||||||
|
|
||||||
@@ -112,12 +106,9 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
To lay out several items in a Column, Row, Grid, or Flow, select
|
To lay out several items in a Column, Row, Grid, or Flow, select
|
||||||
the items on the canvas, and then select \gui Layout in the context
|
the items on the canvas, and then select \gui Layout in the context
|
||||||
menu.
|
menu.
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
\section1 Using States
|
\section1 Using States
|
||||||
|
|
||||||
@@ -127,7 +118,6 @@
|
|||||||
controls, their properties and behavior and the available actions. For
|
controls, their properties and behavior and the available actions. For
|
||||||
example, you can use states to create two screens.
|
example, you can use states to create two screens.
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
To add states, click the empty slot in the \gui States pane. Then modify the
|
To add states, click the empty slot in the \gui States pane. Then modify the
|
||||||
new state in the visual editor.
|
new state in the visual editor.
|
||||||
|
|
||||||
@@ -136,8 +126,6 @@
|
|||||||
The properties that you change in a state are highlighted with blue color.
|
The properties that you change in a state are highlighted with blue color.
|
||||||
In the code editor, you can see the changes recorded as changes to the base
|
In the code editor, you can see the changes recorded as changes to the base
|
||||||
state.
|
state.
|
||||||
\endif
|
|
||||||
|
|
||||||
|
|
||||||
To keep the QML code clean, you should create a base state that contains all
|
To keep the QML code clean, you should create a base state that contains all
|
||||||
the types you will need in the application. You can then create states,
|
the types you will need in the application. You can then create states,
|
||||||
@@ -160,7 +148,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\if defined(qcmanual)
|
|
||||||
To create screens for an application by using states:
|
To create screens for an application by using states:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
@@ -195,7 +182,6 @@
|
|||||||
\endqml
|
\endqml
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
\endif
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user