summaryrefslogtreecommitdiffstats
path: root/src/declarative/QmlChanges.txt
blob: 82f22926fec15ddff52d52b48c2e74263ad6f2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
QML API Review
==============

The QML API is being reviewed from 17 to 28 August 2009.  This
file documents the changes.

API Changes
===========

Renamed Elements:
LineEdit         -> TextInput
VerticalLayout   -> VerticalPositioner
HorizontalLayout -> HorizontalPositioner
GridLayout       -> GridPositioner

Renamed properties:
MouseRegion: xmin    -> minimumX
MouseRegion: xmax    -> maximumX
MouseRegion: ymin    -> minimumY
MouseRegion: ymin    -> maximumY

Additions:
MouseRegion: add "acceptedButtons" property
MouseRegion: add "hoverEnabled" property
Timer: add start() and stop() slots

Deletions:
VerticalPositioner: lost "margins" property
HorizontalPositioner: lost "margins" property
GridPositioner: lost "margins" property

Other Changes:
Drag: axis becomes an enum with values "XAxis", "YAxis", "XandYAxis"

Pending Changes
===============

Renamed elements:
RunScriptAction    -> ScriptAction
ParentChangeAction -> ParentAction
Bind               -> Binding
Palette            -> SystemPalette
SetProperties      -> PropertyChanges
RunScript          -> StateChangeScript
SetAnchors         -> AnchorChanges

Renamed properties:
Follow: followValue    -> value
State: operations      -> changes
Transition: fromState  -> from
Trnasition: toState    -> to
Transition: operations -> animations

Removed Properties:
PropertyAction::property
PropertyAction::target (if possible)

Additions:
MouseRegion: add "pressedButtons" property
Connection: add "slot" property