diff options
Diffstat (limited to 'doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc')
-rw-r--r-- | doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc | 132 |
1 files changed, 2 insertions, 130 deletions
diff --git a/doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc b/doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc index ce53ae2ccd..8ad05eba81 100644 --- a/doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc +++ b/doc/qtdesignstudio/src/qtdesignstudio-importing-designs.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Bridge documentation. @@ -24,7 +24,7 @@ ****************************************************************************/ /*! - \contentspage {Qt Design Studio} + \contentspage index.html \previouspage creator-vcs-git.html \page studio-importing-designs.html \nextpage studio-importing-2d.html @@ -47,131 +47,3 @@ You can then edit them in the Design mode. \endlist */ - -/*! - \contentspage {Qt Design Studio} - \previouspage studio-importing-designs.html - \page studio-importing-2d.html - \nextpage studio-importing-3d.html - - \title Importing 2D Assets - - \image studio-imported-assets.png "Artwork imported into Qt Design Studio" - - You can import assets that you exported with \QB to a \QDS project as image - and QML files and edit them in the Design mode. If you make changes to your - design in the design tool, you can merge the changes into existing QML files - without overwriting the changes you have made in \QDS. - - \note Attempting to import assets exported on another system might fail. - - The following instructions use an empty project as an example. For more - information about the options you have, see - \l {Creating Projects}. - - To import designs to \QDS projects: - - \list 1 - \li Select \uicontrol File > \uicontrol {New File or Project} > - \uicontrol General > \uicontrol Choose, and follow the - instructions of the wizard to create an empty project. - \li In \uicontrol Projects, double-click \e Screen01.ui.qml to move to - the Design mode. - \li Select \uicontrol Library > \uicontrol Assets > - \uicontrol {Add New Assets}. - \li Select the folder where you exported the assets. - \li Select \uicontrol {Exported Assets (*.metadata)} in the dropdown - menu to filter \e .metadata files. - \li Select a \e .metadata file to import, and then select - \uicontrol Open. - \li Select \uicontrol Details next to the - \uicontrol {Metadata Import Paths} field to display the path where - the metadata is imported from. - \image studio-import-metadata.png "Asset Import dialog" - \li Select \uicontrol Details next to the - \uicontrol {QML/Asset Export Paths} field to display the paths to - copy the assets to. - \li In the \uicontrol QML field, you can change the folder to copy the - QML files to. - \li In the \uicontrol Assets field, you can change the folder to copy - the image files to. - \li Deselect the \uicontrol {Import assets} check box if you only want - to create QML files. - \li Deselect the \uicontrol {Generate QML} check box if you only - want to import assets. - \li Select the \uicontrol {Merge QML} check box if you have imported the - assets before and want to merge the changes into existing QML files - instead of overwriting the existing files. - \li Select \uicontrol Import to import the QML files and assets. This - might take a little while for complex projects. - \endlist - - The imported assets are displayed in the \uicontrol Assets tab in the - \uicontrol Library as PNG images. The components that you specified in - the design tool are displayed in the \uicontrol {My QML Components} tab, - as well as in the \uicontrol Project tab of the \uicontrol Navigator as - separate QML files. - - \note The layer that was the bottom layer in the design tool becames the top - layer in the \uicontrol Navigator to reflect the QML code model. You - can view the QML code in the \uicontrol {Text Editor} tab. - - If asset importer conflicts, warnings, and errors are displayed in the - \uicontrol {Asset Import} dialog while importing, fix the issues in - design tool and export the assets again. - - \section1 \QB Videos - - For more information about importing assets from Adobe Photoshop, watch a - video tutorial and webinar about using \QB: - - \list - \li \l{https://resources.qt.io/development-topic-ui-design/qtdesignstudio-clustertutorial-partone} - {Building an Instrument Cluster for Your Car HMI, Part 1} - \li \l{https://www.youtube.com/watch?v=ZzbucmQPU44} - {From Photoshop to Prototype with Qt Design Studio} - \endlist -*/ - -/*! - \contentspage {Qt Design Studio} - \previouspage studio-importing-2d.html - \page studio-importing-3d.html - \nextpage quick-converting-ui-projects.html - - \title Importing 3D Assets - - You can import files you created using 3D graphics applications and stored - in several widely-used formats, such as .blend, .dae, .fbx, .glb, .gltf, - .obj, .uia, or .uip. For a list of formats supported by each \l{Qt Quick 3D} - version, see the module documentation. - - For more information about exporting 3D graphics from Maya, see - \l{Exporting from Maya}. - - During the import, you can optimize the files for \QDS. You can remove - components from meshes to reduce the cache size, find and fix issues in - the files, optimize graphs and meshes, and so on. The available options - depend on whether you are importing files that you created with Qt 3D Studio - or with other 3D graphics tools. See the tooltips in the options dialog - for more information about a particular option. - - \image studio-import-3d.png - - To import 3D assets to \QDS projects: - - \list 1 - \li In the Design mode, select \uicontrol Library > \uicontrol Assets - > \uicontrol {Add New Assets}. - \li Select \uicontrol {3D Assets} in the dropdown menu to filter 3D - graphics files. - \li Select a file to import, and then select \uicontrol Open. - \li In the \uicontrol {3D Scene Options} tab, select options for - importing the file. - \li Select \uicontrol Import to import the 3D graphics file. - \li When the import is done, select \uicontrol Close. - \endlist - - You can open the imported files in the Design mode for editing in the - \l{Editing 3D Scenes}{3D editor}. -*/ |