forked from qt-creator/qt-creator
Doc: "New File or Project" was split into "File" and "Project"
For Design Studio Change-Id: Ie6246e3c3f3527702c4562ec6f8fcbf5fae6c6ad Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
To create a project:
|
To create a project:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New Project} >
|
||||||
\uicontrol General > \uicontrol {Qt Quick Application - Empty} >
|
\uicontrol General > \uicontrol {Qt Quick Application - Empty} >
|
||||||
\uicontrol Choose.
|
\uicontrol Choose.
|
||||||
\li In the \uicontrol Name field, enter the project name: \e {loginui1}.
|
\li In the \uicontrol Name field, enter the project name: \e {loginui1}.
|
||||||
@@ -308,8 +308,8 @@
|
|||||||
To create a push button by using the wizard template:
|
To create a push button by using the wizard template:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Controls} >
|
\uicontrol {Qt Quick Controls} >
|
||||||
\uicontrol {Custom Button} > \uicontrol Choose.
|
\uicontrol {Custom Button} > \uicontrol Choose.
|
||||||
\li In the \uicontrol {Component name} field, enter a name for your
|
\li In the \uicontrol {Component name} field, enter a name for your
|
||||||
button component: \e {EntryField}.
|
button component: \e {EntryField}.
|
||||||
|
@@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
\section1 Creating Reusable Buttons
|
\section1 Creating Reusable Buttons
|
||||||
|
|
||||||
We select \uicontrol File > \uicontrol {New File or Project} >
|
We select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Controls} >
|
\uicontrol {Qt Quick Controls} >
|
||||||
\uicontrol {Custom Button} to create a reusable menu bar button
|
\uicontrol {Custom Button} to create a reusable menu bar button
|
||||||
that we call \e CustomButton.
|
that we call \e CustomButton.
|
||||||
|
|
||||||
|
@@ -63,7 +63,7 @@
|
|||||||
We use the \uicontrol {Qt for MCUs Application} project template to create
|
We use the \uicontrol {Qt for MCUs Application} project template to create
|
||||||
an application for MCUs, which support only a subset of the preset
|
an application for MCUs, which support only a subset of the preset
|
||||||
\l{glossary-component}{components}. We select \uicontrol File >
|
\l{glossary-component}{components}. We select \uicontrol File >
|
||||||
\uicontrol {New File or Project} > \uicontrol {Qt for MCUs Application} >
|
\uicontrol {New Project} > \uicontrol {Qt for MCUs Application} >
|
||||||
\uicontrol Choose, and follow the instructions of the wizard to create our
|
\uicontrol Choose, and follow the instructions of the wizard to create our
|
||||||
project.
|
project.
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
that we use to indicate that a button is pressed.
|
that we use to indicate that a button is pressed.
|
||||||
|
|
||||||
Alternatively, you could create the screens from scratch in \QDS
|
Alternatively, you could create the screens from scratch in \QDS
|
||||||
by selecting \uicontrol File > \uicontrol {New File or Project} >
|
by selecting \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Qt Quick Files}. While designing the screens, you can
|
\uicontrol {Qt Quick Files}. While designing the screens, you can
|
||||||
move reusable components into separate files. For more information,
|
move reusable components into separate files. For more information,
|
||||||
see \l{Components}.
|
see \l{Components}.
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
||||||
\else
|
\else
|
||||||
@@ -124,7 +124,6 @@
|
|||||||
information, see \l{Creating Scalable Buttons and Borders}.
|
information, see \l{Creating Scalable Buttons and Borders}.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\previouspage quick-buttons.html
|
\previouspage quick-buttons.html
|
||||||
\page quick-scalable-image.html
|
\page quick-scalable-image.html
|
||||||
@@ -158,7 +157,7 @@
|
|||||||
\section1 Creating the Button Component
|
\section1 Creating the Button Component
|
||||||
|
|
||||||
To create a button component, select \uicontrol File >
|
To create a button component, select \uicontrol File >
|
||||||
\uicontrol {New File or Project} >
|
\uicontrol {New File} >
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
||||||
\else
|
\else
|
||||||
|
@@ -47,7 +47,7 @@
|
|||||||
To use wizard templates to create custom components:
|
To use wizard templates to create custom components:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
\uicontrol Qt > \uicontrol {Qt Quick UI File} >
|
||||||
\else
|
\else
|
||||||
|
@@ -92,7 +92,7 @@
|
|||||||
for it, as described in \l {Creating Projects}.
|
for it, as described in \l {Creating Projects}.
|
||||||
|
|
||||||
To create the flow view, select \uicontrol File >
|
To create the flow view, select \uicontrol File >
|
||||||
\uicontrol {New File or Project} > \uicontrol {Files and Classes} >
|
\uicontrol {New File} >
|
||||||
\uicontrol {Qt Quick Files} > \uicontrol {Flow View}
|
\uicontrol {Qt Quick Files} > \uicontrol {Flow View}
|
||||||
and follow the instructions of the wizard.
|
and follow the instructions of the wizard.
|
||||||
|
|
||||||
@@ -197,8 +197,8 @@
|
|||||||
To add flow items:
|
To add flow items:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Files} >
|
\uicontrol {Qt Quick Files} >
|
||||||
\uicontrol {Flow Item} and follow the instructions of the wizard
|
\uicontrol {Flow Item} and follow the instructions of the wizard
|
||||||
to create flow items for each screen in the UI.
|
to create flow items for each screen in the UI.
|
||||||
\li Add content to the flow item in one of the following ways:
|
\li Add content to the flow item in one of the following ways:
|
||||||
@@ -649,8 +649,8 @@
|
|||||||
\uicontrol Components > \uicontrol {Flow View}.
|
\uicontrol Components > \uicontrol {Flow View}.
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Files} >
|
\uicontrol {Qt Quick Files} >
|
||||||
\uicontrol {Flow Item} to create a flow item.
|
\uicontrol {Flow Item} to create a flow item.
|
||||||
\li In \l States, add states to the flow item.
|
\li In \l States, add states to the flow item.
|
||||||
\li Open the .ui.qml file that contains the \l{Adding Flow Views}
|
\li Open the .ui.qml file that contains the \l{Adding Flow Views}
|
||||||
|
@@ -70,7 +70,7 @@
|
|||||||
To import assets exported in \QB to \QDS projects:
|
To import assets exported in \QB to \QDS projects:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New Project} >
|
||||||
\uicontrol General > \uicontrol {Qt Quick Application - Empty} >
|
\uicontrol General > \uicontrol {Qt Quick Application - Empty} >
|
||||||
\uicontrol Choose, and follow the instructions of the wizard to
|
\uicontrol Choose, and follow the instructions of the wizard to
|
||||||
create an empty project.
|
create an empty project.
|
||||||
|
@@ -66,8 +66,8 @@
|
|||||||
\code
|
\code
|
||||||
importPaths: [ "imports", "backend" ]
|
importPaths: [ "imports", "backend" ]
|
||||||
\endcode
|
\endcode
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Files} >
|
\uicontrol {Qt Quick Files} >
|
||||||
\uicontrol {Qt Quick File} > \uicontrol Choose to add a Qt
|
\uicontrol {Qt Quick File} > \uicontrol Choose to add a Qt
|
||||||
Quick file that will specify the API of the UI.
|
Quick file that will specify the API of the UI.
|
||||||
\li Follow the instructions of the wizard to create the Qt Quick file
|
\li Follow the instructions of the wizard to create the Qt Quick file
|
||||||
@@ -75,8 +75,8 @@
|
|||||||
\e Values.qml.
|
\e Values.qml.
|
||||||
\note Make sure to capitalize the filename, because it will become
|
\note Make sure to capitalize the filename, because it will become
|
||||||
a custom component.
|
a custom component.
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File} >
|
||||||
\uicontrol {Files and Classes} > \uicontrol {JavaScript} >
|
\uicontrol {JavaScript} >
|
||||||
\uicontrol {JavaScript File} > \uicontrol Choose to create a
|
\uicontrol {JavaScript File} > \uicontrol Choose to create a
|
||||||
JavaScript file that generates mock data for the UI.
|
JavaScript file that generates mock data for the UI.
|
||||||
\li Follow the instructions of the wizard to create the JavaScript file
|
\li Follow the instructions of the wizard to create the JavaScript file
|
||||||
|
@@ -111,7 +111,7 @@
|
|||||||
\section1 Using Project Wizards
|
\section1 Using Project Wizards
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project}.
|
\li Select \uicontrol File > \uicontrol {New Project}.
|
||||||
\li Select a wizard template, and then select \uicontrol Choose.
|
\li Select a wizard template, and then select \uicontrol Choose.
|
||||||
\li In the \uicontrol Name field, enter a name for the project.
|
\li In the \uicontrol Name field, enter a name for the project.
|
||||||
Keep in mind that projects cannot be easily renamed later.
|
Keep in mind that projects cannot be easily renamed later.
|
||||||
|
@@ -193,7 +193,7 @@
|
|||||||
example, if you create a 3D project, preset 3D components are added to it.
|
example, if you create a 3D project, preset 3D components are added to it.
|
||||||
You can add more preset components in \uicontrol Library.
|
You can add more preset components in \uicontrol Library.
|
||||||
|
|
||||||
\image studio-project-wizards.png "New File or Project dialog"
|
\image studio-project-wizards.png "New Project dialog"
|
||||||
|
|
||||||
Read more about projects:
|
Read more about projects:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user