summaryrefslogtreecommitdiff
path: root/doc/qtdesignstudio
diff options
context:
space:
mode:
authorVikas Pachdha <vikas.pachdha@qt.io>2022-07-28 13:16:56 +0200
committerVikas Pachdha <vikas.pachdha@qt.io>2022-07-29 09:25:58 +0000
commit2356e9314c16b64747bcd71fbf4b52b7c48ceaea (patch)
tree410d8e61f6cac23864b9d647000b0fcd86108545 /doc/qtdesignstudio
parent50e6a9669673d6411615dc59171708ef2f016207 (diff)
downloadqt-creator-2356e9314c16b64747bcd71fbf4b52b7c48ceaea.tar.gz
Docs: Update Qt-Bridge Sketch docs for version 3.6
Fixes: QDS-7342 Change-Id: I8bae5b367e0d1b7c26e369f2169469f564eea3c2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc/qtdesignstudio')
-rw-r--r--doc/qtdesignstudio/images/qt-sketch-bridge-settings.pngbin40905 -> 25614 bytes
-rw-r--r--doc/qtdesignstudio/src/qtbridge/qtbridge-sketch-using.qdoc22
2 files changed, 14 insertions, 8 deletions
diff --git a/doc/qtdesignstudio/images/qt-sketch-bridge-settings.png b/doc/qtdesignstudio/images/qt-sketch-bridge-settings.png
index 0d7dfe7965..9ce32618b9 100644
--- a/doc/qtdesignstudio/images/qt-sketch-bridge-settings.png
+++ b/doc/qtdesignstudio/images/qt-sketch-bridge-settings.png
Binary files differ
diff --git a/doc/qtdesignstudio/src/qtbridge/qtbridge-sketch-using.qdoc b/doc/qtdesignstudio/src/qtbridge/qtbridge-sketch-using.qdoc
index 01f1013b1a..f5a17f8f69 100644
--- a/doc/qtdesignstudio/src/qtbridge/qtbridge-sketch-using.qdoc
+++ b/doc/qtdesignstudio/src/qtbridge/qtbridge-sketch-using.qdoc
@@ -245,15 +245,15 @@
component. See \l {Annotating Designs}.
\li Select the \uicontrol Settings tab to specify the export path and
asset format.
- \li Select \uicontrol Export to copy your assets to the export path you
- specified.
+ \li Select \uicontrol Export to export the document into a .qtbridge archive.
\li When the exporting is done, select \uicontrol OK.
\endlist
- All the assets and metadata are copied to the directory you specified. This
- might take a little while depending on the complexity of your project.
+ All the assets and metadata are exported into a .qtbridge archive in the directory
+ you specified. This might take a little while depending on the complexity of
+ your project.
- You can now create a project in \QDS and import the assets to it, as
+ You can now create a project in \QDS and import the .atbrige archive to it, as
described in \l {Creating Projects} and \l{Importing Designs}.
\section1 Specifying Export Path and Asset Format
@@ -263,9 +263,9 @@
\image qt-sketch-bridge-settings.png
- By default, \QBSK exports assets to a directory named after your
- Sketch file located inside the parent directory of the Sketch file
- being exported. You can change the export path in the
+ \QBSK exports assets to a .qtbridge archive named after your
+ Sketch file. By default, the directory is located inside the parent directory
+ of the Sketch file being exported. You can change the export path in the
\uicontrol {Export Path} field.
You can select the default asset format and DPI to use for each
@@ -279,6 +279,12 @@
from PNG files, export assets as progressive JPG or compact SVG,
and include SVG namespaces in SVG files.
+ \section1 Scaling
+
+ You can scale the generated assets and UI artefacts by setting a scaling factor between
+ 0.1 and 10.0 in \uicontrol Factor.
+ \note The factor is independent of the asset scale settings, that is, 2x assets shall
+ have a size of 5x when a scale factor of 2.5 is selected.
\section1 Exporting Library Symbols