forked from qt-creator/qt-creator
Doc: Document rendering text as an image option
Change-Id: I4be09cb18bbaea94e278141bb786b9230d8306fd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 22 KiB |
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 20 KiB |
@@ -172,6 +172,10 @@
|
|||||||
drew a rectangle, you can export it as a Rectangle Studio component.
|
drew a rectangle, you can export it as a Rectangle Studio component.
|
||||||
You can provide the import statement of the module where the QML
|
You can provide the import statement of the module where the QML
|
||||||
type is defined in the \uicontrol {Add Imports} field.
|
type is defined in the \uicontrol {Add Imports} field.
|
||||||
|
\li Select the \uicontrol {Render Text} check box to render the text
|
||||||
|
layer as an asset. The layer will be exported as an asset and the
|
||||||
|
text data will not be exported. This allows the text layer to be
|
||||||
|
merged to parent artboard or group as well.
|
||||||
\li In the \uicontrol {Add Imports} field, enter additional
|
\li In the \uicontrol {Add Imports} field, enter additional
|
||||||
import statements to have them added to the generated QML file.
|
import statements to have them added to the generated QML file.
|
||||||
For example, to use Qt Quick Controls 2.3, you need the import
|
For example, to use Qt Quick Controls 2.3, you need the import
|
||||||
|
@@ -197,6 +197,10 @@
|
|||||||
it as a \l Rectangle component.
|
it as a \l Rectangle component.
|
||||||
You can provide the import statement of the module where the QML
|
You can provide the import statement of the module where the QML
|
||||||
type is defined in the \uicontrol {QML Imports} field.
|
type is defined in the \uicontrol {QML Imports} field.
|
||||||
|
\li Select the \uicontrol {Render Text} check box to render the text
|
||||||
|
layer as an asset. The layer will be exported as an asset and the
|
||||||
|
text data will not be exported. This allows the text layer to be
|
||||||
|
merged to parent artboard or group as well.
|
||||||
\li In the \uicontrol {QML Imports} field, enter
|
\li In the \uicontrol {QML Imports} field, enter
|
||||||
additional import statements to have them added to the generated QML
|
additional import statements to have them added to the generated QML
|
||||||
file. For example, to use Qt Quick Controls 2.3, you need the
|
file. For example, to use Qt Quick Controls 2.3, you need the
|
||||||
|
Reference in New Issue
Block a user