Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
de91a792
Commit
de91a792
authored
Jan 12, 2011
by
Leena Miettinen
Browse files
Doc: update example and screen shot
Reviewed-by: Niels Weber
parent
9a7e4865
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/images/qmldesigner-tutorial-state1.png
View replaced file @
9a7e4865
View file @
de91a792
93.6 KB
|
W:
|
H:
95.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/qtcreator.qdoc
View file @
de91a792
...
...
@@ -4962,13 +4962,40 @@
\
o
Click
the
empty
slot
in
the
\
gui
States
pane
to
create
State1
.
\
o
Drag
and
drop
the
Qt
logo
on
top
of
middleRightRect
.
\
o
Click
the
empty
slot
in
the
\
gui
States
pane
to
create
State2
.
\
image
qmldesigner
-
tutorial
-
state1
.
png
"State 1"
\
o
In
the
code
editor
,
bind
the
position
of
the
Qt
logo
to
the
rectangle
to
make
sure
that
the
logo
is
displayed
within
the
rectangle
when
the
view
is
scaled
on
different
sizes
of
screens
.
Set
expressions
for
the
x
and
y
properties
,
as
illustrated
by
the
following
code
snippet
:
\
o
Click
the
empty
slot
in
the
\
gui
States
pane
to
create
State2
.
\
code
states
:
[
State
{
name
:
"State1"
PropertyChanges
{
target
:
icon
x
:
middleRightRect
.
x
y
:
middleRightRect
.
y
}
},
State
{
name
:
"State2"
PropertyChanges
{
target
:
icon
x
:
bottomLeftRect
.
x
y
:
bottomLeftRect
.
y
}
}
]
\
endcode
\
image
qmldesigner
-
tutorial
-
state1
.
png
"States"
\
o
Drag
and
drop
the
Qt
logo
on
top
of
bottomLeftRect
.
\
note
When
you
set
the
expressions
,
drag
and
drop
is
disabled
for
the
icon
in
\
QMLD
.
\
o
Press
\
key
{
Ctrl
+
R
}
to
run
the
application
in
the
QML
Viewer
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment