forked from qt-creator/qt-creator
Doc: Describe the new toolbar in Qt Quick Designer
Some regularly used context-menu items can now be selected on the toolbar. Some of the icons are constructed at runtime, so images are needed for them. Some are in a new location that has to be added to the configuration file. Change-Id: Ibfc38ec21ed5526702abf89e64899efa5b978700 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -16,6 +16,7 @@ imagedirs = ../images \
|
|||||||
../../src/plugins/diffeditor/images \
|
../../src/plugins/diffeditor/images \
|
||||||
../../src/plugins/help/images \
|
../../src/plugins/help/images \
|
||||||
../../src/plugins/projectexplorer/images \
|
../../src/plugins/projectexplorer/images \
|
||||||
|
../../src/plugins/qmldesigner/components/componentcore/images \
|
||||||
../../src/plugins/qmldesigner/components/formeditor \
|
../../src/plugins/qmldesigner/components/formeditor \
|
||||||
../../src/plugins/qmldesigner/components/navigator \
|
../../src/plugins/qmldesigner/components/navigator \
|
||||||
../../src/plugins/scxmleditor/common/images \
|
../../src/plugins/scxmleditor/common/images \
|
||||||
|
|||||||
BIN
doc/images/qtcreator-anchors-reset-icon.png
Normal file
BIN
doc/images/qtcreator-anchors-reset-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 482 B |
BIN
doc/images/qtcreator-reset-position-icon.png
Normal file
BIN
doc/images/qtcreator-reset-position-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 472 B |
BIN
doc/images/qtcreator-reset-size-icon.png
Normal file
BIN
doc/images/qtcreator-reset-size-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 379 B |
@@ -153,11 +153,14 @@
|
|||||||
stacking value are drawn in the order they are listed, from the last item
|
stacking value are drawn in the order they are listed, from the last item
|
||||||
up.
|
up.
|
||||||
|
|
||||||
To change the stacking order of an item, right-click it in the navigator or
|
To raise or lower the stack value of an item, select \inlineimage raise.png
|
||||||
the \uicontrol {Form Editor} and select \uicontrol {Stack (z)}. You
|
(\uicontrol Raise) or \inlineimage lower.png
|
||||||
can raise or lower the stack value of an item
|
(\uicontrol Lower) on the toolbar.
|
||||||
or move the item to the front or back of all its siblings. To remove the
|
|
||||||
\c z property, select \uicontrol {Reset z Property}.
|
To move an item to the front or back of all its siblings, right-click it in
|
||||||
|
the navigator or the \uicontrol {Form Editor} and select
|
||||||
|
\uicontrol {Stack (z)}. To remove the \c z property, select
|
||||||
|
\uicontrol {Reset z Property}.
|
||||||
|
|
||||||
You can also use a \uicontrol StackLayout item (Qt Quick Controls 2) to
|
You can also use a \uicontrol StackLayout item (Qt Quick Controls 2) to
|
||||||
create a stacked view. For more information, see \l {Using Layouts}.
|
create a stacked view. For more information, see \l {Using Layouts}.
|
||||||
@@ -216,10 +219,13 @@
|
|||||||
|
|
||||||
\image qmldesigner-element-properties.png
|
\image qmldesigner-element-properties.png
|
||||||
|
|
||||||
You can use a context-menu to reset some item properties. To reset the
|
To return an item to its implicit position after moving it, select the
|
||||||
position or size property of an item, right-click the item and select
|
\inlineimage qtcreator-reset-position-icon.png
|
||||||
\uicontrol {Edit > Reset Position} or \uicontrol {Reset Size} in the context menu. To
|
(\uicontrol {Reset Position}) button on the toolbar. To return it to its
|
||||||
set the visibility of the item, select \uicontrol {Edit > Visibility}.
|
implicit size, select \inlineimage qtcreator-reset-size-icon.png
|
||||||
|
(\uicontrol {Reset Size}) button.
|
||||||
|
|
||||||
|
To set the visibility of the item, select \uicontrol {Edit > Visibility} in the context menu.
|
||||||
|
|
||||||
To specify the color of the selected item in the \uicontrol {Select Color}
|
To specify the color of the selected item in the \uicontrol {Select Color}
|
||||||
dialog, select \uicontrol {Edit Color} in the context menu.
|
dialog, select \uicontrol {Edit Color} in the context menu.
|
||||||
|
|||||||
@@ -172,6 +172,12 @@
|
|||||||
|
|
||||||
\image qmldesigner-anchor-buttons.png "Anchor buttons"
|
\image qmldesigner-anchor-buttons.png "Anchor buttons"
|
||||||
|
|
||||||
|
For convenience, you can click the \inlineimage anchor_fill.png
|
||||||
|
(\uicontrol {Fill to Parent}) toolbar button to apply fill anchors to an
|
||||||
|
item and the \inlineimage qtcreator-anchors-reset-icon.png
|
||||||
|
(\uicontrol {Reset Anchors}) button to reset the anchors to their saved
|
||||||
|
state.
|
||||||
|
|
||||||
Specifying the baseline anchor in \QMLD is not supported. You can specify it
|
Specifying the baseline anchor in \QMLD is not supported. You can specify it
|
||||||
in the \uicontrol {Text Editor}.
|
in the \uicontrol {Text Editor}.
|
||||||
|
|
||||||
@@ -270,6 +276,12 @@
|
|||||||
the \uicontrol {Form Editor}, and then select \uicontrol Layout in the
|
the \uicontrol {Form Editor}, and then select \uicontrol Layout in the
|
||||||
context menu.
|
context menu.
|
||||||
|
|
||||||
|
You can also click the \inlineimage column.png
|
||||||
|
(\uicontrol {Column Layout}), \inlineimage row.png
|
||||||
|
(\uicontrol {Row Layout}), and \inlineimage grid.png
|
||||||
|
(\uicontrol {Grid Layout}) toolbar buttons to apply layouts to the selected
|
||||||
|
items.
|
||||||
|
|
||||||
To make an item within a layout as wide as possible while respecting the
|
To make an item within a layout as wide as possible while respecting the
|
||||||
given constraints, select the item on the canvas and then select
|
given constraints, select the item on the canvas and then select
|
||||||
\uicontrol Layout > \uicontrol {Fill Width} in the context menu. To make the item as
|
\uicontrol Layout > \uicontrol {Fill Width} in the context menu. To make the item as
|
||||||
|
|||||||
Reference in New Issue
Block a user