diff --git a/src/plugins/snippets/QMLSNIPPETS.TXT b/src/plugins/snippets/QMLSNIPPETS.TXT new file mode 100644 index 00000000000..b4e33ab4c26 --- /dev/null +++ b/src/plugins/snippets/QMLSNIPPETS.TXT @@ -0,0 +1,96 @@ +property : +if you delete the last name as you tab through it should also delete the : colon as that is not needed. + +---------------- +Item { + id: + + } +If you delete the name maybe the 'id:' should be deleted as well. + +This is fine for most other QML elements such as Rectangle and MouseRegion + +---------------- + +BorderImage { + id: + width: ; height: + border.left: ; border.top: + border.right: ; border.bottom: + source: "" +} + +------------------- + +Image { + id: + source: "" +} + +---------------- + +Text { + id: + text: "" +} + +---------------- + +states: [ + State { + name: "" + PropertyChanges { + target: + <- cursor should end up here at the end? + } + } +] + +------------------ +State { + name: "" + PropertyChanges { + target: + <- cursor should end up here at the end? + } +} + + +-------------------- +transitions: [ + Transition { + from: "" + to: "" + <- cursor should end up here at the end? + } +] + +----------------------- + +Transition { + from: "" + to: "" + <- cursor should end up here at the end? +} + +----------------------- + +PropertyChanges { + target: + <- cursor should end up here at the end? + } + +NumberAnimation { matchTargets: ""; matchProperties: ""; duration: } +NumberAnimation { target: ""; property: ""; value: ; duration: } +PropertyAction { matchTargets: ""; matchProperties: ""; duration: } +PropertyAction { target: ""; property: ""; value: ; duration: } +PauseAnimation { duration: } +ColorAnimation { from: ; to: ; duration: } +effect: Colorize { color: "" } +effect: Blur { blurRadius: "" } +effect: DropShadow { + blurRadius: + offset.x: + offset.y: + } +