Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/listsAndNameSpaces into lp:ubuntu-ui-toolkit/staging

Proposed by Cris Dywan
Status: Merged
Approved by: Tim Peeters
Approved revision: 2024
Merged at revision: 2030
Proposed branch: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/listsAndNameSpaces
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 1297 lines (+337/-327)
3 files modified
apicheck/apicheck.cpp (+30/-19)
components.api (+301/-302)
tests/api/components.api (+6/-6)
To merge this branch: bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/listsAndNameSpaces
Reviewer Review Type Date Requested Status
ubuntu-sdk-build-bot continuous-integration Approve
Tim Peeters Approve
Review via email: mp+299048@code.launchpad.net

This proposal supersedes a proposal from 2016-06-24.

Commit message

More robust list and namespace handling in apicheck

To post a comment you must log in.
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote : Posted in a previous version of this proposal

We should show the modules for the parent components, but that can be done in a separate MR. See https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1596601

Revision history for this message
Tim Peeters (tpeeters) wrote : Posted in a previous version of this proposal

I left a bunch of diff comments below.

review: Needs Fixing
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal

> now I'm confused with the syntax

Syntax hasn't changed. You seem to be reading it heuristically like the diff tool which sometimes causes it to produce funky chunks ;-)

> -default property list<UbuntuToolki>.UCAction> actions
> I know I'm commenting on a removed line.
> But how come we had <UbuntuToolki> with the 't' in the end missing?
The list parsing, which I'm replacing in this MR, was flawed. The raw type in this case is QQmlListProperty<UbuntuToolkit::UCAction>.

> +function UCAlarm* get(int index)
> UCAlarm is the Cpp name. Should it be here?
> If yes, then it should have the Cpp namespace too.

That line was "function UCAlarm* get(int index)" before the introduction of namespaces, thus it's not a regression in the context of this MR, which only attempts to fix regressions whilst retaining the namespaces where they make sense.

> +signal dragDirectionChanged(UCBottomEdge direction)
> Why does the function parameter still have the CPP name?

Bug indeed (was "BottomEdge.DragDirection direction" before namespaces).

> +UCActionContextAttached: QtObject
> why is this not the QML component name?

Not a regression caused by introducing namespaces.

> +Ubuntu.Components.UCAlarm: Enum
> this shows the qml module name with the cpp class name.

Bug indeed (was "Ubuntu.Components.Alarm.Status" before namespaces).

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal

Regressions should be fixed now.

> > +function UCAlarm* get(int index)
> > UCAlarm is the Cpp name. Should it be here?
> > If yes, then it should have the Cpp namespace too.

> That line was "function UCAlarm* get(int index)" before the
> introduction of namespaces, thus it's not a regression in the
> context of this MR, which only attempts to fix regressions
> whilst retaining the namespaces where they make sense.

Having said that, I realized by accident that the fix was pretty simple, so I included it now anyway.

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
2024. By Cris Dywan

Merge lp:ubuntu-ui-toolkit/staging

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

okay, thanks.

