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
Tobias Hunger
qt-creator
Commits
3ecdb94c
Commit
3ecdb94c
authored
Aug 05, 2010
by
Thomas Hartmann
Browse files
QmlJsEditor.snipptes: keeping correct syntax for snippets
Reviewed-by: Roberto Raggi
parent
29b073e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/snippets/qml.xml
View file @
3ecdb94c
...
...
@@ -10,9 +10,9 @@
<snippet>
BorderImage {
id:
<tab>
name
</tab>
source: "
<tab>
file
</tab>
"
width:
<tab>
int
</tab>
; height:
<tab>
int
</tab>
border.left:
<tab>
int
</tab>
; border.top:
<tab>
int
</tab>
border.right:
<tab>
int
</tab>
; border.bottom:
<tab>
int
</tab>
width:
<tab>
100
</tab>
; height:
<tab>
100
</tab>
border.left:
<tab>
5
</tab>
; border.top:
<tab>
5
</tab>
border.right:
<tab>
5
</tab>
; border.bottom:
<tab>
5
</tab>
}
</snippet>
...
...
@@ -80,9 +80,9 @@
</snippet>
<snippet>
PauseAnimation { duration:
<tab>
200
</tab>
}
</snippet>
<snippet>
ColorAnimation { from:
<tab>
color
</tab>
; to:
<tab>
color
</tab>
; duration:
<tab>
200
</tab>
}
<snippet>
ColorAnimation { from:
<tab>
"white"
</tab>
; to:
<tab>
"black"
</tab>
; duration:
<tab>
200
</tab>
}
</snippet>
<snippet
description=
"Colorize"
>
effect: Colorize { color: "
<tab>
color
</tab>
" }
<snippet
description=
"Colorize"
>
effect: Colorize { color: "
<tab>
"red"
</tab>
" }
</snippet>
<snippet
description=
"Blur"
>
effect: Blur { blurRadius: "
<tab>
200
</tab>
" }
</snippet>
...
...
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