forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/8.0' into 9.0
Change-Id: Ib2e350805a3043f7b84da960978f09674dc70694
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
\nextpage qtbridge-figma-using.html
|
\nextpage qtbridge-figma-using.html
|
||||||
|
|
||||||
\title Setting Up \QBF
|
\title Setting Up \QBF
|
||||||
|
\note \QBF is included in the
|
||||||
|
\l{https://www.qt.io/pricing}{\QDS Enterprise license}.
|
||||||
|
|
||||||
\QBF is delivered with \QDS as a developer plugin that you can install to
|
\QBF is delivered with \QDS as a developer plugin that you can install to
|
||||||
the Desktop version of Figma. To install the plugin, open the Plugin Manager
|
the Desktop version of Figma. To install the plugin, open the Plugin Manager
|
||||||
|
@@ -8,35 +8,24 @@
|
|||||||
|
|
||||||
\title Asset Creation with Other Tools
|
\title Asset Creation with Other Tools
|
||||||
|
|
||||||
Typically, you as a designer would design a UI using imaging and design
|
Typically, you as a designer would like to use specialized UI design tools,
|
||||||
tools, such as Adobe Photoshop, Sketch, Figma, Blender, or Maya, and then
|
such as Adobe Photoshop, Sketch, Figma, Blender, or Maya, and then send the
|
||||||
send your design to a developer for implementation. You can use the \QB
|
design to a developer for functionality implementation. Here you can use the
|
||||||
export tool to convert 2D assets into a metadata format supported by \QDS.
|
\QB export tool to convert 2D or 3D assets for \QDS.
|
||||||
You can use the export functionality of 3D graphics tools to save your 3D
|
|
||||||
assets in a format that can be imported into \QDS.
|
|
||||||
|
|
||||||
You can import the 2D and 3D assets into \QDS for editing before you
|
You can import the assets into \QDS. There you can also edit them more if needed. You
|
||||||
submit the UI to the developer for adding the functionality to the
|
can then submit the UI to the developer for adding further functionality to the
|
||||||
application.
|
application.
|
||||||
|
|
||||||
If you want to make further changes to your components in the design tool,
|
The following image describes the workflow in a basic way using \QBPS and \QDS:
|
||||||
you can export the UI files back into the metadata format, which you can
|
|
||||||
then import back into the design tool by using \QB. For example, you could
|
|
||||||
create components in a design tool and export them to \QDS before you start
|
|
||||||
making instances of them. In \QDS, you can add functionality to the
|
|
||||||
components, such as button states and then bring them back to the design
|
|
||||||
tool as assets. If you use functional \QDS components in the design tool,
|
|
||||||
you will find it easier to merge new iterations of the design to \QDS and
|
|
||||||
continue to build the components there.
|
|
||||||
|
|
||||||
The following image describes the workflow using \QBPS and \QDS:
|
|
||||||
|
|
||||||
\image studio-workflow.png
|
\image studio-workflow.png
|
||||||
|
|
||||||
The workflow consists of the following steps:
|
The workflow consists of the following steps:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Export your design from a design tool into the metadata format.
|
\li Export your design from a design tool into a metadata
|
||||||
|
format supported by \QDS.
|
||||||
\li \l{Creating Projects}{Create a project} in \QDS and import the
|
\li \l{Creating Projects}{Create a project} in \QDS and import the
|
||||||
metadata file to it.
|
metadata file to it.
|
||||||
\li Edit the imported components and create more components in
|
\li Edit the imported components and create more components in
|
||||||
@@ -46,9 +35,6 @@
|
|||||||
\li Create interactions in \l States and \l {Connections}.
|
\li Create interactions in \l States and \l {Connections}.
|
||||||
\li \l{Validating with Target Hardware}{Preview} your design in
|
\li \l{Validating with Target Hardware}{Preview} your design in
|
||||||
real time, on the desktop or on a mobile or an embedded device.
|
real time, on the desktop or on a mobile or an embedded device.
|
||||||
\li Optionally, export your components back into the metadata format
|
|
||||||
that you can import back into the design tool by using \QB. You
|
|
||||||
can continue to iterate your design this way until it is ready.
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
For more information, watch a video that shows how to perform the tasks
|
For more information, watch a video that shows how to perform the tasks
|
||||||
@@ -65,9 +51,5 @@
|
|||||||
|
|
||||||
Import assets that you exported from design tools to a \QDS project
|
Import assets that you exported from design tools to a \QDS project
|
||||||
and edit them in the \uicontrol Design mode to create a UI.
|
and edit them in the \uicontrol Design mode to create a UI.
|
||||||
\li \l {Exporting Components}
|
|
||||||
|
|
||||||
Export UI files (.ui.qml) back to the metadata format and PNG assets
|
|
||||||
to generate native file formats in design tools using \QB.
|
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
@@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
\title Translations
|
\title Translations
|
||||||
|
|
||||||
|
The \uicontrol Translations view is included in the
|
||||||
|
\l{https://www.qt.io/pricing}{Qt Design Studio Enterprise license}.
|
||||||
|
|
||||||
You handle translations and multi-language support in the
|
You handle translations and multi-language support in the
|
||||||
\uicontrol {Translations} view.
|
\uicontrol {Translations} view.
|
||||||
|
|
||||||
|
@@ -159,8 +159,12 @@ void TestResultDelegate::clearCache()
|
|||||||
m_lastProcessedIndex = QModelIndex();
|
m_lastProcessedIndex = QModelIndex();
|
||||||
m_lastProcessedFont = QFont();
|
m_lastProcessedFont = QFont();
|
||||||
m_lastWidth = -1;
|
m_lastWidth = -1;
|
||||||
if (current.isValid())
|
if (current.isValid()) {
|
||||||
emit sizeHintChanged(current);
|
if (auto model = current.model()) {
|
||||||
|
if (model->index(current.row(), current.column(), current.parent()) == current)
|
||||||
|
emit sizeHintChanged(current);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestResultDelegate::limitTextOutput(QString &output) const
|
void TestResultDelegate::limitTextOutput(QString &output) const
|
||||||
|
Reference in New Issue
Block a user