~kalikiana/unity-action-api/cutedocs

« back to all changes in this revision

Viewing changes to test/qml/tst_api.qml

  • Committer: Tarmac
  • Author(s): Antti Kaijanmäki
  • Date: 2013-06-10 15:53:13 UTC
  • mfrom: (4.1.14 unity-action-api)
  • Revision ID: tarmac-20130610155313-6el4nwwz2e6p5geq
Introduce PreviewAction.

Approved by Pete Woods, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
Item {
28
28
 
29
29
    Unity.Action {
30
 
 
 
30
        name: "NewMessage"
 
31
        text: "New Message"
 
32
        iconName: "email-new-message"
 
33
        description: "Write a new Message"
 
34
        keywords: "Compose;Send"
 
35
        enabled: true
 
36
        parameterType: Action.None
 
37
        onTriggered: {}
 
38
    }
 
39
 
 
40
    Unity.PreviewAction {
 
41
        text: "Color Balance"
 
42
        commitLabel: "Apply"
 
43
 
 
44
        onStarted: {}
 
45
        onResetted: {}
 
46
        onCancelled: {}
 
47
        onTriggered: {}
31
48
    }
32
49
 
33
50