review: Approve
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'apicheck/apicheck.cpp'
--- apicheck/apicheck.cpp 2016-03-17 21:11:09 +0000
+++ apicheck/apicheck.cpp 2016-07-04 16:15:32 +0000
@@ -38,6 +38,7 @@
38#include <QJsonObject>38#include <QJsonObject>
39#include <QJsonArray>39#include <QJsonArray>
40#include <QLoggingCategory>40#include <QLoggingCategory>
41#include <QRegularExpression>
4142
42#define foreach Q_FOREACH43#define foreach Q_FOREACH
43#include <QtQml/private/qqmlengine_p.h>44#include <QtQml/private/qqmlengine_p.h>
@@ -140,30 +141,37 @@
140*/141*/
141QByteArray convertToId(const QString &cppName)142QByteArray convertToId(const QString &cppName)
142{143{
143 QString qmlType(cppName);144 QString qmlType(QString(qPrintable(cppName)).replace(QRegExp("(QQmlListProperty|QList)<(.+)>"), "\\2"));
145 QString typeFormat(qmlType != cppName ? "list<%1>" : "%1");
146
147 QList<const QQmlType*>types(qmlTypesByCppName[qPrintable(qmlType)].toList());
148 std::sort(types.begin(), types.end(), typeNameSort);
149
144 if (qmlType.contains("::")) {150 if (qmlType.contains("::")) {
145 QStringList parts(qmlType.split("::"));151 QStringList parts(qmlType.split("::"));
146 return qPrintable(convertToId(parts[0]) + "." + convertToId(parts[1]));152 // Enum or Flags
153 if (parts.length() > 2) {
154 qmlType = convertToId(parts[0] + "::" + parts[1]) + "." + parts[2];
155 } else {
156 // Namespace
157 qmlType = parts[1];
158 // FIXME: Namespaces in properties?
159 if (parts[0] == "Qt" || parts[0] == "RenderTimer")
160 return qPrintable(typeFormat.arg(parts[0] + "." + qmlType));
161 }
147 }162 }
148163
149 QList<const QQmlType*>types(qmlTypesByCppName[qPrintable(cppName)].toList());164 if (types.isEmpty())
150 std::sort(types.begin(), types.end(), typeNameSort);165 qmlType = cppToId.value(qPrintable(qmlType), qPrintable(qmlType));
151 if (!types.isEmpty())166 else {
152 qmlType = QString(types[0]->qmlTypeName()).split("/")[1].toUtf8();167 // Cache QML type name
153 else168 QString newQmlType(QString(types[0]->qmlTypeName()).split("/")[1].toUtf8());
154 qmlType = cppToId.value(qPrintable(qmlType), qPrintable(cppName));169 cppToId.insert(qPrintable(qmlType), qPrintable(newQmlType));
170 qmlType = newQmlType;
171 }
155 // Strip internal _QMLTYPE_xy suffix172 // Strip internal _QMLTYPE_xy suffix
156 qmlType = qmlType.split("_")[0];173 qmlType = qmlType.split("_")[0];
157 // List type174 return qPrintable(typeFormat.arg(qmlType));
158 if (qmlType.startsWith("QQmlListProperty<")) {
159 QString subType(qmlType.mid(17, qmlType.size() - 18));
160 qmlType = "list<" + convertToId(subType) + ">";
161 }
162 else if (qmlType.startsWith("QList<")) {
163 QString subType(qmlType.mid(6, qmlType.size() - 7));
164 qmlType = "list<" + convertToId(subType) + ">";
165 }
166 return qPrintable(qmlType.replace("QTestRootObject", "QtObject"));
167}175}
168176
169QByteArray convertToId(const QMetaObject *mo)177QByteArray convertToId(const QMetaObject *mo)
@@ -626,7 +634,7 @@
626 // Two leading underscores: internal API634 // Two leading underscores: internal API
627 if (name.startsWith("__"))635 if (name.startsWith("__"))
628 return;636 return;
629 const QString typeName = meth.typeName();637 QString typeName = meth.typeName();
630638
631 if (implicitSignals.contains(name)639 if (implicitSignals.contains(name)
632 && !meth.revision()640 && !meth.revision()
@@ -652,6 +660,8 @@
652 if (revision && object->contains("#version"))660 if (revision && object->contains("#version"))
653 method["version"] = object->value("#version").toString();661 method["version"] = object->value("#version").toString();
654662
663 if (typeName.endsWith("*"))
664 typeName.truncate(typeName.size() - 1);
655 if (typeName != QLatin1String("void"))665 if (typeName != QLatin1String("void"))
656 method["returns"] = typeName;666 method["returns"] = typeName;
657667
@@ -850,6 +860,7 @@
850 cppToId.insert("QPoint", "Qt.point");860 cppToId.insert("QPoint", "Qt.point");
851 cppToId.insert("QColor", "color");861 cppToId.insert("QColor", "color");
852 cppToId.insert("QQmlEasingValueType::Type", "Type");862 cppToId.insert("QQmlEasingValueType::Type", "Type");
863 cppToId.insert("QTestRootObject", "QtObject");
853864
854 // find a valid QtQuick import865 // find a valid QtQuick import
855 QByteArray importCode;866 QByteArray importCode;
856867
=== modified file 'components.api'
--- components.api 2016-06-27 10:03:01 +0000
+++ components.api 2016-07-04 16:15:32 +0000
@@ -1,14 +1,14 @@
1Ubuntu.Components.AbstractButton 1.0 0.1: UbuntuToolkit.UCActionItem1Ubuntu.Components.AbstractButton 1.0 0.1: ActionItem
2 property bool hovered2 property bool hovered
3 signal clicked()3 signal clicked()
4 signal pressAndHold()4 signal pressAndHold()
5 property bool pressed5 property bool pressed
6Ubuntu.Components.AbstractButton 1.3 UbuntuToolkit::UCAbstractButton: UbuntuToolkit.UCActionItem6Ubuntu.Components.AbstractButton 1.3 UbuntuToolkit::UCAbstractButton: ActionItem
7 readonly property bool hovered7 readonly property bool hovered
8 signal clicked()8 signal clicked()
9 signal pressAndHold()9 signal pressAndHold()
10 readonly property bool pressed10 readonly property bool pressed
11 readonly property UbuntuToolkit.UCMargins sensingMargins11 readonly property UCMargins sensingMargins
12Ubuntu.Components.Action 1.3 1.0 0.1 UbuntuToolkit::UCAction: QtObject12Ubuntu.Components.Action 1.3 1.0 0.1 UbuntuToolkit::UCAction: QtObject
13 property string description13 property string description
14 property bool enabled14 property bool enabled
@@ -24,8 +24,15 @@
24 property var shortcut 1.324 property var shortcut 1.3
25 property string text25 property string text
26 property bool visible26 property bool visible
27Ubuntu.Components.ActionBar 1.3: UbuntuToolkit.UCStyledItemBase27Ubuntu.Components.Action.Type: Enum
28 property list<UbuntuToolki>.UCAction> actions28 Bool
29 Integer
30 None
31 Object
32 Real
33 String
34Ubuntu.Components.ActionBar 1.3: StyledItem
35 property list<Action> actions
29 property Component delegate36 property Component delegate
30 property int numberOfSlots37 property int numberOfSlots
31Ubuntu.Components.Styles.ActionBarStyle 1.3: Item38Ubuntu.Components.Styles.ActionBarStyle 1.3: Item
@@ -35,12 +42,12 @@
35 property url overflowIconSource42 property url overflowIconSource
36 property string overflowText43 property string overflowText
37Ubuntu.Components.ActionContext 1.0 0.1 UbuntuToolkit::UCActionContext: QtObject44Ubuntu.Components.ActionContext 1.0 0.1 UbuntuToolkit::UCActionContext: QtObject
38 default property list<UbuntuToolki>.UCAction> actions45 default property list<Action> actions
39 property bool active46 property bool active
40 function addAction(UbuntuToolkit.UCAction action)47 function addAction(Action action)
41 function removeAction(UbuntuToolkit.UCAction action)48 function removeAction(Action action)
42Ubuntu.Components.ActionItem 1.0 0.1 UbuntuToolkit::UCActionItem: UbuntuToolkit.UCStyledItemBase49Ubuntu.Components.ActionItem 1.0 0.1 UbuntuToolkit::UCActionItem: StyledItem
43 property UbuntuToolkit.UCAction action50 property Action action
44 property string iconName51 property string iconName
45 property url iconSource52 property url iconSource
46 signal triggered(var value)53 signal triggered(var value)
@@ -48,20 +55,20 @@
48 function trigger()55 function trigger()
49 property string text56 property string text
50Ubuntu.Components.ActionList 1.0 0.1: QtObject57Ubuntu.Components.ActionList 1.0 0.1: QtObject
51 property list<UbuntuToolki>.UCAction> actions58 property list<Action> actions
52 default property list<UbuntuToolki>.UCAction> children59 default property list<Action> children
53Ubuntu.Components.ActionList 1.3: QtObject60Ubuntu.Components.ActionList 1.3: QtObject
54 property list<UbuntuToolki>.UCAction> actions61 property list<Action> actions
55 default property list<UbuntuToolki>.UCAction> children62 default property list<Action> children
56Ubuntu.Components.ActionManager 1.0 0.1 UbuntuToolkit::UCActionManager: QtObject63Ubuntu.Components.ActionManager 1.0 0.1 UbuntuToolkit::UCActionManager: QtObject
57 default property list<UbuntuToolki>.UCAction> actions64 default property list<Action> actions
58 readonly property UbuntuToolkit.UCActionContext globalContext65 readonly property ActionContext globalContext
59 property list<UbuntuToolki>.UCActionContext> localContexts66 property list<ActionContext> localContexts
60 signal quit()67 signal quit()
61 function addAction(UbuntuToolkit.UCAction action)68 function addAction(Action action)
62 function removeAction(UbuntuToolkit.UCAction action)69 function removeAction(Action action)
63 function addLocalContext(UbuntuToolkit.UCActionContext context)70 function addLocalContext(ActionContext context)
64 function removeLocalContext(UbuntuToolkit.UCActionContext context)71 function removeLocalContext(ActionContext context)
65Ubuntu.Components.Popups.ActionSelectionPopover 1.0 0.1: Popover72Ubuntu.Components.Popups.ActionSelectionPopover 1.0 0.1: Popover
66 property var actions73 property var actions
67 property Component delegate74 property Component delegate
@@ -76,10 +83,10 @@
76Ubuntu.Components.ActivityIndicator 1.3: AnimatedItem83Ubuntu.Components.ActivityIndicator 1.3: AnimatedItem
77 property bool onScreen84 property bool onScreen
78 property bool running85 property bool running
79Ubuntu.Components.AdaptivePageLayout 1.3: UbuntuToolkit.UCPageTreeNode86Ubuntu.Components.AdaptivePageLayout 1.3: PageTreeNode
80 property bool asynchronous87 property bool asynchronous
81 readonly property int columns88 readonly property int columns
82 property list<PageColumnsLayou> layouts89 property list<PageColumnsLayout> layouts
83 function var addPageToCurrentColumn(var sourcePage, var page, var properties)90 function var addPageToCurrentColumn(var sourcePage, var page, var properties)
84 function var addPageToNextColumn(var sourcePage, var page, var properties)91 function var addPageToNextColumn(var sourcePage, var page, var properties)
85 function var removePages(var page)92 function var removePages(var page)
@@ -98,10 +105,51 @@
98 property url sound105 property url sound
99 readonly property Status status106 readonly property Status status
100 property AlarmType type107 property AlarmType type
108Ubuntu.Components.Alarm.AlarmType: Enum
109 OneTime
110 Repeating
111Ubuntu.Components.Alarm.DayOfWeek: Enum
112 AutoDetect
113 Daily
114 Friday
115 Monday
116 Saturday
117 Sunday
118 Thursday
119 Tuesday
120 Wednesday
121Ubuntu.Components.Alarm.DaysOfWeek: Flag
122 AutoDetect
123 Daily
124 Friday
125 Monday
126 Saturday
127 Sunday
128 Thursday
129 Tuesday
130 Wednesday
131Ubuntu.Components.Alarm.Error: Enum
132 AdaptationError
133 EarlyDate
134 InvalidDate
135 InvalidEvent
136 NoDaysOfWeek
137 NoError
138 OneTimeOnMoreDays
139 OperationPending
140Ubuntu.Components.Alarm.Operation: Enum
141 Canceling
142 NoOperation
143 Reseting
144 Saving
145Ubuntu.Components.Alarm.Status: Enum
146 Fail
147 InProgress
148 Ready
101Ubuntu.Components.AlarmModel 1.0 0.1 UbuntuToolkit::UCAlarmModel: QAbstractListModel149Ubuntu.Components.AlarmModel 1.0 0.1 UbuntuToolkit::UCAlarmModel: QAbstractListModel
102 readonly property int count150 readonly property int count
103 function refresh() 1.0151 function refresh() 1.0
104 function UbuntuToolkit.UCAlarm* get(int index)152 function Alarm get(int index)
105Ubuntu.Components.Argument 1.0 0.1 UbuntuToolkit::UCArgument: QtObject153Ubuntu.Components.Argument 1.0 0.1 UbuntuToolkit::UCArgument: QtObject
106 property string help154 property string help
107 function var at(int i)155 function var at(int i)
@@ -109,8 +157,8 @@
109 property bool required157 property bool required
110 property QStringList valueNames158 property QStringList valueNames
111Ubuntu.Components.Arguments 1.0 0.1 UbuntuToolkit::UCArguments: QtObject159Ubuntu.Components.Arguments 1.0 0.1 UbuntuToolkit::UCArguments: QtObject
112 default property list<UbuntuToolki>.UCArgument> arguments160 default property list<Argument> arguments
113 property UbuntuToolkit.UCArgument defaultArgument161 property Argument defaultArgument
114 readonly property bool error162 readonly property bool error
115 readonly property string errorMessage163 readonly property string errorMessage
116 function printUsage()164 function printUsage()
@@ -129,20 +177,20 @@
129 property var icon177 property var icon
130 property bool iconFrame178 property bool iconFrame
131 property bool progression179 property bool progression
132Ubuntu.Components.BottomEdge 1.3 UbuntuToolkit::UCBottomEdge: UbuntuToolkit.UCStyledItemBase180Ubuntu.Components.BottomEdge 1.3 UbuntuToolkit::UCBottomEdge: StyledItem
133 readonly property UbuntuToolkit.UCBottomEdgeRegion activeRegion181 readonly property BottomEdgeRegion activeRegion
134 property Component contentComponent182 property Component contentComponent
135 readonly property Item contentItem183 readonly property Item contentItem
136 property url contentUrl184 property url contentUrl
137 readonly property DragDirection dragDirection185 readonly property DragDirection dragDirection
138 readonly property double dragProgress186 readonly property double dragProgress
139 readonly property UbuntuToolkit.UCBottomEdgeHint hint187 readonly property BottomEdgeHint hint
140 signal dragProgressChanged(double dragProgress)188 signal dragProgressChanged(double dragProgress)
141 signal dragDirectionChanged(UbuntuToolkit.UCBottomEdge direction)189 signal dragDirectionChanged(BottomEdge.DragDirection direction)
142 signal statusChanged(UbuntuToolkit.UCBottomEdge status)190 signal statusChanged(BottomEdge.Status status)
143 signal contentChanged(url url)191 signal contentChanged(url url)
144 signal contentComponentChanged(Component component)192 signal contentComponentChanged(Component component)
145 signal activeRegionChanged(UbuntuToolkit.UCBottomEdgeRegion activeRegion)193 signal activeRegionChanged(BottomEdgeRegion activeRegion)
146 signal commitStarted()194 signal commitStarted()
147 signal commitCompleted()195 signal commitCompleted()
148 signal collapseStarted()196 signal collapseStarted()
@@ -150,14 +198,27 @@
150 function commit()198 function commit()
151 function collapse()199 function collapse()
152 property bool preloadContent200 property bool preloadContent
153 property list<UbuntuToolki>.UCBottomEdgeRegion> regions201 property list<BottomEdgeRegion> regions
154 readonly property Status status202 readonly property Status status
155Ubuntu.Components.BottomEdgeHint 1.3 UbuntuToolkit::UCBottomEdgeHint: UbuntuToolkit.UCActionItem203Ubuntu.Components.BottomEdge.DragDirection: Enum
204 Downwards
205 Undefined
206 Upwards
207Ubuntu.Components.BottomEdge.Status: Enum
208 Committed
209 Hidden
210 Revealed
211Ubuntu.Components.BottomEdgeHint 1.3 UbuntuToolkit::UCBottomEdgeHint: ActionItem
156 property int deactivateTimeout212 property int deactivateTimeout
157 property Flickable flickable213 property Flickable flickable
158 signal clicked()214 signal clicked()
159 property Status status215 property Status status
160 readonly property UbuntuGestures.UCSwipeArea swipeArea216 readonly property SwipeArea swipeArea
217Ubuntu.Components.BottomEdgeHint.Status: Enum
218 Active
219 Hidden
220 Inactive
221 Locked
161Ubuntu.Components.BottomEdgeRegion 1.3 UbuntuToolkit::UCBottomEdgeRegion: QtObject222Ubuntu.Components.BottomEdgeRegion 1.3 UbuntuToolkit::UCBottomEdgeRegion: QtObject
162 property Component contentComponent223 property Component contentComponent
163 property url contentUrl224 property url contentUrl
@@ -185,7 +246,7 @@
185 property Gradient gradient246 property Gradient gradient
186 property string iconPosition247 property string iconPosition
187 property color strokeColor248 property color strokeColor
188Ubuntu.Components.Button 1.3: UbuntuToolkit.UCAbstractButton249Ubuntu.Components.Button 1.3: AbstractButton
189 property color color250 property color color
190 property QFont font251 property QFont font
191 property Gradient gradient252 property Gradient gradient
@@ -201,17 +262,17 @@
201 readonly property Label title262 readonly property Label title
202Ubuntu.Components.Captions 1.3: ColumnLayout263Ubuntu.Components.Captions 1.3: ColumnLayout
203 property int captionStyle264 property int captionStyle
204 readonly property UbuntuToolkit.UCLabel subtitle265 readonly property Label subtitle
205 readonly property UbuntuToolkit.UCLabel title266 readonly property Label title
206Ubuntu.Components.CheckBox 1.0 0.1: AbstractButton267Ubuntu.Components.CheckBox 1.0 0.1: AbstractButton
207 property bool checked268 property bool checked
208Ubuntu.Components.CheckBox 1.3: UbuntuToolkit.UCAbstractButton269Ubuntu.Components.CheckBox 1.3: AbstractButton
209 property bool checked270 property bool checked
210Ubuntu.Components.Clipboard 1.0 0.1: QtObject singleton271Ubuntu.Components.Clipboard 1.0 0.1: QtObject singleton
211 readonly property UbuntuToolkit.QQuickMimeData data272 readonly property MimeData data
212 function push(var data)273 function push(var data)
213 function clear()274 function clear()
214 function UbuntuToolkit.QQuickMimeData* newData()275 function MimeData newData()
215Ubuntu.Components.ColorUtils 1.0 0.1: QtObject singleton276Ubuntu.Components.ColorUtils 1.0 0.1: QtObject singleton
216 function double luminance(color color)277 function double luminance(color color)
217Ubuntu.Components.ComboButton 1.1: Button278Ubuntu.Components.ComboButton 1.1: Button
@@ -221,7 +282,7 @@
221 property color dropdownColor282 property color dropdownColor
222 property bool expanded283 property bool expanded
223 property double expandedHeight284 property double expandedHeight
224Ubuntu.Components.ComboButton 1.3: UbuntuToolkit.UCAbstractButton285Ubuntu.Components.ComboButton 1.3: AbstractButton
225 property double collapsedHeight286 property double collapsedHeight
226 property color color287 property color color
227 default property list<QtObject> comboList288 default property list<QtObject> comboList
@@ -280,7 +341,7 @@
280 property url source341 property url source
281 property QSizeF sourceSize342 property QSizeF sourceSize
282 readonly property int status343 readonly property int status
283Ubuntu.Components.Pickers.DatePicker 1.0 0.1: UbuntuToolkit.UCStyledItemBase344Ubuntu.Components.Pickers.DatePicker 1.0 0.1: StyledItem
284 property QDateTime date345 property QDateTime date
285 readonly property int day346 readonly property int day
286 readonly property int hours347 readonly property int hours
@@ -294,7 +355,7 @@
294 readonly property int seconds355 readonly property int seconds
295 readonly property int week356 readonly property int week
296 readonly property int year357 readonly property int year
297Ubuntu.Components.Pickers.DatePicker 1.3: UbuntuToolkit.UCStyledItemBase358Ubuntu.Components.Pickers.DatePicker 1.3: StyledItem
298 property QDateTime date359 property QDateTime date
299 readonly property int day360 readonly property int day
300 readonly property int hours361 readonly property int hours
@@ -317,31 +378,31 @@
317 property bool doneButton378 property bool doneButton
318 signal closeClicked()379 signal closeClicked()
319 signal doneClicked()380 signal doneClicked()
320Ubuntu.Components.Pickers.Dialer 1.0 0.1: UbuntuToolkit.UCStyledItemBase381Ubuntu.Components.Pickers.Dialer 1.0 0.1: StyledItem
321 property list<QtObject> centerContent382 property list<QtObject> centerContent
322 readonly property Item centerItem383 readonly property Item centerItem
323 property double handSpace384 property double handSpace
324 readonly property var hands385 readonly property var hands
325 property double maximumValue386 property double maximumValue
326 signal handUpdated(var hand)387 signal handUpdated(var hand)
327 property double minimumValue388 property double minimumValue
328 property double size389 property double size
329Ubuntu.Components.Pickers.Dialer 1.3: UbuntuToolkit.UCStyledItemBase390Ubuntu.Components.Pickers.Dialer 1.3: StyledItem
330 property list<QtObject> centerContent391 property list<QtObject> centerContent
331 readonly property Item centerItem392 readonly property Item centerItem
332 property double handSpace393 property double handSpace
333 readonly property var hands394 readonly property var hands
334 property double maximumValue395 property double maximumValue
335 signal handUpdated(var hand)396 signal handUpdated(var hand)
336 property double minimumValue397 property double minimumValue
337 property double size398 property double size
338Ubuntu.Components.Pickers.DialerHand 1.0 0.1: UbuntuToolkit.UCStyledItemBase399Ubuntu.Components.Pickers.DialerHand 1.0 0.1: StyledItem
339 readonly property Dialer dialer400 readonly property Dialer dialer
340 property DialerHandGroup hand401 property DialerHandGroup hand
341 readonly property int index402 readonly property int index
342 default property list<QtObject> overlay403 default property list<QtObject> overlay
343 property double value404 property double value
344Ubuntu.Components.Pickers.DialerHand 1.3: UbuntuToolkit.UCStyledItemBase405Ubuntu.Components.Pickers.DialerHand 1.3: StyledItem
345 readonly property Dialer dialer406 readonly property Dialer dialer
346 property DialerHandGroup hand407 property DialerHandGroup hand
347 readonly property int index408 readonly property int index
@@ -367,7 +428,7 @@
367 property Component style428 property Component style
368 property string styleName429 property string styleName
369 property string text430 property string text
370 property UbuntuToolkit.UCTheme theme431 property ThemeSettings theme
371 property string title432 property string title
372Ubuntu.Components.ListItems.Divider 1.0 0.1: QQuickImageBase433Ubuntu.Components.ListItems.Divider 1.0 0.1: QQuickImageBase
373Ubuntu.Components.ListItems.Divider 1.3: QQuickImageBase434Ubuntu.Components.ListItems.Divider 1.3: QQuickImageBase
@@ -383,7 +444,7 @@
383 property bool showDivider444 property bool showDivider
384 readonly property string swipingState445 readonly property string swipingState
385 readonly property bool waitingConfirmationForRemoval446 readonly property bool waitingConfirmationForRemoval
386Ubuntu.Components.ListItems.Empty 1.3: UbuntuToolkit.UCAbstractButton447Ubuntu.Components.ListItems.Empty 1.3: AbstractButton
387 property list<Item> backgroundIndicator448 property list<Item> backgroundIndicator
388 property bool confirmRemoval449 property bool confirmRemoval
389 readonly property ThinDivider divider450 readonly property ThinDivider divider
@@ -441,7 +502,7 @@
441 property bool useDeprecatedToolbar502 property bool useDeprecatedToolbar
442Ubuntu.Components.ListItems.Header 1.3 ListItemHeader: Item503Ubuntu.Components.ListItems.Header 1.3 ListItemHeader: Item
443 property string text504 property string text
444Ubuntu.Components.Header 1.3 UbuntuToolkit::UCHeader: UbuntuToolkit.UCStyledItemBase505Ubuntu.Components.Header 1.3 UbuntuToolkit::UCHeader: StyledItem
445 property bool automaticHeight506 property bool automaticHeight
446 property bool exposed507 property bool exposed
447 property Flickable flickable508 property Flickable flickable
@@ -458,7 +519,7 @@
458 property color keyColor519 property color keyColor
459 property string name520 property string name
460 property url source521 property url source
461Ubuntu.Components.InverseMouse 1.0 0.1 UbuntuToolkit::UCInverseMouse: UbuntuToolkit.UCMouse522Ubuntu.Components.InverseMouse 1.0 0.1 UbuntuToolkit::UCInverseMouse: Mouse
462Ubuntu.Components.InverseMouseArea 1.0 0.1 UbuntuToolkit::InverseMouseAreaType: MouseArea523Ubuntu.Components.InverseMouseArea 1.0 0.1 UbuntuToolkit::InverseMouseAreaType: MouseArea
463 function bool contains(QPointF point)524 function bool contains(QPointF point)
464 property Item sensingArea525 property Item sensingArea
@@ -494,21 +555,28 @@
494Ubuntu.Components.Label 1.3 UbuntuToolkit::UCLabel: Text555Ubuntu.Components.Label 1.3 UbuntuToolkit::UCLabel: Text
495 property string fontSize556 property string fontSize
496 property TextSize textSize557 property TextSize textSize
558Ubuntu.Components.Label.TextSize: Enum
559 Large
560 Medium
561 Small
562 XLarge
563 XSmall
564 XxSmall
497Ubuntu.Layouts.Layouts 1.0 0.1 ULLayouts: Item565Ubuntu.Layouts.Layouts 1.0 0.1 ULLayouts: Item
498 readonly property string currentLayout566 readonly property string currentLayout
499 property list<ConditionalLayout> layouts567 property list<ConditionalLayout> layouts
500Ubuntu.Components.ListItem 1.3 1.2 UbuntuToolkit::UCListItem: UbuntuToolkit.UCStyledItemBase568Ubuntu.Components.ListItem 1.3 1.2 UbuntuToolkit::UCListItem: StyledItem
501 property UbuntuToolkit.UCAction action569 property Action action
502 property color color570 property color color
503 readonly property Item contentItem571 readonly property Item contentItem
504 readonly property bool contentMoving572 readonly property bool contentMoving
505 readonly property UbuntuToolkit.UCListItemDivider divider573 readonly property UCListItemDivider divider
506 property bool dragMode574 property bool dragMode
507 readonly property bool dragging575 readonly property bool dragging
508 readonly property UbuntuToolkit.UCListItemExpansion expansion 1.3576 readonly property UCListItemExpansion expansion 1.3
509 property color highlightColor577 property color highlightColor
510 readonly property bool highlighted578 readonly property bool highlighted
511 property UbuntuToolkit.UCListItemActions leadingActions579 property ListItemActions leadingActions
512 property list<Item> listItemChildren580 property list<Item> listItemChildren
513 default property list<QtObject> listItemData581 default property list<QtObject> listItemData
514 signal clicked()582 signal clicked()
@@ -519,9 +587,9 @@
519 property bool selected587 property bool selected
520 property bool swipeEnabled 1.3588 property bool swipeEnabled 1.3
521 readonly property bool swiped 1.3589 readonly property bool swiped 1.3
522 property UbuntuToolkit.UCListItemActions trailingActions590 property ListItemActions trailingActions
523Ubuntu.Components.ListItemActions 1.2 UbuntuToolkit::UCListItemActions: QtObject591Ubuntu.Components.ListItemActions 1.2 UbuntuToolkit::UCListItemActions: QtObject
524 property list<UbuntuToolki>.UCAction> actions592 property list<Action> actions
525 default property list<QtObject> data593 default property list<QtObject> data
526 property Component delegate594 property Component delegate
527Ubuntu.Components.ListItemDrag 1.2: QtObject595Ubuntu.Components.ListItemDrag 1.2: QtObject
@@ -531,23 +599,33 @@
531 property int minimumIndex599 property int minimumIndex
532 readonly property Status status600 readonly property Status status
533 readonly property int to601 readonly property int to
534Ubuntu.Components.ListItemLayout 1.3 UbuntuToolkit::UCListItemLayout: UbuntuToolkit.UCSlotsLayout602Ubuntu.Components.ListItemDrag.Status: Enum
535 readonly property UbuntuToolkit.UCLabel subtitle603 Dropped
536 readonly property UbuntuToolkit.UCLabel summary604 Moving
537 readonly property UbuntuToolkit.UCLabel title605 Started
606Ubuntu.Components.ListItemLayout 1.3 UbuntuToolkit::UCListItemLayout: SlotsLayout
607 readonly property Label subtitle
608 readonly property Label summary
609 readonly property Label title
538Ubuntu.Components.Styles.ListItemStyle 1.3 1.2 UbuntuToolkit::UCListItemStyle: Item610Ubuntu.Components.Styles.ListItemStyle 1.3 1.2 UbuntuToolkit::UCListItemStyle: Item
539 readonly property bool animatePanels611 readonly property bool animatePanels
540 property Item dragPanel612 property Item dragPanel
541 property PropertyAnimation dropAnimation613 property PropertyAnimation dropAnimation
542 readonly property Flickable flickable 1.3614 readonly property Flickable flickable 1.3
543 readonly property int listItemIndex 1.3615 readonly property int listItemIndex 1.3
544 function swipeEvent(UCSwipeEvent event)616 function swipeEvent(SwipeEvent event)
545 function rebound()617 function rebound()
546 property Animation snapAnimation618 property Animation snapAnimation
547Ubuntu.Components.LiveTimer 1.3 UbuntuToolkit::LiveTimer: QtObject619Ubuntu.Components.LiveTimer 1.3 UbuntuToolkit::LiveTimer: QtObject
548 property Frequency frequency620 property Frequency frequency
549 signal trigger()621 signal trigger()
550 property QDateTime relativeTime622 property QDateTime relativeTime
623Ubuntu.Components.LiveTimer.Frequency: Enum
624 Disabled
625 Hour
626 Minute
627 Relative
628 Second
551Ubuntu.Components.MainView 1.0 0.1: MainViewBase629Ubuntu.Components.MainView 1.0 0.1: MainViewBase
552 property bool automaticOrientation630 property bool automaticOrientation
553 default property list<QtObject> contentsItem631 default property list<QtObject> contentsItem
@@ -555,13 +633,13 @@
555Ubuntu.Components.MainView 1.2 MainView12: MainViewBase633Ubuntu.Components.MainView 1.2 MainView12: MainViewBase
556 property bool automaticOrientation634 property bool automaticOrientation
557 default property list<QtObject> contentsItem635 default property list<QtObject> contentsItem
558Ubuntu.Components.MainView 1.3: UbuntuToolkit.UCMainViewBase636Ubuntu.Components.MainView 1.3: MainViewBase
559 property bool automaticOrientation637 property bool automaticOrientation
560 default property list<QtObject> contentsItem638 default property list<QtObject> contentsItem
561Ubuntu.Components.MainViewBase 1.3 UbuntuToolkit::UCMainViewBase: UbuntuToolkit.UCPageTreeNode639Ubuntu.Components.MainViewBase 1.3 UbuntuToolkit::UCMainViewBase: PageTreeNode
562 readonly property UbuntuToolkit.UCPopupContext actionContext640 readonly property PopupContext actionContext
563 readonly property UbuntuToolkit.UCActionManager actionManager641 readonly property ActionManager actionManager
564 property list<UbuntuToolki>.UCAction> actions642 property list<Action> actions
565 property bool anchorToKeyboard643 property bool anchorToKeyboard
566 property string applicationName644 property string applicationName
567 property color backgroundColor645 property color backgroundColor
@@ -572,8 +650,8 @@
572 signal headerColorChanged(color headerColor)650 signal headerColorChanged(color headerColor)
573 signal backgroundColorChanged(color backgroundColor)651 signal backgroundColorChanged(color backgroundColor)
574 signal footerColorChanged(color footerColor)652 signal footerColorChanged(color footerColor)
575 signal actionManagerChanged(UbuntuToolkit.UCActionManager actionManager)653 signal actionManagerChanged(ActionManager actionManager)
576 signal actionContextChanged(UbuntuToolkit.UCPopupContext actionContext)654 signal actionContextChanged(PopupContext actionContext)
577Ubuntu.Components.MathUtils 1.0 0.1: QtObject singleton655Ubuntu.Components.MathUtils 1.0 0.1: QtObject singleton
578 function double clamp(double x, double min, double max)656 function double clamp(double x, double min, double max)
579 function double lerp(double delta, double from, double to)657 function double lerp(double delta, double from, double to)
@@ -602,6 +680,9 @@
602 signal entered(QQuickMouseEvent event, Item host)680 signal entered(QQuickMouseEvent event, Item host)
603 signal exited(QQuickMouseEvent event, Item host)681 signal exited(QQuickMouseEvent event, Item host)
604 property Priority priority682 property Priority priority
683Ubuntu.Components.Mouse.Priority: Enum
684 AfterItem
685 BeforeItem
605Ubuntu.Test.MouseTouchAdaptor 1.0: QtObject singleton686Ubuntu.Test.MouseTouchAdaptor 1.0: QtObject singleton
606 property bool enabled687 property bool enabled
607 signal enabledChanged(bool value)688 signal enabledChanged(bool value)
@@ -664,14 +745,14 @@
664 readonly property bool rotating745 readonly property bool rotating
665 property bool transitionEnabled746 property bool transitionEnabled
666Ubuntu.Components.Page 1.0 0.1 Page10: PageTreeNode747Ubuntu.Components.Page 1.0 0.1 Page10: PageTreeNode
667 property list<UbuntuToolki>.UCAction> actions748 property list<Action> actions
668 property Flickable flickable749 property Flickable flickable
669 property string title750 property string title
670 property Item tools751 property Item tools
671Ubuntu.Components.Page 1.1 Page11: Page10752Ubuntu.Components.Page 1.1 Page11: Page10
672 readonly property PageHeadConfiguration head753 readonly property PageHeadConfiguration head
673Ubuntu.Components.Page 1.3: UbuntuToolkit.UCPageTreeNode754Ubuntu.Components.Page 1.3: PageTreeNode
674 readonly property UbuntuToolkit.UCActionContext actionContext755 readonly property ActionContext actionContext
675 property Flickable flickable756 property Flickable flickable
676 readonly property PageHeadConfiguration head757 readonly property PageHeadConfiguration head
677 property Item header758 property Item header
@@ -682,18 +763,18 @@
682 property double minimumWidth763 property double minimumWidth
683 property double preferredWidth764 property double preferredWidth
684Ubuntu.Components.PageColumnsLayout 1.3: QtObject765Ubuntu.Components.PageColumnsLayout 1.3: QtObject
685 default property list<PageColum> data766 default property list<PageColumn> data
686 property bool when767 property bool when
687Ubuntu.Components.PageHeadConfiguration 1.1: Object768Ubuntu.Components.PageHeadConfiguration 1.1: Object
688 property list<UbuntuToolki>.UCAction> actions769 property list<Action> actions
689 property UbuntuToolkit.UCAction backAction770 property Action backAction
690 property Item contents771 property Item contents
691 property color foregroundColor772 property color foregroundColor
692 property string preset773 property string preset
693 readonly property PageHeadSections sections774 readonly property PageHeadSections sections
694Ubuntu.Components.PageHeadConfiguration 1.3: Object775Ubuntu.Components.PageHeadConfiguration 1.3: Object
695 property list<UbuntuToolki>.UCAction> actions776 property list<Action> actions
696 property UbuntuToolkit.UCAction backAction777 property Action backAction
697 property Item contents778 property Item contents
698 property Flickable flickable779 property Flickable flickable
699 property color foregroundColor780 property color foregroundColor
@@ -707,18 +788,18 @@
707 property var model788 property var model
708 property int selectedIndex789 property int selectedIndex
709Ubuntu.Components.PageHeadSections 1.3: QtObject790Ubuntu.Components.PageHeadSections 1.3: QtObject
710 property list<UbuntuToolki>.UCAction> actions791 property list<Action> actions
711 property bool enabled792 property bool enabled
712 property var model793 property var model
713 property int selectedIndex794 property int selectedIndex
714Ubuntu.Components.PageHeadState 1.1: State795Ubuntu.Components.PageHeadState 1.1: State
715 property list<UbuntuToolki>.UCAction> actions796 property list<Action> actions
716 property UbuntuToolkit.UCAction backAction797 property Action backAction
717 property Item contents798 property Item contents
718 property PageHeadConfiguration head799 property PageHeadConfiguration head
719Ubuntu.Components.PageHeadState 1.3: State800Ubuntu.Components.PageHeadState 1.3: State
720 property list<UbuntuToolki>.UCAction> actions801 property list<Action> actions
721 property UbuntuToolkit.UCAction backAction802 property Action backAction
722 property Item contents803 property Item contents
723 property PageHeadConfiguration head804 property PageHeadConfiguration head
724Ubuntu.Components.Styles.PageHeadStyle 1.1: Item805Ubuntu.Components.Styles.PageHeadStyle 1.1: Item
@@ -740,11 +821,11 @@
740 property color textColor821 property color textColor
741 property double textLeftMargin822 property double textLeftMargin
742 property int textSize823 property int textSize
743Ubuntu.Components.PageHeader 1.3: UbuntuToolkit.UCHeader824Ubuntu.Components.PageHeader 1.3: Header
744 property Item contents825 property Item contents
745 property Item extension826 property Item extension
746 readonly property ActionBar leadingActionBar827 readonly property ActionBar leadingActionBar
747 property list<UbuntuToolki>.UCAction> navigationActions828 property list<Action> navigationActions
748 readonly property Sections sections829 readonly property Sections sections
749 property string subtitle830 property string subtitle
750 property string title831 property string title
@@ -765,19 +846,19 @@
765 function var push(var page, var properties)846 function var push(var page, var properties)
766 function var pop()847 function var pop()
767 function var clear()848 function var clear()
768Ubuntu.Components.PageStack 1.3: UbuntuToolkit.UCPageTreeNode849Ubuntu.Components.PageStack 1.3: PageTreeNode
769 property Item currentPage850 property Item currentPage
770 property int depth851 property int depth
771 function var push(var page, var properties)852 function var push(var page, var properties)
772 function var pop()853 function var pop()
773 function var clear()854 function var clear()
774Ubuntu.Components.PageTreeNode 1.3 UbuntuToolkit::UCPageTreeNode: UbuntuToolkit.UCStyledItemBase855Ubuntu.Components.PageTreeNode 1.3 UbuntuToolkit::UCPageTreeNode: StyledItem
775 property bool active856 property bool active
776 readonly property Item activeLeafNode857 readonly property Item activeLeafNode
777 property bool isLeaf858 property bool isLeaf
778 signal isLeafChanged(bool isLeaf)859 signal isLeafChanged(bool isLeaf)
779 signal activeChanged(bool active)860 signal activeChanged(bool active)
780 signal parentNodeChanged(UbuntuToolkit.UCPageTreeNode parentNode)861 signal parentNodeChanged(PageTreeNode parentNode)
781 signal pageStackChanged(Item pageStack)862 signal pageStackChanged(Item pageStack)
782 signal activeLeafNodeChanged(Item activeLeafNode)863 signal activeLeafNodeChanged(Item activeLeafNode)
783 signal propagatedChanged(QtObject propagated)864 signal propagatedChanged(QtObject propagated)
@@ -785,7 +866,7 @@
785 signal isPageTreeNodeChanged(bool isPageTreeNode)866 signal isPageTreeNodeChanged(bool isPageTreeNode)
786 function dumpNodeTree()867 function dumpNodeTree()
787 property Item pageStack868 property Item pageStack
788 property UbuntuToolkit.UCPageTreeNode parentNode869 property PageTreeNode parentNode
789 property Item toolbar870 property Item toolbar
790Ubuntu.Components.Themes.Palette 0.1: QtObject871Ubuntu.Components.Themes.Palette 0.1: QtObject
791 property PaletteValues normal872 property PaletteValues normal
@@ -868,7 +949,7 @@
868 property double triggerSize949 property double triggerSize
869Ubuntu.PerformanceMetrics.PerformanceOverlay 1.0 0.1: Item950Ubuntu.PerformanceMetrics.PerformanceOverlay 1.0 0.1: Item
870 property bool active951 property bool active
871Ubuntu.Components.Pickers.Picker 1.0 0.1: UbuntuToolkit.UCStyledItemBase952Ubuntu.Components.Pickers.Picker 1.0 0.1: StyledItem
872 property bool circular953 property bool circular
873 property Component delegate954 property Component delegate
874 property bool live955 property bool live
@@ -876,7 +957,7 @@
876 property var model957 property var model
877 readonly property bool moving958 readonly property bool moving
878 property int selectedIndex959 property int selectedIndex
879Ubuntu.Components.Pickers.Picker 1.3: UbuntuToolkit.UCStyledItemBase960Ubuntu.Components.Pickers.Picker 1.3: StyledItem
880 property bool circular961 property bool circular
881 property Component delegate962 property Component delegate
882 property double itemHeight963 property double itemHeight
@@ -887,7 +968,7 @@
887 property int selectedIndex968 property int selectedIndex
888Ubuntu.Components.Pickers.PickerDelegate 1.0 0.1: AbstractButton969Ubuntu.Components.Pickers.PickerDelegate 1.0 0.1: AbstractButton
889 readonly property Picker picker970 readonly property Picker picker
890Ubuntu.Components.Pickers.PickerDelegate 1.3: UbuntuToolkit.UCAbstractButton971Ubuntu.Components.Pickers.PickerDelegate 1.3: AbstractButton
891 readonly property Picker picker972 readonly property Picker picker
892Ubuntu.Components.Pickers.PickerPanel 1.0 0.1: Object singleton973Ubuntu.Components.Pickers.PickerPanel 1.0 0.1: Object singleton
893 function var openDatePicker(var caller, var property, var mode)974 function var openDatePicker(var caller, var property, var mode)
@@ -919,7 +1000,7 @@
919 property Item pointerTarget1000 property Item pointerTarget
920 property Component style1001 property Component style
921 property string styleName1002 property string styleName
922 property UbuntuToolkit.UCTheme theme1003 property ThemeSettings theme
923Ubuntu.Components.Popups.PopupBase 1.0 0.1: OrientationHelper1004Ubuntu.Components.Popups.PopupBase 1.0 0.1: OrientationHelper
924 property Item dismissArea1005 property Item dismissArea
925 property PropertyAnimation fadingAnimation1006 property PropertyAnimation fadingAnimation
@@ -932,7 +1013,7 @@
932 property bool grabDismissAreaEvents1013 property bool grabDismissAreaEvents
933 function var show()1014 function var show()
934 function var hide()1015 function var hide()
935Ubuntu.Components.PopupContext 1.3 UbuntuToolkit::UCPopupContext: UbuntuToolkit.UCActionContext1016Ubuntu.Components.PopupContext 1.3 UbuntuToolkit::UCPopupContext: ActionContext
936Ubuntu.Components.Popups.PopupUtils 0.1 1.0 1.31017Ubuntu.Components.Popups.PopupUtils 0.1 1.0 1.3
937Ubuntu.Components.ProgressBar 1.0 0.1: AnimatedItem1018Ubuntu.Components.ProgressBar 1.0 0.1: AnimatedItem
938 property bool indeterminate1019 property bool indeterminate
@@ -955,15 +1036,15 @@
955 property color keyColor1036 property color keyColor
956 property string name1037 property string name
957 property url source1038 property url source
958Ubuntu.Components.ProportionalShape 1.3 UbuntuToolkit::UCProportionalShape: UbuntuToolkit.UCUbuntuShape1039Ubuntu.Components.ProportionalShape 1.3 UbuntuToolkit::UCProportionalShape: UbuntuShape
959Ubuntu.Components.PullToRefresh 1.1: UbuntuToolkit.UCStyledItemBase1040Ubuntu.Components.PullToRefresh 1.1: StyledItem
960 property Component content1041 property Component content
961 signal refresh()1042 signal refresh()
962 readonly property double offset1043 readonly property double offset
963 property bool refreshing1044 property bool refreshing
964 readonly property bool releaseToRefresh1045 readonly property bool releaseToRefresh
965 property Flickable target1046 property Flickable target
966Ubuntu.Components.PullToRefresh 1.3: UbuntuToolkit.UCStyledItemBase1047Ubuntu.Components.PullToRefresh 1.3: StyledItem
967 property Component content1048 property Component content
968 signal refresh()1049 signal refresh()
969 readonly property double offset1050 readonly property double offset
@@ -974,27 +1055,26 @@
974 property double activationThreshold1055 property double activationThreshold
975 property Component defaultContent1056 property Component defaultContent
976 property bool releaseToRefresh1057 property bool releaseToRefresh
977Ubuntu.Components.QQuickImageBase 1.0 0.1 UbuntuToolkit::UCQQuickImageExtension: QQuickImageBase
978Ubuntu.PerformanceMetrics.RenderingTimes 1.0 0.1 UPMRenderingTimes: Item1058Ubuntu.PerformanceMetrics.RenderingTimes 1.0 0.1 UPMRenderingTimes: Item
979 readonly property UPMGraphModel graphModel1059 readonly property UPMGraphModel graphModel
980 signal frameRendered(qlonglong renderTime)1060 signal frameRendered(qlonglong renderTime)
981 property int period1061 property int period
982 property int samples1062 property int samples
983 property RenderTimer.TimerType timerType1063 property RenderTimer.TimerType timerType
984Ubuntu.Components.ScrollView 1.3: UbuntuToolkit.UCStyledItemBase1064Ubuntu.Components.ScrollView 1.3: StyledItem
985 default property Item contentItem1065 default property Item contentItem
986 readonly property Flickable flickableItem1066 readonly property Flickable flickableItem
987 property Scrollbar horizontalScrollbar1067 property Scrollbar horizontalScrollbar
988 property Scrollbar verticalScrollbar1068 property Scrollbar verticalScrollbar
989 readonly property Item viewport1069 readonly property Item viewport
990Ubuntu.Components.Scrollbar 1.0 0.1: UbuntuToolkit.UCStyledItemBase1070Ubuntu.Components.Scrollbar 1.0 0.1: StyledItem
991 property int align1071 property int align
992 property Flickable flickableItem1072 property Flickable flickableItem
993Ubuntu.Components.Scrollbar 1.3: UbuntuToolkit.UCStyledItemBase1073Ubuntu.Components.Scrollbar 1.3: StyledItem
994 property int align1074 property int align
995 property Flickable flickableItem1075 property Flickable flickableItem
996Ubuntu.Components.Sections 1.3: UbuntuToolkit.UCStyledItemBase1076Ubuntu.Components.Sections 1.3: StyledItem
997 property list<UbuntuToolki>.UCAction> actions1077 property list<Action> actions
998 property var model1078 property var model
999 property int selectedIndex1079 property int selectedIndex
1000Ubuntu.Components.Styles.SectionsStyle 1.3: Item1080Ubuntu.Components.Styles.SectionsStyle 1.3: Item
@@ -1011,6 +1091,15 @@
1011 property string serviceInterface 1.11091 property string serviceInterface 1.1
1012 readonly property Status status 1.11092 readonly property Status status 1.1
1013 property ServiceType type 1.11093 property ServiceType type 1.1
1094Ubuntu.Components.ServiceProperties.ServiceType: Enum
1095 Session
1096 System
1097 Undefined
1098Ubuntu.Components.ServiceProperties.Status: Enum
1099 Active
1100 ConnectionError
1101 Inactive
1102 Synchronizing
1014Ubuntu.Components.Popups.SheetBase 1.0 0.1: PopupBase1103Ubuntu.Components.Popups.SheetBase 1.0 0.1: PopupBase
1015 default property list<QtObject> container1104 default property list<QtObject> container
1016 property double contentsHeight1105 property double contentsHeight
@@ -1031,7 +1120,7 @@
1031 property string value1120 property string value
1032Ubuntu.Components.ListItems.SingleValue 1.3: Base1121Ubuntu.Components.ListItems.SingleValue 1.3: Base
1033 property string value1122 property string value
1034Ubuntu.Components.Slider 1.0 0.1: UbuntuToolkit.UCStyledItemBase1123Ubuntu.Components.Slider 1.0 0.1: StyledItem
1035 property bool live1124 property bool live
1036 property double maximumValue1125 property double maximumValue
1037 signal touched(bool onThumb)1126 signal touched(bool onThumb)
@@ -1039,7 +1128,7 @@
1039 property double minimumValue1128 property double minimumValue
1040 readonly property bool pressed1129 readonly property bool pressed
1041 property double value1130 property double value
1042Ubuntu.Components.Slider 1.3: UbuntuToolkit.UCStyledItemBase1131Ubuntu.Components.Slider 1.3: StyledItem
1043 property bool live1132 property bool live
1044 property double maximumValue1133 property double maximumValue
1045 signal touched(bool onThumb)1134 signal touched(bool onThumb)
@@ -1051,11 +1140,16 @@
1051Ubuntu.Components.SliderUtils 0.1 1.01140Ubuntu.Components.SliderUtils 0.1 1.0
1052Ubuntu.Components.SlotsAttached 1.3: QtObject1141Ubuntu.Components.SlotsAttached 1.3: QtObject
1053 property bool overrideVerticalPositioning1142 property bool overrideVerticalPositioning
1054 readonly property UbuntuToolkit.UCSlotsLayoutPadding padding1143 readonly property SlotsLayoutPadding padding
1055 property UbuntuToolkit.UCSlotsLayout position1144 property SlotsLayout.UCSlotPosition position
1056Ubuntu.Components.SlotsLayout 1.3 UbuntuToolkit::UCSlotsLayout: Item1145Ubuntu.Components.SlotsLayout 1.3 UbuntuToolkit::UCSlotsLayout: Item
1057 property Item mainSlot1146 property Item mainSlot
1058 readonly property UbuntuToolkit.UCSlotsLayoutPadding padding1147 readonly property SlotsLayoutPadding padding
1148Ubuntu.Components.SlotsLayout.UCSlotPosition: Enum
1149 First
1150 Last
1151 Leading
1152 Trailing
1059Ubuntu.Components.SlotsLayoutPadding 1.3: QtObject1153Ubuntu.Components.SlotsLayoutPadding 1.3: QtObject
1060 property double bottom1154 property double bottom
1061 property double leading1155 property double leading
@@ -1066,11 +1160,11 @@
1066 property string property1160 property string property
1067Ubuntu.Components.SortFilterModel 1.1 UbuntuToolkit::QSortFilterProxyModelQML: QSortFilterProxyModel1161Ubuntu.Components.SortFilterModel 1.1 UbuntuToolkit::QSortFilterProxyModelQML: QSortFilterProxyModel
1068 readonly property int count1162 readonly property int count
1069 readonly property UbuntuToolkit.FilterBehavior filter1163 readonly property FilterBehavior filter
1070 function QVariantMap get(int row)1164 function QVariantMap get(int row)
1071 function int count()1165 function int count()
1072 property QAbstractItemModel model1166 property QAbstractItemModel model
1073 readonly property UbuntuToolkit.SortBehavior sort1167 readonly property SortBehavior sort
1074Ubuntu.Components.ListItems.Standard 1.0 0.1: Empty1168Ubuntu.Components.ListItems.Standard 1.0 0.1: Empty
1075 property Item control1169 property Item control
1076 property string fallbackIconName1170 property string fallbackIconName
@@ -1096,7 +1190,7 @@
1096 function bool requestFocus() 1.31190 function bool requestFocus() 1.3
1097 property Component style1191 property Component style
1098 property string styleName 1.31192 property string styleName 1.3
1099 property UbuntuToolkit.UCTheme theme 1.31193 property ThemeSettings theme 1.3
1100Ubuntu.Components.ListItems.Subtitled 1.0 0.1: Base1194Ubuntu.Components.ListItems.Subtitled 1.0 0.1: Base
1101 property string subText1195 property string subText
1102Ubuntu.Components.ListItems.Subtitled 1.3: Base1196Ubuntu.Components.ListItems.Subtitled 1.3: Base
@@ -1116,26 +1210,37 @@
1116 signal grabGestureChanged(bool grabGesture)1210 signal grabGestureChanged(bool grabGesture)
1117 readonly property bool pressed1211 readonly property bool pressed
1118 readonly property QPointF touchPosition1212 readonly property QPointF touchPosition
1213Ubuntu.Components.SwipeArea.Direction: Enum
1214 Downwards
1215 Horizontal
1216 Leftwards
1217 Rightwards
1218 Upwards
1219 Vertical
1119Ubuntu.Components.SwipeEvent 1.2: QtObject1220Ubuntu.Components.SwipeEvent 1.2: QtObject
1120 property QPointF content1221 property QPointF content
1121 readonly property QPointF from1222 readonly property QPointF from
1122 readonly property Status status1223 readonly property Status status
1123 readonly property QPointF to1224 readonly property QPointF to
1225Ubuntu.Components.SwipeEvent.Status: Enum
1226 Finished
1227 Started
1228 Updated
1124Ubuntu.Components.Switch 1.0 0.1: AbstractButton1229Ubuntu.Components.Switch 1.0 0.1: AbstractButton
1125 property bool checked1230 property bool checked
1126Ubuntu.Components.Switch 1.3: UbuntuToolkit.UCAbstractButton1231Ubuntu.Components.Switch 1.3: AbstractButton
1127 property bool checked1232 property bool checked
1128Ubuntu.Components.Tab 1.0 0.1: PageTreeNode1233Ubuntu.Components.Tab 1.0 0.1: PageTreeNode
1129 property url iconSource1234 property url iconSource
1130 readonly property int index1235 readonly property int index
1131 property Item page1236 property Item page
1132 property string title1237 property string title
1133Ubuntu.Components.Tab 1.3: UbuntuToolkit.UCPageTreeNode1238Ubuntu.Components.Tab 1.3: PageTreeNode
1134 property url iconSource1239 property url iconSource
1135 readonly property int index1240 readonly property int index
1136 property Item page1241 property Item page
1137 property string title1242 property string title
1138Ubuntu.Components.TabBar 1.0 0.1: UbuntuToolkit.UCStyledItemBase1243Ubuntu.Components.TabBar 1.0 0.1: StyledItem
1139 property bool alwaysSelectionMode1244 property bool alwaysSelectionMode
1140 property bool animate1245 property bool animate
1141 property var model1246 property var model
@@ -1143,7 +1248,7 @@
1143 property int selectedIndex1248 property int selectedIndex
1144 property bool selectionMode1249 property bool selectionMode
1145 property Item tabsItem1250 property Item tabsItem
1146Ubuntu.Components.TabBar 1.3: UbuntuToolkit.UCStyledItemBase1251Ubuntu.Components.TabBar 1.3: StyledItem
1147 property bool alwaysSelectionMode1252 property bool alwaysSelectionMode
1148 property bool animate1253 property bool animate
1149 property var model1254 property var model
@@ -1158,7 +1263,7 @@
1158 property int selectedTabIndex1263 property int selectedTabIndex
1159 property TabBar tabBar1264 property TabBar tabBar
1160 default property list<QtObject> tabChildren1265 default property list<QtObject> tabChildren
1161Ubuntu.Components.Tabs 1.3: UbuntuToolkit.UCPageTreeNode1266Ubuntu.Components.Tabs 1.3: PageTreeNode
1162 readonly property int count1267 readonly property int count
1163 readonly property Item currentPage1268 readonly property Item currentPage
1164 readonly property Tab selectedTab1269 readonly property Tab selectedTab
@@ -1184,7 +1289,7 @@
1184 function mouseDrag(Item item, Qt.point from, Qt.point delta, Qt.MouseButton button)1289 function mouseDrag(Item item, Qt.point from, Qt.point delta, Qt.MouseButton button)
1185 function removeTimeConstraintsFromSwipeArea(Item item)1290 function removeTimeConstraintsFromSwipeArea(Item item)
1186 readonly property bool touchPresent1291 readonly property bool touchPresent
1187Ubuntu.Components.TextArea 1.0 0.1: UbuntuToolkit.UCStyledItemBase1292Ubuntu.Components.TextArea 1.0 0.1: StyledItem
1188 property bool autoExpand1293 property bool autoExpand
1189 property bool autoSize1294 property bool autoSize
1190 property url baseUrl1295 property url baseUrl
@@ -1242,7 +1347,7 @@
1242 property int textFormat1347 property int textFormat
1243 property int verticalAlignment1348 property int verticalAlignment
1244 property int wrapMode1349 property int wrapMode
1245Ubuntu.Components.TextArea 1.3: UbuntuToolkit.UCStyledItemBase1350Ubuntu.Components.TextArea 1.3: StyledItem
1246 property bool autoExpand1351 property bool autoExpand
1247 property bool autoSize1352 property bool autoSize
1248 property url baseUrl1353 property url baseUrl
@@ -1303,7 +1408,7 @@
1303 property int textFormat1408 property int textFormat
1304 property int verticalAlignment1409 property int verticalAlignment
1305 property int wrapMode1410 property int wrapMode
1306Ubuntu.Components.TextField 1.0 0.1: UbuntuToolkit.UCActionItem1411Ubuntu.Components.TextField 1.0 0.1: ActionItem
1307 readonly property bool acceptableInput1412 readonly property bool acceptableInput
1308 property bool autoScroll1413 property bool autoScroll
1309 readonly property bool canPaste1414 readonly property bool canPaste
@@ -1364,7 +1469,7 @@
1364 readonly property int selectionStart1469 readonly property int selectionStart
1365 property QValidator validator1470 property QValidator validator
1366 property int verticalAlignment1471 property int verticalAlignment
1367Ubuntu.Components.TextField 1.3: UbuntuToolkit.UCActionItem1472Ubuntu.Components.TextField 1.3: ActionItem
1368 readonly property bool acceptableInput1473 readonly property bool acceptableInput
1369 property bool autoScroll1474 property bool autoScroll
1370 readonly property bool canPaste1475 readonly property bool canPaste
@@ -1430,24 +1535,24 @@
1430Ubuntu.Components.ThemeSettings 1.3 UbuntuToolkit::UCTheme: QtObject1535Ubuntu.Components.ThemeSettings 1.3 UbuntuToolkit::UCTheme: QtObject
1431 property string name1536 property string name
1432 property QtObject palette1537 property QtObject palette
1433 readonly property UbuntuToolkit.UCTheme parentTheme1538 readonly property ThemeSettings parentTheme
1434Ubuntu.Components.ListItems.ThinDivider 1.0 0.1: Rectangle1539Ubuntu.Components.ListItems.ThinDivider 1.0 0.1: Rectangle
1435Ubuntu.Components.ListItems.ThinDivider 1.3: Rectangle1540Ubuntu.Components.ListItems.ThinDivider 1.3: Rectangle
1436Ubuntu.Components.Toolbar 0.1: Panel1541Ubuntu.Components.Toolbar 0.1: Panel
1437 property Item tools1542 property Item tools
1438Ubuntu.Components.Toolbar 1.3: UbuntuToolkit.UCStyledItemBase1543Ubuntu.Components.Toolbar 1.3: StyledItem
1439 readonly property ActionBar leadingActionBar1544 readonly property ActionBar leadingActionBar
1440 readonly property ActionBar trailingActionBar1545 readonly property ActionBar trailingActionBar
1441Ubuntu.Components.ToolbarButton 1.0 0.1: UbuntuToolkit.UCStyledItemBase1546Ubuntu.Components.ToolbarButton 1.0 0.1: StyledItem
1442 property UbuntuToolkit.UCAction action1547 property Action action
1443 property string iconName1548 property string iconName
1444 property url iconSource1549 property url iconSource
1445 signal triggered(var value)1550 signal triggered(var value)
1446 function trigger(var value)1551 function trigger(var value)
1447 function trigger()1552 function trigger()
1448 property string text1553 property string text
1449Ubuntu.Components.ToolbarButton 1.3: UbuntuToolkit.UCStyledItemBase1554Ubuntu.Components.ToolbarButton 1.3: StyledItem
1450 property UbuntuToolkit.UCAction action1555 property Action action
1451 property string iconName1556 property string iconName
1452 property url iconSource1557 property url iconSource
1453 signal triggered(var value)1558 signal triggered(var value)
@@ -1468,12 +1573,28 @@
1468 property Item pageStack1573 property Item pageStack
1469Ubuntu.Components.Styles.ToolbarStyle 1.3: Item1574Ubuntu.Components.Styles.ToolbarStyle 1.3: Item
1470 property Component defaultDelegate1575 property Component defaultDelegate
1576UCActionContextAttached: QtObject
1471Ubuntu.Components.UCApplication 1.0 0.1: QtObject1577Ubuntu.Components.UCApplication 1.0 0.1: QtObject
1472 property string applicationName1578 property string applicationName
1473 property QtObject inputMethod1579 property QtObject inputMethod
1474Ubuntu.Components.UCFontUtils 1.0 0.1: QtObject1580Ubuntu.Components.UCFontUtils 1.0 0.1: QtObject
1475 function double sizeToPixels(string size)1581 function double sizeToPixels(string size)
1476 function double modularScale(string size)1582 function double modularScale(string size)
1583UCListItemDivider: Item
1584 property color colorFrom
1585 property color colorTo
1586UCListItemExpansion: QtObject
1587 property bool expanded
1588 property double height
1589UCMargins: QtObject
1590 property double all
1591 property double bottom
1592 property double left
1593 property double right
1594 property double top
1595UCStateSaverAttached: QtObject
1596 property bool enabled
1597 property string properties
1477Ubuntu.Components.UCUnits 1.0 0.1: QtObject1598Ubuntu.Components.UCUnits 1.0 0.1: QtObject
1478 property float gridUnit1599 property float gridUnit
1479 function float dp(float value)1600 function float dp(float value)
@@ -1486,11 +1607,14 @@
1486 property int samples1607 property int samples
1487 readonly property int shift1608 readonly property int shift
1488Ubuntu.Components.Ubuntu 1.2: QtObject singleton1609Ubuntu.Components.Ubuntu 1.2: QtObject singleton
1489Ubuntu.Components.Ubuntu 1.3: UbuntuToolkit.UCNamespace singleton1610Ubuntu.Components.Ubuntu 1.3: Ubuntu singleton
1490 function ushort version(uchar major, uchar minor)1611 function ushort version(uchar major, uchar minor)
1491 readonly property ushort toolkitVersion1612 readonly property ushort toolkitVersion
1492 readonly property ushort toolkitVersionMajor1613 readonly property ushort toolkitVersionMajor
1493 readonly property ushort toolkitVersionMinor1614 readonly property ushort toolkitVersionMinor
1615Ubuntu.Components.Ubuntu.CaptionsStyle: Enum
1616 SummaryCaptionStyle
1617 TitleCaptionStyle
1494Ubuntu.Components.UbuntuAnimation 1.0 0.1: QtObject singleton1618Ubuntu.Components.UbuntuAnimation 1.0 0.1: QtObject singleton
1495 readonly property int BriskDuration1619 readonly property int BriskDuration
1496 readonly property int FastDuration1620 readonly property int FastDuration
@@ -1545,13 +1669,6 @@
1545 readonly property color silk1669 readonly property color silk
1546 readonly property color slate1670 readonly property color slate
1547 readonly property color warmGrey1671 readonly property color warmGrey
1548Ubuntu.Components.UbuntuGestures.UCSwipeArea: Enum
1549 Downwards
1550 Horizontal
1551 Leftwards
1552 Rightwards
1553 Upwards
1554 Vertical
1555Ubuntu.Components.UbuntuListView 1.0 0.1: ListView1672Ubuntu.Components.UbuntuListView 1.0 0.1: ListView
1556 property int expandedIndex1673 property int expandedIndex
1557Ubuntu.Components.UbuntuListView 1.1 UbuntuListView11: UbuntuListView1674Ubuntu.Components.UbuntuListView 1.1 UbuntuListView11: UbuntuListView
@@ -1584,7 +1701,30 @@
1584 property WrapMode sourceVerticalWrapMode 1.31701 property WrapMode sourceVerticalWrapMode 1.3
1585 property bool stretched1702 property bool stretched
1586 property VAlignment verticalAlignment1703 property VAlignment verticalAlignment
1587Ubuntu.Components.UbuntuShapeOverlay 1.2 UbuntuToolkit::UCUbuntuShapeOverlay: UbuntuToolkit.UCUbuntuShape1704Ubuntu.Components.UbuntuShape.Aspect: Enum
1705 DropShadow
1706 Flat
1707 Inset
1708Ubuntu.Components.UbuntuShape.BackgroundMode: Enum
1709 SolidColor
1710 VerticalGradient
1711Ubuntu.Components.UbuntuShape.FillMode: Enum
1712 Pad
1713 PreserveAspectCrop
1714 PreserveAspectFit
1715 Stretch
1716Ubuntu.Components.UbuntuShape.HAlignment: Enum
1717 AlignHCenter
1718 AlignLeft
1719 AlignRight
1720Ubuntu.Components.UbuntuShape.VAlignment: Enum
1721 AlignBottom
1722 AlignTop
1723 AlignVCenter
1724Ubuntu.Components.UbuntuShape.WrapMode: Enum
1725 Repeat
1726 Transparent
1727Ubuntu.Components.UbuntuShapeOverlay 1.2 UbuntuToolkit::UCUbuntuShapeOverlay: UbuntuShape
1588 property color overlayColor1728 property color overlayColor
1589 property QRectF overlayRect1729 property QRectF overlayRect
1590Ubuntu.Test.UbuntuTestCase 1.0 0.1: TestCase1730Ubuntu.Test.UbuntuTestCase 1.0 0.1: TestCase
@@ -1613,151 +1753,6 @@
1613 function var warningFormat(var line, var column, var message)1753 function var warningFormat(var line, var column, var message)
1614 function var waitForHeaderAnimation(var mainView)1754 function var waitForHeaderAnimation(var mainView)
1615 readonly property QuickTestUtil testUtil1755 readonly property QuickTestUtil testUtil
1616Ubuntu.Components.UbuntuToolkit.LiveTimer: Enum
1617 Disabled
1618 Hour
1619 Minute
1620 Relative
1621 Second
1622Ubuntu.Components.UbuntuToolkit.UCAction: Enum
1623 Bool
1624 Integer
1625 None
1626 Object
1627 Real
1628 String
1629UbuntuToolkit.UCActionContextAttached: QtObject
1630Ubuntu.Components.UbuntuToolkit.UCAlarm: Enum
1631 Fail
1632 InProgress
1633 Ready
1634Ubuntu.Components.UbuntuToolkit.UCAlarm: Enum
1635 Canceling
1636 NoOperation
1637 Reseting
1638 Saving
1639Ubuntu.Components.UbuntuToolkit.UCAlarm: Enum
1640 AdaptationError
1641 EarlyDate
1642 InvalidDate
1643 InvalidEvent
1644 NoDaysOfWeek
1645 NoError
1646 OneTimeOnMoreDays
1647 OperationPending
1648Ubuntu.Components.UbuntuToolkit.UCAlarm: Flag
1649 AutoDetect
1650 Daily
1651 Friday
1652 Monday
1653 Saturday
1654 Sunday
1655 Thursday
1656 Tuesday
1657 Wednesday
1658Ubuntu.Components.UbuntuToolkit.UCAlarm: Enum
1659 AutoDetect
1660 Daily
1661 Friday
1662 Monday
1663 Saturday
1664 Sunday
1665 Thursday
1666 Tuesday
1667 Wednesday
1668Ubuntu.Components.UbuntuToolkit.UCAlarm: Enum
1669 OneTime
1670 Repeating
1671Ubuntu.Components.UbuntuToolkit.UCBottomEdge: Enum
1672 Committed
1673 Hidden
1674 Revealed
1675Ubuntu.Components.UbuntuToolkit.UCBottomEdge: Enum
1676 Downwards
1677 Undefined
1678 Upwards
1679Ubuntu.Components.UbuntuToolkit.UCBottomEdgeHint: Enum
1680 Active
1681 Hidden
1682 Inactive
1683 Locked
1684Ubuntu.Components.UbuntuToolkit.UCDragEvent: Enum
1685 Dropped
1686 Moving
1687 Started
1688Ubuntu.Components.UbuntuToolkit.UCLabel: Enum
1689 Large
1690 Medium
1691 Small
1692 XLarge
1693 XSmall
1694 XxSmall
1695UbuntuToolkit.UCListItemDivider: Item
1696 property color colorFrom
1697 property color colorTo
1698UbuntuToolkit.UCListItemExpansion: QtObject
1699 property bool expanded
1700 property double height
1701UbuntuToolkit.UCMargins: QtObject
1702 property double all
1703 property double bottom
1704 property double left
1705 property double right
1706 property double top
1707Ubuntu.Components.UbuntuToolkit.UCMouse: Enum
1708 AfterItem
1709 BeforeItem
1710Ubuntu.Components.UbuntuToolkit.UCNamespace: Enum
1711 SummaryCaptionStyle
1712 TitleCaptionStyle
1713Ubuntu.Components.UbuntuToolkit.UCServiceProperties: Enum
1714 Active
1715 ConnectionError
1716 Inactive
1717 Synchronizing
1718Ubuntu.Components.UbuntuToolkit.UCServiceProperties: Enum
1719 Session
1720 System
1721 Undefined
1722Ubuntu.Components.UbuntuToolkit.UCSlotsLayout: Enum
1723 First
1724 Last
1725 Leading
1726 Trailing
1727UbuntuToolkit.UCStateSaverAttached: QtObject
1728 property bool enabled
1729 property string properties
1730Ubuntu.Components.UbuntuToolkit.UCSwipeEvent: Enum
1731 Finished
1732 Started
1733 Updated
1734Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1735 Repeat
1736 Transparent
1737Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1738 AlignBottom
1739 AlignTop
1740 AlignVCenter
1741Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1742 AlignHCenter
1743 AlignLeft
1744 AlignRight
1745Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1746 Pad
1747 PreserveAspectCrop
1748 PreserveAspectFit
1749 Stretch
1750Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1751 SolidColor
1752 VerticalGradient
1753Ubuntu.Components.UbuntuToolkit.UCUbuntuShape: Enum
1754 DropShadow
1755 Flat
1756 Inset
1757Ubuntu.Components.UbuntuToolkit.UCViewItemsAttached: Enum
1758 CollapseOnOutsidePress
1759 Exclusive
1760 UnlockExpanded
1761Ubuntu.Components.UriHandler 1.0 0.1: QtObject singleton1756Ubuntu.Components.UriHandler 1.0 0.1: QtObject singleton
1762 signal opened(QStringList uris)1757 signal opened(QStringList uris)
1763Ubuntu.Components.ListItems.ValueSelector 1.0 0.1: Empty1758Ubuntu.Components.ListItems.ValueSelector 1.0 0.1: Empty
@@ -1781,10 +1776,14 @@
1781 property list<int> expandedIndices1776 property list<int> expandedIndices
1782 property int expansionFlags1777 property int expansionFlags
1783 signal selectedIndicesChanged(list<int> indices)1778 signal selectedIndicesChanged(list<int> indices)
1784 signal dragUpdated(UCDragEvent event)1779 signal dragUpdated(ListItemDrag event)
1785 signal expandedIndicesChanged(list<int> indices)1780 signal expandedIndicesChanged(list<int> indices)
1786 property bool selectMode1781 property bool selectMode
1787 property list<int> selectedIndices1782 property list<int> selectedIndices
1783Ubuntu.Components.ViewItems.ExpansionFlag: Enum
1784 CollapseOnOutsidePress
1785 Exclusive
1786 UnlockExpanded
1788Ubuntu.Components.i18n 1.0 0.1: QtObject1787Ubuntu.Components.i18n 1.0 0.1: QtObject
1789 property string domain1788 property string domain
1790 property string language1789 property string language
17911790
=== modified file 'tests/api/components.api'
--- tests/api/components.api 2015-12-18 15:26:04 +0000
+++ tests/api/components.api 2016-07-04 16:15:32 +0000
@@ -11,21 +11,21 @@
11Extinct.Animals.Europe 4.2: Europe11Extinct.Animals.Europe 4.2: Europe
12 readonly property ushort era 4.212 readonly property ushort era 4.2
13 function ushort era(uchar year)13 function ushort era(uchar year)
14Extinct.Animals.Europe.ModernContinent: Enum
15 America
16 Europe
17Extinct.Animals.Excavator 1.0 1.114Extinct.Animals.Excavator 1.0 1.1
18Extinct.Animals.Gigantophis 4.3: QQuickItem15Extinct.Animals.Gigantophis 4.3: QQuickItem
19 property bool extinct16 property bool extinct
20 function var first()17 function var first()
21 function var fourth()18 function var fourth()
19Extinct.Animals.ModernContinent: Enum
20 America
21 Europe
22Extinct.Animals.ModernContinent: Enum
23 America
24 Europe
22Extinct.Animals.Pangaea 1.0: QtObject singleton25Extinct.Animals.Pangaea 1.0: QtObject singleton
23Extinct.Animals.Pangaea 4.0: Pangaea singleton26Extinct.Animals.Pangaea 4.0: Pangaea singleton
24 readonly property ushort era 4.027 readonly property ushort era 4.0
25 function ushort era(uchar year)28 function ushort era(uchar year)
26Extinct.Animals.Pangaea.ModernContinent: Enum
27 America
28 Europe
29Extinct.Animals.Smilodon 1.0 ScimitarCat 0.1 EASmilodon: QtObject29Extinct.Animals.Smilodon 1.0 ScimitarCat 0.1 EASmilodon: QtObject
30 function string paw(int i)30 function string paw(int i)
31 property string name31 property string name

Subscribers

People subscribed via source and target branches