Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/uitk-12-doc into lp:ubuntu-ui-toolkit/staging

Proposed by Cris Dywan
Status: Superseded
Proposed branch: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/uitk-12-doc
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 4568 lines (+970/-507)
222 files modified
components.api (+9/-0)
debian/control (+2/-0)
documentation/css/base.css (+1/-1)
documentation/docs.sh (+0/-2)
documentation/overview.qdoc (+21/-12)
documentation/resolution-independence.qdoc (+3/-3)
documentation/snippets/layouts/SimpleLayout.qml (+2/-2)
documentation/snippets/layouts/layout1.qml (+2/-2)
documentation/snippets/layouts/layout2.qml (+2/-2)
documentation/snippets/layouts/layout3.qml (+2/-2)
documentation/snippets/layouts/layout6.qml (+2/-2)
documentation/snippets/layouts/layout7.qml (+2/-2)
documentation/snippets/statesaver/ColorChanger.qml (+2/-2)
documentation/snippets/statesaver/MultiplePropertySaver.qml (+2/-2)
documentation/snippets/statesaver/PropertyGroupSaver.qml (+2/-2)
documentation/snippets/statesaver/PropertyGroupSaver2.qml (+2/-2)
documentation/ubuntu-components.qdoc (+1/-1)
documentation/ubuntu-ui-toolkit-common.qdocconf (+2/-2)
documentation/ubuntu-whatsnew.qdoc (+46/-0)
examples/calculator/calculator.qml (+1/-1)
examples/calculator/components/DefaultLayout.qml (+1/-1)
examples/calculator/components/Functions.qml (+1/-1)
examples/customtheme/main.qml (+1/-4)
examples/customtheme/theme/Palette.qml (+1/-1)
examples/jokes/jokes.qml (+1/-1)
examples/locale/locale.qml (+1/-1)
examples/ubuntu-ui-toolkit-gallery/Buttons.qml (+2/-2)
examples/ubuntu-ui-toolkit-gallery/Colors.qml (+2/-2)
examples/ubuntu-ui-toolkit-gallery/CrossFadeImage.qml (+2/-2)
examples/ubuntu-ui-toolkit-gallery/Dialog.qml (+3/-3)
examples/ubuntu-ui-toolkit-gallery/ListItems.qml (+3/-3)
examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml (+2/-2)
examples/ubuntu-ui-toolkit-gallery/Styles.qml (+1/-1)
examples/ubuntu-ui-toolkit-gallery/UbuntuListViews.qml (+2/-2)
examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml (+2/-2)
examples/unit-converter/unit-converter.qml (+2/-2)
modules/Ubuntu/Components/10/Button.qml (+2/-2)
modules/Ubuntu/Components/10/UbuntuColors10.qml (+1/-1)
modules/Ubuntu/Components/11/Button.qml (+2/-2)
modules/Ubuntu/Components/11/Haptics.qml (+6/-6)
modules/Ubuntu/Components/11/UbuntuColors.qml (+1/-1)
modules/Ubuntu/Components/AbstractButton.qml (+2/-2)
modules/Ubuntu/Components/ActionItem.qml (+2/-2)
modules/Ubuntu/Components/ActionList.qml (+2/-2)
modules/Ubuntu/Components/ActivityIndicator.qml (+1/-1)
modules/Ubuntu/Components/AnimatedItem.qml (+1/-1)
modules/Ubuntu/Components/AppHeader.qml (+2/-2)
modules/Ubuntu/Components/Captions.qml (+150/-0)
modules/Ubuntu/Components/CheckBox.qml (+1/-1)
modules/Ubuntu/Components/ComboButton.qml (+15/-15)
modules/Ubuntu/Components/CrossFadeImage.qdoc (+2/-2)
modules/Ubuntu/Components/CrossFadeImage10.qml (+2/-2)
modules/Ubuntu/Components/CrossFadeImage11.qml (+2/-2)
modules/Ubuntu/Components/DraggingArea.qml (+1/-1)
modules/Ubuntu/Components/Header.qml (+1/-1)
modules/Ubuntu/Components/Icon10.qml (+1/-1)
modules/Ubuntu/Components/Icon11.qml (+1/-1)
modules/Ubuntu/Components/InputHandler.qml (+2/-2)
modules/Ubuntu/Components/Label.qml (+1/-1)
modules/Ubuntu/Components/ListItems/Base.qml (+3/-2)
modules/Ubuntu/Components/ListItems/Caption.qml (+3/-2)
modules/Ubuntu/Components/ListItems/Divider.qml (+3/-2)
modules/Ubuntu/Components/ListItems/Empty.qml (+4/-3)
modules/Ubuntu/Components/ListItems/Expandable.qml (+3/-3)
modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml (+3/-3)
modules/Ubuntu/Components/ListItems/Header.qml (+1/-1)
modules/Ubuntu/Components/ListItems/IconVisual.qml (+2/-2)
modules/Ubuntu/Components/ListItems/ImageWithFallback.qml (+1/-1)
modules/Ubuntu/Components/ListItems/ItemSelector.qml (+2/-2)
modules/Ubuntu/Components/ListItems/LabelVisual.qml (+2/-2)
modules/Ubuntu/Components/ListItems/MultiValue.qml (+2/-1)
modules/Ubuntu/Components/ListItems/ProgressionVisual.qml (+2/-2)
modules/Ubuntu/Components/ListItems/SingleControl.qml (+4/-3)
modules/Ubuntu/Components/ListItems/SingleValue.qml (+2/-1)
modules/Ubuntu/Components/ListItems/Standard.qml (+4/-3)
modules/Ubuntu/Components/ListItems/Subtitled.qml (+3/-2)
modules/Ubuntu/Components/ListItems/ThinDivider.qml (+2/-2)
modules/Ubuntu/Components/ListItems/ValueSelector.qml (+2/-2)
modules/Ubuntu/Components/MainView.qdoc (+3/-3)
modules/Ubuntu/Components/MainView.qml (+2/-2)
modules/Ubuntu/Components/MainView12.qml (+1/-1)
modules/Ubuntu/Components/MainViewBase.qml (+2/-2)
modules/Ubuntu/Components/Object.qml (+1/-1)
modules/Ubuntu/Components/OptionSelector.qml (+3/-3)
modules/Ubuntu/Components/OptionSelectorDelegate.qml (+3/-3)
modules/Ubuntu/Components/OrientationHelper.qml (+2/-2)
modules/Ubuntu/Components/Page.qdoc (+4/-4)
modules/Ubuntu/Components/Page10.qml (+2/-2)
modules/Ubuntu/Components/Page11.qml (+1/-1)
modules/Ubuntu/Components/PageHeadConfiguration.qml (+3/-3)
modules/Ubuntu/Components/PageHeadSections.qml (+2/-2)
modules/Ubuntu/Components/PageHeadState.qml (+3/-3)
modules/Ubuntu/Components/PageStack.qml (+5/-5)
modules/Ubuntu/Components/PageTreeNode.qml (+1/-1)
modules/Ubuntu/Components/PageWrapper.qml (+1/-1)
modules/Ubuntu/Components/Panel.qml (+8/-8)
modules/Ubuntu/Components/Pickers/DatePicker.qml (+10/-10)
modules/Ubuntu/Components/Pickers/DayModel.qml (+2/-2)
modules/Ubuntu/Components/Pickers/Dialer.qml (+3/-3)
modules/Ubuntu/Components/Pickers/DialerHand.qml (+2/-2)
modules/Ubuntu/Components/Pickers/DialerHandGroup.qml (+2/-2)
modules/Ubuntu/Components/Pickers/HoursModel.qml (+2/-2)
modules/Ubuntu/Components/Pickers/MinutesModel.qml (+2/-2)
modules/Ubuntu/Components/Pickers/MonthModel.qml (+2/-2)
modules/Ubuntu/Components/Pickers/Picker.qml (+4/-4)
modules/Ubuntu/Components/Pickers/PickerDelegate.qml (+2/-2)
modules/Ubuntu/Components/Pickers/PickerModelBase.qml (+1/-1)
modules/Ubuntu/Components/Pickers/PickerPanel.qml (+4/-4)
modules/Ubuntu/Components/Pickers/PickerRow.qml (+2/-2)
modules/Ubuntu/Components/Pickers/SecondsModel.qml (+2/-2)
modules/Ubuntu/Components/Pickers/YearModel.qml (+2/-2)
modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml (+2/-2)
modules/Ubuntu/Components/Popups/ComposerSheet.qml (+3/-3)
modules/Ubuntu/Components/Popups/DefaultSheet.qml (+3/-3)
modules/Ubuntu/Components/Popups/Dialog.qml (+4/-4)
modules/Ubuntu/Components/Popups/Popover.qml (+4/-4)
modules/Ubuntu/Components/Popups/PopupBase.qml (+2/-2)
modules/Ubuntu/Components/Popups/SheetBase.qml (+2/-2)
modules/Ubuntu/Components/ProgressBar10.qml (+1/-1)
modules/Ubuntu/Components/ProgressBar11.qml (+1/-1)
modules/Ubuntu/Components/PullToRefresh.qml (+8/-8)
modules/Ubuntu/Components/Scrollbar.qml (+1/-1)
modules/Ubuntu/Components/Slider.qml (+1/-1)
modules/Ubuntu/Components/StyledItem.qml (+2/-2)
modules/Ubuntu/Components/Styles/ComboButtonStyle.qml (+1/-1)
modules/Ubuntu/Components/Styles/PageHeadStyle.qml (+1/-1)
modules/Ubuntu/Components/Styles/PullToRefreshStyle.qml (+1/-1)
modules/Ubuntu/Components/Switch.qml (+1/-1)
modules/Ubuntu/Components/Tab.qml (+2/-2)
modules/Ubuntu/Components/TabBar.qml (+1/-1)
modules/Ubuntu/Components/Tabs.qml (+5/-5)
modules/Ubuntu/Components/TextArea.qml (+2/-2)
modules/Ubuntu/Components/TextCursor.qml (+2/-2)
modules/Ubuntu/Components/TextField.qml (+4/-4)
modules/Ubuntu/Components/TextInputPopover.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ComboButtonStyle.qml (+3/-3)
modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/HeadDividerStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/HighlightMagnifier.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/OverflowPanel.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml (+3/-3)
modules/Ubuntu/Components/Themes/Ambiance/Palette.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/PartialColorize.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/PartialColorizeUbuntuShape.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/PopoverForegroundStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/PullToRefreshStyle.qml (+3/-3)
modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/TextCursorStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/TextFieldStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Ambiance/ToolbarStyle.qml (+2/-2)
modules/Ubuntu/Components/Themes/Palette.qml (+1/-1)
modules/Ubuntu/Components/Themes/PaletteValues.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruDark/MainViewStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruDark/OptionSelectorStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruDark/Palette.qml (+2/-2)
modules/Ubuntu/Components/Themes/SuruDark/TabBarStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruGradient/MainViewStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruGradient/OptionSelectorStyle.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruGradient/Palette.qml (+1/-1)
modules/Ubuntu/Components/Themes/SuruGradient/TabBarStyle.qml (+1/-1)
modules/Ubuntu/Components/Toolbar.qml (+1/-1)
modules/Ubuntu/Components/ToolbarButton.qml (+3/-3)
modules/Ubuntu/Components/ToolbarItems.qml (+7/-7)
modules/Ubuntu/Components/UbuntuListView.qml (+3/-3)
modules/Ubuntu/Components/UbuntuListView11.qdoc (+2/-2)
modules/Ubuntu/Components/UbuntuListView11.qml (+1/-1)
modules/Ubuntu/Components/UbuntuNumberAnimation.qml (+4/-4)
modules/Ubuntu/Components/plugin/i18n.cpp (+2/-2)
modules/Ubuntu/Components/plugin/inversemouseareatype.cpp (+6/-6)
modules/Ubuntu/Components/plugin/plugin.cpp (+10/-0)
modules/Ubuntu/Components/plugin/plugin.pro (+4/-2)
modules/Ubuntu/Components/plugin/sortfiltermodel.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucalarm.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucalarmmodel.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucfontutils.cpp (+4/-4)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+1/-1)
modules/Ubuntu/Components/plugin/uclistitemactions.cpp (+4/-4)
modules/Ubuntu/Components/plugin/ucmousefilters.cpp (+15/-15)
modules/Ubuntu/Components/plugin/ucnamespace.cpp (+48/-0)
modules/Ubuntu/Components/plugin/ucnamespace.h (+36/-0)
modules/Ubuntu/Components/plugin/ucserviceproperties.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucstatesaver.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucstyleditembase.cpp (+2/-2)
modules/Ubuntu/Components/plugin/uctheme.cpp (+4/-4)
modules/Ubuntu/Components/plugin/ucunits.cpp (+2/-2)
modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp (+2/-2)
modules/Ubuntu/Components/qmldir (+1/-0)
modules/Ubuntu/Layouts/plugin/ulitemlayout.cpp (+1/-1)
modules/Ubuntu/PerformanceMetrics/BarGraph.qml (+2/-2)
modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml (+1/-1)
modules/Ubuntu/Test/UbuntuTestCase.qml (+2/-2)
tests/resources/listitems/ListItemDragging.qml (+17/-13)
tests/resources/listitems/ListItemTest.qml (+38/-18)
tests/unit/tst_performance/ListItemList.qml (+2/-2)
tests/unit/tst_performance/ListOfCaptions.qml (+35/-0)
tests/unit/tst_performance/tst_performance.cpp (+1/-0)
tests/unit_x11/tst_components/tst_captions.qml (+86/-0)
To merge this branch: bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/uitk-12-doc
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Ubuntu SDK team Pending
Review via email: mp+251613@code.launchpad.net

This proposal has been superseded by a proposal from 2015-03-03.

Commit message

Final move to 1.2 release and doc fixes

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'components.api'
--- components.api 2015-02-27 13:47:29 +0000
+++ components.api 2015-03-03 15:01:13 +0000
@@ -34,6 +34,11 @@
34 property Gradient gradient34 property Gradient gradient
35 property font font35 property font font
36 property string iconPosition36 property string iconPosition
37Captions 1.2
38ColumnLayout
39 property int captionStyle
40 property Label title
41 property Label subtitle
37CheckBox 0.1 1.042CheckBox 0.1 1.0
38AbstractButton43AbstractButton
39 property bool checked44 property bool checked
@@ -1007,6 +1012,10 @@
1007 name: "exited"1012 name: "exited"
1008 Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true }1013 Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true }
1009 Parameter { name: "host"; type: "QQuickItem"; isPointer: true }1014 Parameter { name: "host"; type: "QQuickItem"; isPointer: true }
1015 name: "UCNamespace"
1016 prototype: "QObject"
1017 exports: ["Ubuntu 1.2"]
1018 name: "CaptionsStyle"
1010 name: "UCQQuickImageExtension"1019 name: "UCQQuickImageExtension"
1011 prototype: "QQuickImageBase"1020 prototype: "QQuickImageBase"
1012 exports: ["QQuickImageBase 0.1", "QQuickImageBase 1.0"]1021 exports: ["QQuickImageBase 0.1", "QQuickImageBase 1.0"]
10131022
=== modified file 'debian/control'
--- debian/control 2015-02-25 14:25:59 +0000
+++ debian/control 2015-03-03 15:01:13 +0000
@@ -20,6 +20,7 @@
20 qml-module-qtquick2 | qtdeclarative5-qtquick2-plugin,20 qml-module-qtquick2 | qtdeclarative5-qtquick2-plugin,
21 qml-module-qttest | qtdeclarative5-test-plugin,21 qml-module-qttest | qtdeclarative5-test-plugin,
22 qml-module-qtquick-window2 | qtdeclarative5-window-plugin,22 qml-module-qtquick-window2 | qtdeclarative5-window-plugin,
23 qml-module-qtquick-layouts,
23 qtdeclarative5-qtfeedback-plugin,24 qtdeclarative5-qtfeedback-plugin,
24 qtdeclarative5-unity-action-plugin (>= 1.1.0),25 qtdeclarative5-unity-action-plugin (>= 1.1.0),
25 qml-module-qtquick-localstorage | qtdeclarative5-localstorage-plugin,26 qml-module-qtquick-localstorage | qtdeclarative5-localstorage-plugin,
@@ -62,6 +63,7 @@
62 libqt5svg5,63 libqt5svg5,
63 qml-module-qtquick2 | qtdeclarative5-qtquick2-plugin,64 qml-module-qtquick2 | qtdeclarative5-qtquick2-plugin,
64 qml-module-qtquick-window2 | qtdeclarative5-window-plugin,65 qml-module-qtquick-window2 | qtdeclarative5-window-plugin,
66 qml-module-qtquick-layouts,
65 qtdeclarative5-qtfeedback-plugin,67 qtdeclarative5-qtfeedback-plugin,
66 qtdeclarative5-unity-action-plugin (>= 1.1.0),68 qtdeclarative5-unity-action-plugin (>= 1.1.0),
67 suru-icon-theme,69 suru-icon-theme,
6870
=== modified file 'documentation/css/base.css'
--- documentation/css/base.css 2012-12-20 08:38:03 +0000
+++ documentation/css/base.css 2015-03-03 15:01:13 +0000
@@ -37,7 +37,7 @@
37 padding: 10px;37 padding: 10px;
38 font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;38 font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;
39 background-color: #fdf6f2;39 background-color: #fdf6f2;
40 display: block;40 display: inline-block;
41 margin-bottom: 10px;41 margin-bottom: 10px;
42 -moz-border-radius: 4px;42 -moz-border-radius: 4px;
43 -webkit-border-radius: 4px;43 -webkit-border-radius: 4px;
4444
=== modified file 'documentation/docs.sh'
--- documentation/docs.sh 2014-11-25 16:28:04 +0000
+++ documentation/docs.sh 2015-03-03 15:01:13 +0000
@@ -45,8 +45,6 @@
45qdoc $SRC/ubuntu-ui-toolkit-online-indexes.qdocconf 2> /dev/null45qdoc $SRC/ubuntu-ui-toolkit-online-indexes.qdocconf 2> /dev/null
46echo docs: Cross-referenced done.46echo docs: Cross-referenced done.
4747
48sed -r -i 's@("main-content">)@\1<ul class="breadcrumb">@g' $1/html/*.html
49sed -r -i 's@(<div class="toc">|<h1 class="title">)@</ul>\1@g' $1/html/*.html
50sed -r -i 's@(</p>)<p/>@\1@g' $1/html/*.html48sed -r -i 's@(</p>)<p/>@\1@g' $1/html/*.html
51sed -r -i 's@(<a class="(next|prev)Page" href=".+">)(.+)(</a>)@<li>\1\3\4</li>@g' $1/html/*.html49sed -r -i 's@(<a class="(next|prev)Page" href=".+">)(.+)(</a>)@<li>\1\3\4</li>@g' $1/html/*.html
52sed -r -i 's@(href="qmlmodule-ubuntu-components0-ubuntu-components-0-1.html">Basic QML Types)@href="overview-ubuntu-sdk.html">Ubuntu User Interface Toolkit@g' $1/html/*.html50sed -r -i 's@(href="qmlmodule-ubuntu-components0-ubuntu-components-0-1.html">Basic QML Types)@href="overview-ubuntu-sdk.html">Ubuntu User Interface Toolkit@g' $1/html/*.html
5351
=== modified file 'documentation/overview.qdoc'
--- documentation/overview.qdoc 2014-09-15 12:59:16 +0000
+++ documentation/overview.qdoc 2015-03-03 15:01:13 +0000
@@ -20,6 +20,7 @@
2020
21 \part General Topics21 \part General Topics
22 \list22 \list
23 \li \l{ubuntu-whatsnew.html}{What's new in version 1.2?}
23 \li \l{ubuntu-layouts.html}{Layouts} describes a flexible layouting engine24 \li \l{ubuntu-layouts.html}{Layouts} describes a flexible layouting engine
24 to ease the development of responsive user interfaces.25 to ease the development of responsive user interfaces.
25 \li \l {Resolution Independence} describes the facilities that should be26 \li \l {Resolution Independence} describes the facilities that should be
@@ -31,11 +32,24 @@
31 \part Basic QML Types32 \part Basic QML Types
32 Available through:33 Available through:
33 \code34 \code
34 import Ubuntu.Components 1.135 import Ubuntu.Components 1.2
35 \endcode36 \endcode
36 \annotatedlist ubuntu37 \annotatedlist ubuntu
3738
38 \part List Items39 \part List views, list items
40 Components with standardized view items, with conditional actions, multiselect
41 and reordering support on scrollable views. Replaces the Ubuntu.Components.ListItems
42 module components.
43
44 Available through:
45 \code
46 import Ubuntu.Components 1.2
47 \endcode
48 \annotatedlist ubuntu-listitem
49
50 \part List Items module - deprecated
51 This module contains the old set of list items.
52
39 Available through:53 Available through:
40 \code54 \code
41 import Ubuntu.Components.ListItems 1.055 import Ubuntu.Components.ListItems 1.0
@@ -66,7 +80,7 @@
66 \part Theming Elements80 \part Theming Elements
67 Available through:81 Available through:
68 \code82 \code
69 import Ubuntu.Components 1.183 import Ubuntu.Components 1.2
70 \endcode84 \endcode
71 \annotatedlist theming85 \annotatedlist theming
7286
@@ -75,28 +89,28 @@
75 Themes must make sure that these interfaces are all implemented.89 Themes must make sure that these interfaces are all implemented.
76 Available through:90 Available through:
77 \code91 \code
78 import Ubuntu.Components.Styles 1.192 import Ubuntu.Components.Styles 1.2
79 \endcode93 \endcode
80 \annotatedlist style-api94 \annotatedlist style-api
8195
82 \part Resolution Independence Items96 \part Resolution Independence Items
83 Available through:97 Available through:
84 \code98 \code
85 import Ubuntu.Components 1.199 import Ubuntu.Components 1.2
86 \endcode100 \endcode
87 \annotatedlist resolution-independence101 \annotatedlist resolution-independence
88102
89 \part Parsing Command-Line Arguments103 \part Parsing Command-Line Arguments
90 Available through:104 Available through:
91 \code105 \code
92 import Ubuntu.Components 1.1106 import Ubuntu.Components 1.2
93 \endcode107 \endcode
94 \annotatedlist ubuntu-commandline108 \annotatedlist ubuntu-commandline
95109
96 \part Services110 \part Services
97 Available through:111 Available through:
98 \code112 \code
99 import Ubuntu.Components 1.1113 import Ubuntu.Components 1.2
100 \endcode114 \endcode
101 \annotatedlist ubuntu-services115 \annotatedlist ubuntu-services
102116
@@ -113,9 +127,4 @@
113 import Ubuntu Test 1.0127 import Ubuntu Test 1.0
114 \endcode128 \endcode
115 \annotatedlist ubuntu-test129 \annotatedlist ubuntu-test
116
117 \part Unstable QML Types
118 The following section lists components which will be part of future releases.
119 Their interface is unstable and thus should not be used in production applications.
120 \annotatedlist unstable-ubuntu-listitems
121 */130 */
122131
=== modified file 'documentation/resolution-independence.qdoc'
--- documentation/resolution-independence.qdoc 2014-04-23 08:50:20 +0000
+++ documentation/resolution-independence.qdoc 2015-03-03 15:01:13 +0000
@@ -64,7 +64,7 @@
6464
65 Example Usage:65 Example Usage:
66 \code66 \code
67 import Ubuntu.Components 1.167 import Ubuntu.Components 1.2
6868
69 Item {69 Item {
70 width: units.gu(2)70 width: units.gu(2)
@@ -79,7 +79,7 @@
7979
80 Example Usage:80 Example Usage:
81 \code81 \code
82 import Ubuntu.Components 1.182 import Ubuntu.Components 1.2
8383
84 Rectangle {84 Rectangle {
85 height: units.dp(1)85 height: units.dp(1)
@@ -143,7 +143,7 @@
143143
144 Example Usage:144 Example Usage:
145 \code145 \code
146 import Ubuntu.Components 1.1146 import Ubuntu.Components 1.2
147147
148 Label {148 Label {
149 fontSize: "small"149 fontSize: "small"
150150
=== modified file 'documentation/snippets/layouts/SimpleLayout.qml'
--- documentation/snippets/layouts/SimpleLayout.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/SimpleLayout.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Layouts 1.019import Ubuntu.Layouts 1.0
2020
21Item {21Item {
2222
=== modified file 'documentation/snippets/layouts/layout1.qml'
--- documentation/snippets/layouts/layout1.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/layout1.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![0]17//![0]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Layouts 1.020import Ubuntu.Layouts 1.0
2121
22Item {22Item {
2323
=== modified file 'documentation/snippets/layouts/layout2.qml'
--- documentation/snippets/layouts/layout2.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/layout2.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![0]17//![0]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Layouts 1.020import Ubuntu.Layouts 1.0
2121
22Item {22Item {
2323
=== modified file 'documentation/snippets/layouts/layout3.qml'
--- documentation/snippets/layouts/layout3.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/layout3.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![0]17//![0]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Layouts 1.020import Ubuntu.Layouts 1.0
2121
22Item {22Item {
2323
=== modified file 'documentation/snippets/layouts/layout6.qml'
--- documentation/snippets/layouts/layout6.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/layout6.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![0]17//![0]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Layouts 1.020import Ubuntu.Layouts 1.0
2121
22Item {22Item {
2323
=== modified file 'documentation/snippets/layouts/layout7.qml'
--- documentation/snippets/layouts/layout7.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/layouts/layout7.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![0]17//![0]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Layouts 1.020import Ubuntu.Layouts 1.0
2121
22Item {22Item {
2323
=== modified file 'documentation/snippets/statesaver/ColorChanger.qml'
--- documentation/snippets/statesaver/ColorChanger.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/statesaver/ColorChanger.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![color-saver]17//![color-saver]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Rectangle {21Rectangle {
22 id: root22 id: root
2323
=== modified file 'documentation/snippets/statesaver/MultiplePropertySaver.qml'
--- documentation/snippets/statesaver/MultiplePropertySaver.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/statesaver/MultiplePropertySaver.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![group-saver]17//![group-saver]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Rectangle {21Rectangle {
22 id: root22 id: root
2323
=== modified file 'documentation/snippets/statesaver/PropertyGroupSaver.qml'
--- documentation/snippets/statesaver/PropertyGroupSaver.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/statesaver/PropertyGroupSaver.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![property-group-saver]17//![property-group-saver]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Rectangle {21Rectangle {
22 id: root22 id: root
2323
=== modified file 'documentation/snippets/statesaver/PropertyGroupSaver2.qml'
--- documentation/snippets/statesaver/PropertyGroupSaver2.qml 2014-04-23 08:50:20 +0000
+++ documentation/snippets/statesaver/PropertyGroupSaver2.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17//![property-group-saver]17//![property-group-saver]
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Rectangle {21Rectangle {
22 id: root22 id: root
2323
=== modified file 'documentation/ubuntu-components.qdoc'
--- documentation/ubuntu-components.qdoc 2014-04-23 08:50:20 +0000
+++ documentation/ubuntu-components.qdoc 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17/*!17/*!
18 \qmlmodule Ubuntu.Components 1.118 \qmlmodule Ubuntu.Components 1.2
19 \title Basic QML Types19 \title Basic QML Types
20 \nextpage {Ubuntu User Interface Toolkit}20 \nextpage {Ubuntu User Interface Toolkit}
21*/21*/
2222
=== modified file 'documentation/ubuntu-ui-toolkit-common.qdocconf'
--- documentation/ubuntu-ui-toolkit-common.qdocconf 2015-01-27 11:27:37 +0000
+++ documentation/ubuntu-ui-toolkit-common.qdocconf 2015-03-03 15:01:13 +0000
@@ -1,5 +1,5 @@
1project = UbuntuUserInterfaceToolkit1project = UbuntuUserInterfaceToolkit
2url = http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/2url = http://developer.ubuntu.com/api/ubuntu-15.04/qml/mobile/
3description = Ubuntu User Interface Toolkit Documentation3description = Ubuntu User Interface Toolkit Documentation
4sourcedirs = ./4sourcedirs = ./
5sourcedirs += ../modules/Ubuntu/Components5sourcedirs += ../modules/Ubuntu/Components
@@ -19,7 +19,7 @@
19excludefiles = $BLD/../modules/Ubuntu/Components/MainView.qml19excludefiles = $BLD/../modules/Ubuntu/Components/MainView.qml
20outputdir = $BLD/html20outputdir = $BLD/html
21outputformats = HTML21outputformats = HTML
22version = 1.122version = 1.2
23syntaxhighlighting = true23syntaxhighlighting = true
24sourceencoding = UTF-824sourceencoding = UTF-8
25outputencoding = UTF-825outputencoding = UTF-8
2626
=== added file 'documentation/ubuntu-whatsnew.qdoc'
--- documentation/ubuntu-whatsnew.qdoc 1970-01-01 00:00:00 +0000
+++ documentation/ubuntu-whatsnew.qdoc 2015-03-03 15:01:13 +0000
@@ -0,0 +1,46 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17/*!
18 * \page ubuntu-whatsnew.html ubuntu-whatsnew
19 * \title What's new in the version 1.2?
20 *
21 * Beside the pile of bug fixes we have two major changes in the UI Toolkit version 1.2,
22 * as follows:
23 *
24 * \section3 MainView.useDeprecatedToolbar
25 * MainView.useDeprecatedToolbar property \b {got removed} and the new header is always
26 * enabled. If you need to use the old toolbar you can still do that by importing \b
27 * Ubuntu.Components 1.1.
28 *
29 * \section3 A new performant ListItem component
30 * As of 1.2, a new ListItem component and its attached components were added to the toolkit,
31 * which gives more flexibility and performance when used with scrollable views like ListView
32 * or Flickable. Its layout is free, meaning developers can, and have to implement their layout
33 * themselves. The only helper the toolkit provides is the Captions component, which fulfills
34 * the two typical use cases, for the two label column title captioning and for the summary
35 * captions.
36 *
37 * \section3 Ubuntu.Components.ListItems module deprecated
38 * The new ListItem also made the old list items module to be redundant, therefore we marked them
39 * for deprecation. Which means that your application should migrate to the new ListItem as soon as
40 * possible. There are few components which were not marked as deprecated, like ThinDivider, Header,
41 * Expandable and ExpandableColumn were not deprecated.
42 *
43 * \section3 UbuntuShape facelift
44 * There were few properties added and marked to be deprecated as well in UbuntuShape. Some most
45 * wanted features were added, and optimized.
46 */
047
=== modified file 'examples/calculator/calculator.qml'
--- examples/calculator/calculator.qml 2014-05-13 15:15:57 +0000
+++ examples/calculator/calculator.qml 2015-03-03 15:01:13 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
21import Ubuntu.Layouts 1.021import Ubuntu.Layouts 1.0
22import "components"22import "components"
23import "components/calculator.js" as Calculator23import "components/calculator.js" as Calculator
2424
=== modified file 'examples/calculator/components/DefaultLayout.qml'
--- examples/calculator/components/DefaultLayout.qml 2014-05-13 15:15:57 +0000
+++ examples/calculator/components/DefaultLayout.qml 2015-03-03 15:01:13 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
21import Ubuntu.Layouts 1.021import Ubuntu.Layouts 1.0
2222
23Item {23Item {
2424
=== modified file 'examples/calculator/components/Functions.qml'
--- examples/calculator/components/Functions.qml 2014-05-13 15:15:57 +0000
+++ examples/calculator/components/Functions.qml 2015-03-03 15:01:13 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
21import Ubuntu.Layouts 1.021import Ubuntu.Layouts 1.0
2222
23Grid {23Grid {
2424
=== modified file 'examples/customtheme/main.qml'
--- examples/customtheme/main.qml 2014-12-04 07:18:58 +0000
+++ examples/customtheme/main.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \brief MainView with a Label and Button elements.21 \brief MainView with a Label and Button elements.
@@ -35,9 +35,6 @@
35 */35 */
36 //automaticOrientation: true36 //automaticOrientation: true
3737
38 // Removes the old toolbar and enables new features of the new header.
39 useDeprecatedToolbar: false
40
41 width: units.gu(100)38 width: units.gu(100)
42 height: units.gu(75)39 height: units.gu(75)
4340
4441
=== modified file 'examples/customtheme/theme/Palette.qml'
--- examples/customtheme/theme/Palette.qml 2014-12-04 07:18:58 +0000
+++ examples/customtheme/theme/Palette.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Themes.SuruDark 1.1 as Suru19import Ubuntu.Components.Themes.SuruDark 1.1 as Suru
2020
21Suru.Palette {21Suru.Palette {
2222
=== modified file 'examples/jokes/jokes.qml'
--- examples/jokes/jokes.qml 2014-04-23 08:50:20 +0000
+++ examples/jokes/jokes.qml 2015-03-03 15:01:13 +0000
@@ -16,7 +16,7 @@
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import QtMultimedia 5.020import QtMultimedia 5.0
2121
22/*!22/*!
2323
=== modified file 'examples/locale/locale.qml'
--- examples/locale/locale.qml 2014-04-23 08:50:20 +0000
+++ examples/locale/locale.qml 2015-03-03 15:01:13 +0000
@@ -16,7 +16,7 @@
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
20import Ubuntu.Components.ListItems 1.0 as ListItem20import Ubuntu.Components.ListItems 1.0 as ListItem
2121
22/*!22/*!
2323
=== modified file 'examples/ubuntu-ui-toolkit-gallery/Buttons.qml'
--- examples/ubuntu-ui-toolkit-gallery/Buttons.qml 2014-07-30 12:59:34 +0000
+++ examples/ubuntu-ui-toolkit-gallery/Buttons.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.0
2020
21Template {21Template {
2222
=== modified file 'examples/ubuntu-ui-toolkit-gallery/Colors.qml'
--- examples/ubuntu-ui-toolkit-gallery/Colors.qml 2014-07-02 11:41:18 +0000
+++ examples/ubuntu-ui-toolkit-gallery/Colors.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Template {20Template {
21 objectName: "colorsTemplate"21 objectName: "colorsTemplate"
2222
=== modified file 'examples/ubuntu-ui-toolkit-gallery/CrossFadeImage.qml'
--- examples/ubuntu-ui-toolkit-gallery/CrossFadeImage.qml 2014-07-02 11:11:53 +0000
+++ examples/ubuntu-ui-toolkit-gallery/CrossFadeImage.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Template {20Template {
21 objectName: "crossFadeImagesTemplate"21 objectName: "crossFadeImagesTemplate"
2222
=== modified file 'examples/ubuntu-ui-toolkit-gallery/Dialog.qml'
--- examples/ubuntu-ui-toolkit-gallery/Dialog.qml 2014-07-25 12:55:27 +0000
+++ examples/ubuntu-ui-toolkit-gallery/Dialog.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Popups 0.119import Ubuntu.Components.Popups 1.0
2020
21Template {21Template {
22 objectName: "dialogsTemplate"22 objectName: "dialogsTemplate"
2323
=== modified file 'examples/ubuntu-ui-toolkit-gallery/ListItems.qml'
--- examples/ubuntu-ui-toolkit-gallery/ListItems.qml 2014-07-18 12:12:05 +0000
+++ examples/ubuntu-ui-toolkit-gallery/ListItems.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
19import Ubuntu.Components.ListItems 0.1 as ListItem19import Ubuntu.Components.ListItems 1.0 as ListItem
2020
21Template {21Template {
22 objectName: "listItemsTemplate"22 objectName: "listItemsTemplate"
2323
=== modified file 'examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml'
--- examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2014-06-17 13:04:52 +0000
+++ examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Template {20Template {
21 objectName: "progressBarsTemplate"21 objectName: "progressBarsTemplate"
2222
=== modified file 'examples/ubuntu-ui-toolkit-gallery/Styles.qml'
--- examples/ubuntu-ui-toolkit-gallery/Styles.qml 2014-07-21 11:14:11 +0000
+++ examples/ubuntu-ui-toolkit-gallery/Styles.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.1
1919
20Template {20Template {
2121
=== modified file 'examples/ubuntu-ui-toolkit-gallery/UbuntuListViews.qml'
--- examples/ubuntu-ui-toolkit-gallery/UbuntuListViews.qml 2014-06-27 06:46:16 +0000
+++ examples/ubuntu-ui-toolkit-gallery/UbuntuListViews.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.0 as ListItem
2020
21Template {21Template {
2222
=== modified file 'examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml'
--- examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml 2015-02-25 20:02:36 +0000
+++ examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.1 // keep 1.1 till we remove the deprecated toolbar and toolbar in general
19import Ubuntu.Components.ListItems 0.1 as ListItem19import Ubuntu.Components.ListItems 0.1 as ListItem
2020
21MainView {21MainView {
2222
=== modified file 'examples/unit-converter/unit-converter.qml'
--- examples/unit-converter/unit-converter.qml 2014-04-23 08:50:20 +0000
+++ examples/unit-converter/unit-converter.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import "conversion.js" as Converter19import "conversion.js" as Converter
2020
21/*!21/*!
2222
=== modified file 'modules/Ubuntu/Components/10/Button.qml'
--- modules/Ubuntu/Components/10/Button.qml 2014-07-29 14:42:56 +0000
+++ modules/Ubuntu/Components/10/Button.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.018import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \internal21 \internal
2222
=== modified file 'modules/Ubuntu/Components/10/UbuntuColors10.qml'
--- modules/Ubuntu/Components/10/UbuntuColors10.qml 2014-09-03 08:17:24 +0000
+++ modules/Ubuntu/Components/10/UbuntuColors10.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17pragma Singleton17pragma Singleton
18import QtQuick 2.218import QtQuick 2.4
1919
20/*!20/*!
21 \internal21 \internal
2222
=== modified file 'modules/Ubuntu/Components/11/Button.qml'
--- modules/Ubuntu/Components/11/Button.qml 2014-07-28 19:27:17 +0000
+++ modules/Ubuntu/Components/11/Button.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Button21 \qmltype Button
2222
=== modified file 'modules/Ubuntu/Components/11/Haptics.qml'
--- modules/Ubuntu/Components/11/Haptics.qml 2015-01-29 06:18:22 +0000
+++ modules/Ubuntu/Components/11/Haptics.qml 2015-03-03 15:01:13 +0000
@@ -15,9 +15,9 @@
15 */15 */
1616
17pragma Singleton17pragma Singleton
18import QtQuick 2.018import QtQuick 2.4
19import QtFeedback 5.019import QtFeedback 5.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
2121
22/*!22/*!
23 \qmltype Haptics23 \qmltype Haptics
@@ -32,8 +32,8 @@
3232
33 Example of using Haptics:33 Example of using Haptics:
34 \qml34 \qml
35 import QtQuick 2.335 import QtQuick 2.4
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
3737
38 Item {38 Item {
39 implicitWidth: units.gu(20)39 implicitWidth: units.gu(20)
@@ -54,8 +54,8 @@
5454
55 Custom effects can be played as follows:55 Custom effects can be played as follows:
56 \qml56 \qml
57 import QtQuick 2.357 import QtQuick 2.4
58 import Ubuntu.Components 1.158 import Ubuntu.Components 1.2
5959
60 Item {60 Item {
61 implicitWidth: units.gu(20)61 implicitWidth: units.gu(20)
6262
=== modified file 'modules/Ubuntu/Components/11/UbuntuColors.qml'
--- modules/Ubuntu/Components/11/UbuntuColors.qml 2014-09-03 08:17:24 +0000
+++ modules/Ubuntu/Components/11/UbuntuColors.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17pragma Singleton17pragma Singleton
18import QtQuick 2.218import QtQuick 2.4
1919
20/*!20/*!
21 \qmltype UbuntuColors21 \qmltype UbuntuColors
2222
=== modified file 'modules/Ubuntu/Components/AbstractButton.qml'
--- modules/Ubuntu/Components/AbstractButton.qml 2015-02-10 16:47:59 +0000
+++ modules/Ubuntu/Components/AbstractButton.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmlabstract AbstractButton21 \qmlabstract AbstractButton
2222
=== modified file 'modules/Ubuntu/Components/ActionItem.qml'
--- modules/Ubuntu/Components/ActionItem.qml 2014-08-31 19:24:19 +0000
+++ modules/Ubuntu/Components/ActionItem.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmlabstract ActionItem21 \qmlabstract ActionItem
2222
=== modified file 'modules/Ubuntu/Components/ActionList.qml'
--- modules/Ubuntu/Components/ActionList.qml 2014-08-31 19:24:19 +0000
+++ modules/Ubuntu/Components/ActionList.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype ActionList21 \qmltype ActionList
2222
=== modified file 'modules/Ubuntu/Components/ActivityIndicator.qml'
--- modules/Ubuntu/Components/ActivityIndicator.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/ActivityIndicator.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ActivityIndicator20 \qmltype ActivityIndicator
2121
=== modified file 'modules/Ubuntu/Components/AnimatedItem.qml'
--- modules/Ubuntu/Components/AnimatedItem.qml 2014-11-18 12:02:55 +0000
+++ modules/Ubuntu/Components/AnimatedItem.qml 2015-03-03 15:01:13 +0000
@@ -24,7 +24,7 @@
2424
25*/25*/
2626
27import QtQuick 2.027import QtQuick 2.4
2828
29StyledItem {29StyledItem {
30 id: root30 id: root
3131
=== modified file 'modules/Ubuntu/Components/AppHeader.qml'
--- modules/Ubuntu/Components/AppHeader.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/AppHeader.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Components18import Ubuntu.Components 1.2 as Components
1919
20/*!20/*!
21 \internal21 \internal
2222
=== added file 'modules/Ubuntu/Components/Captions.qml'
--- modules/Ubuntu/Components/Captions.qml 1970-01-01 00:00:00 +0000
+++ modules/Ubuntu/Components/Captions.qml 2015-03-03 15:01:13 +0000
@@ -0,0 +1,150 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17import QtQuick 2.4
18import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.2
20
21/*!
22 \qmltype Captions
23 \inqmlmodule Ubuntu.Components 1.2
24 \ingroup ubuntu-listitem
25 \since Ubuntu.Components 1.2
26 \brief Container providing captionStyles for a twin-label column that can be used in
27 RowLayout or GridLayout.
28
29 The labels are placed in a column and can be accessed through \l title and
30 \l subtitle properties. The default spacing between the labels is 0.5 grid units.
31
32 The container only shows the labels which has its text property set to a valid
33 string. The labels not having any text set are not occupying the space. When
34 embedded in a positioner or in a RowLayout, the container is aligned vertically
35 centered. It is recommended to be used in context with RowLayout or GridLayout,
36 however can be used with any component.
37
38 \qml
39 import QtQuick 2.4
40 import Ubuntu.Components 1.2
41
42 ListItem {
43 RowLayout {
44 Captions {
45 title.text: "Caption"
46 subtitle.text: "Subtitle text"
47 // attached properties of an Item type property
48 // can be changed only with assignment
49 Component.onCompleted: subtitle.Layout.alignment = Qt.AlignRight
50 }
51 Captions {
52 captionStyle: Ubuntu.SummaryCaptionStyle
53 title.text: "Text"
54 subtitle.text: "Text"
55 }
56 }
57 }
58 \endqml
59
60 Additional items can also be added to the layout after the two labels.
61 \qml
62 Captions {
63 title.text: "Caption"
64 subtitle.text: "Subtitle"
65 Label {
66 text: "third line"
67 fontSize: "xx-small"
68 }
69 }
70 \endqml
71 */
72ColumnLayout {
73 id: captions
74
75 /*!
76 \qmlproperty enumeration captionStyle
77 The property configures the arrangement and font sizes of the Labels in the
78 component. It can take the following values:
79 \list
80 \li \b Ubuntu.TitleCaptionStyle - (default) typical configuration for a left aligned
81 twin-label setup, where the text covers the remaining area on a list
82 layout.
83 \li \b Ubuntu.SummaryCaptionStyle - configuration for a right-aligned twin label setup,
84 with 6 grid units width.
85 \endlist
86 */
87 property int captionStyle: Ubuntu.TitleCaptionStyle
88
89 /*!
90 \qmlproperty Label title
91 \readonly
92 Label occupying the top area of the container.
93 */
94 property alias title: titleLabel
95
96 /*!
97 \qmlproperty Label subtitle
98 \readonly
99 Label occupying the bottom area of the container.
100 */
101 property alias subtitle: subtitleLabel
102
103 clip: true
104 spacing: units.gu(0.5)
105 Layout.fillWidth: (captionStyle == Ubuntu.TitleCaptionStyle)
106 Layout.alignment: Qt.AlignVCenter | ((captionStyle == Ubuntu.SummaryCaptionStyle) ? Qt.AlignRight : Qt.AlignLeft)
107 Layout.minimumWidth: 0
108 Layout.maximumWidth: (captionStyle == Ubuntu.SummaryCaptionStyle) ? units.gu(6) : parent.width
109 Layout.preferredWidth: (captionStyle == Ubuntu.SummaryCaptionStyle) ? Layout.maximumWidth : 0
110 Layout.minimumHeight: 0
111 Layout.maximumHeight: parent ? parent.height : childrenRect.height
112 Layout.preferredHeight: childrenRect.height
113
114 // handle visibility, do not override visible property!
115 // 'hide' column if title and subtitle is an empty string and
116 // there's no more children added
117 states: State {
118 name: "__q_invisible"
119 when: (title.text === "" && subtitle.text === "") && (captions.children.length == 2)
120 PropertyChanges {
121 target: captions
122 visible: false
123 }
124 }
125
126 Label {
127 id: titleLabel
128 anchors {
129 left: parent.left
130 right: parent.right
131 }
132 fontSize: (captionStyle == Ubuntu.SummaryCaptionStyle) ? "small" : "medium"
133 horizontalAlignment: (captionStyle == Ubuntu.SummaryCaptionStyle) ? Text.AlignRight : Text.AlignLeft
134 visible: text !== ""
135 elide: (captionStyle == Ubuntu.TitleCaptionStyle) ? Text.ElideRight : Text.ElideNone
136 }
137 Label {
138 id: subtitleLabel
139 anchors {
140 left: parent.left
141 right: parent.right
142 }
143 fontSize: "small"
144 horizontalAlignment: (captionStyle == Ubuntu.SummaryCaptionStyle) ? Text.AlignRight : Text.AlignLeft
145 visible: text !== ""
146 maximumLineCount: (captionStyle == Ubuntu.TitleCaptionStyle) ? 2 : 1
147 wrapMode: (captionStyle == Ubuntu.TitleCaptionStyle) ? Text.Wrap : Text.NoWrap
148 elide: (captionStyle == Ubuntu.TitleCaptionStyle) ? Text.ElideRight : Text.ElideNone
149 }
150}
0151
=== modified file 'modules/Ubuntu/Components/CheckBox.qml'
--- modules/Ubuntu/Components/CheckBox.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/CheckBox.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype CheckBox20 \qmltype CheckBox
2121
=== modified file 'modules/Ubuntu/Components/ComboButton.qml'
--- modules/Ubuntu/Components/ComboButton.qml 2014-08-18 16:02:33 +0000
+++ modules/Ubuntu/Components/ComboButton.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Popups 1.018import Ubuntu.Components.Popups 1.0
19import "mathUtils.js" as MathUtils19import "mathUtils.js" as MathUtils
2020
@@ -41,8 +41,8 @@
41 \li If the content height is smaller than the value of \l expandedHeight, the combo41 \li If the content height is smaller than the value of \l expandedHeight, the combo
42 list will be expanded only to the height of the content.42 list will be expanded only to the height of the content.
43 \qml43 \qml
44 import QtQuick 2.044 import QtQuick 2.4
45 import Ubuntu.Components 1.145 import Ubuntu.Components 1.2
46 ComboButton {46 ComboButton {
47 text: "smaller content"47 text: "smaller content"
48 Rectangle {48 Rectangle {
@@ -57,8 +57,8 @@
57 GridView or PathView, the content scrolling will be provided by the content57 GridView or PathView, the content scrolling will be provided by the content
58 itself.58 itself.
59 \qml59 \qml
60 import QtQuick 2.060 import QtQuick 2.4
61 import Ubuntu.Components 1.161 import Ubuntu.Components 1.2
62 ComboButton {62 ComboButton {
63 text: "long scrolled content"63 text: "long scrolled content"
64 Column {64 Column {
@@ -76,8 +76,8 @@
76 \li In case the content is a single Flickable, ListView, GridView or PathView,76 \li In case the content is a single Flickable, ListView, GridView or PathView,
77 the content will be filling the entire combo list area defined.77 the content will be filling the entire combo list area defined.
78 \qml78 \qml
79 import QtQuick 2.079 import QtQuick 2.4
80 import Ubuntu.Components 1.180 import Ubuntu.Components 1.2
81 import Ubuntu.Components.ListItems 1.081 import Ubuntu.Components.ListItems 1.0
82 ComboButton {82 ComboButton {
83 text: "listview"83 text: "listview"
@@ -94,8 +94,8 @@
94 If the content wants to take the size of the entire combo list, it should94 If the content wants to take the size of the entire combo list, it should
95 bind its height to the \l comboListHeight property.95 bind its height to the \l comboListHeight property.
96 \qml96 \qml
97 import QtQuick 2.097 import QtQuick 2.4
98 import Ubuntu.Components 1.198 import Ubuntu.Components 1.2
99 ComboButton {99 ComboButton {
100 id: combo100 id: combo
101 text: "smaller content"101 text: "smaller content"
@@ -108,8 +108,8 @@
108 \li In case the expansion needs to be the size of the combo list content, the \l108 \li In case the expansion needs to be the size of the combo list content, the \l
109 expandedHeight should be set to -1.109 expandedHeight should be set to -1.
110 \qml110 \qml
111 import QtQuick 2.0111 import QtQuick 2.4
112 import Ubuntu.Components 1.1112 import Ubuntu.Components 1.2
113 ComboButton {113 ComboButton {
114 text: "auto-sized content"114 text: "auto-sized content"
115 expandedHeight: -1115 expandedHeight: -1
@@ -134,8 +134,8 @@
134 example illustrates a possible implementation.134 example illustrates a possible implementation.
135135
136 \qml136 \qml
137 import QtQuick 2.0137 import QtQuick 2.4
138 import Ubuntu.Components 1.1138 import Ubuntu.Components 1.2
139139
140 ComboButton {140 ComboButton {
141 id: combo141 id: combo
@@ -201,8 +201,8 @@
201 \l expandedHeight and \l collapsedHeight values. It is a convenience property201 \l expandedHeight and \l collapsedHeight values. It is a convenience property
202 that can be used to size the combo list content.202 that can be used to size the combo list content.
203 \qml203 \qml
204 import QtQuick 2.0204 import QtQuick 2.4
205 import Ubuntu.Components 1.1205 import Ubuntu.Components 1.2
206 import Ubuntu.Components.ListItems 0.1206 import Ubuntu.Components.ListItems 0.1
207 ComboButton {207 ComboButton {
208 id: combo208 id: combo
209209
=== modified file 'modules/Ubuntu/Components/CrossFadeImage.qdoc'
--- modules/Ubuntu/Components/CrossFadeImage.qdoc 2014-06-30 12:00:10 +0000
+++ modules/Ubuntu/Components/CrossFadeImage.qdoc 2015-03-03 15:01:13 +0000
@@ -4,8 +4,8 @@
4 \brief An Image like component which smoothly fades when its source is updated.4 \brief An Image like component which smoothly fades when its source is updated.
55
6 \qml6 \qml
7 import QtQuick 2.07 import QtQuick 2.4
8 import Ubuntu.Components 1.18 import Ubuntu.Components 1.2
99
10 CrossFadeImage {10 CrossFadeImage {
11 width: units.gu(100)11 width: units.gu(100)
1212
=== modified file 'modules/Ubuntu/Components/CrossFadeImage10.qml'
--- modules/Ubuntu/Components/CrossFadeImage10.qml 2014-07-01 10:56:08 +0000
+++ modules/Ubuntu/Components/CrossFadeImage10.qml 2015-03-03 15:01:13 +0000
@@ -14,12 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18// FIXME: When a module contains QML, C++ and JavaScript elements exported,18// FIXME: When a module contains QML, C++ and JavaScript elements exported,
19// we need to use named imports otherwise namespace collision is reported19// we need to use named imports otherwise namespace collision is reported
20// by the QML engine. As workaround, we use Ubuntu named import.20// by the QML engine. As workaround, we use Ubuntu named import.
21// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-2764521// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27645
22import Ubuntu.Components 1.1 as Ubuntu22import Ubuntu.Components 1.2 as Ubuntu
2323
24/*!24/*!
25 \internal25 \internal
2626
=== modified file 'modules/Ubuntu/Components/CrossFadeImage11.qml'
--- modules/Ubuntu/Components/CrossFadeImage11.qml 2014-07-02 13:51:07 +0000
+++ modules/Ubuntu/Components/CrossFadeImage11.qml 2015-03-03 15:01:13 +0000
@@ -14,12 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18// FIXME: When a module contains QML, C++ and JavaScript elements exported,18// FIXME: When a module contains QML, C++ and JavaScript elements exported,
19// we need to use named imports otherwise namespace collision is reported19// we need to use named imports otherwise namespace collision is reported
20// by the QML engine. As workaround, we use Ubuntu named import.20// by the QML engine. As workaround, we use Ubuntu named import.
21// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-2764521// Bug to watch: https://bugreports.qt-project.org/browse/QTBUG-27645
22import Ubuntu.Components 1.1 as Ubuntu22import Ubuntu.Components 1.2 as Ubuntu
2323
24/*!24/*!
25 \internal25 \internal
2626
=== modified file 'modules/Ubuntu/Components/DraggingArea.qml'
--- modules/Ubuntu/Components/DraggingArea.qml 2013-02-26 10:30:04 +0000
+++ modules/Ubuntu/Components/DraggingArea.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import "mathUtils.js" as MathLocal18import "mathUtils.js" as MathLocal
1919
20MouseArea {20MouseArea {
2121
=== modified file 'modules/Ubuntu/Components/Header.qml'
--- modules/Ubuntu/Components/Header.qml 2014-06-25 11:38:23 +0000
+++ modules/Ubuntu/Components/Header.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Header20 \qmltype Header
2121
=== modified file 'modules/Ubuntu/Components/Icon10.qml'
--- modules/Ubuntu/Components/Icon10.qml 2014-10-20 12:05:33 +0000
+++ modules/Ubuntu/Components/Icon10.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19Item {19Item {
20 id: icon20 id: icon
2121
=== modified file 'modules/Ubuntu/Components/Icon11.qml'
--- modules/Ubuntu/Components/Icon11.qml 2014-07-30 20:20:49 +0000
+++ modules/Ubuntu/Components/Icon11.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19Icon10 {19Icon10 {
20 property url source: name ? "image://theme/%1".arg(name) : ""20 property url source: name ? "image://theme/%1".arg(name) : ""
2121
=== modified file 'modules/Ubuntu/Components/InputHandler.qml'
--- modules/Ubuntu/Components/InputHandler.qml 2015-01-14 13:32:44 +0000
+++ modules/Ubuntu/Components/InputHandler.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.117import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*20/*
21 This component is a unified text selection and scrolling handler for both21 This component is a unified text selection and scrolling handler for both
2222
=== modified file 'modules/Ubuntu/Components/Label.qml'
--- modules/Ubuntu/Components/Label.qml 2014-08-07 10:28:01 +0000
+++ modules/Ubuntu/Components/Label.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Label20 \qmltype Label
2121
=== modified file 'modules/Ubuntu/Components/ListItems/Base.qml'
--- modules/Ubuntu/Components/ListItems/Base.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/Base.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Base21 \qmltype Base
@@ -23,6 +23,7 @@
23 \ingroup ubuntu-listitems23 \ingroup ubuntu-listitems
24 \brief Parent class of various list item classes that can have24 \brief Parent class of various list item classes that can have
25 an icon and a progression symbol.25 an icon and a progression symbol.
26 \note \b{The component is deprecated. Use ListItem component instead.}
2627
27 Examples: See subclasses28 Examples: See subclasses
28*/29*/
2930
=== modified file 'modules/Ubuntu/Components/ListItems/Caption.qml'
--- modules/Ubuntu/Components/ListItems/Caption.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/Caption.qml 2015-03-03 15:01:13 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Caption21 \qmltype Caption
22 \inqmlmodule Ubuntu.Components.ListItems 1.022 \inqmlmodule Ubuntu.Components.ListItems 1.0
23 \ingroup ubuntu-listitems23 \ingroup ubuntu-listitems
24 \brief List item that shows a piece of text.24 \brief List item that shows a piece of text.
25 \note \b{The component is deprecated. Use ListItem and Captiopns components instead.}
2526
26 Examples:27 Examples:
27 \qml28 \qml
2829
=== modified file 'modules/Ubuntu/Components/ListItems/Divider.qml'
--- modules/Ubuntu/Components/ListItems/Divider.qml 2014-11-18 11:57:19 +0000
+++ modules/Ubuntu/Components/ListItems/Divider.qml 2015-03-03 15:01:13 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Divider21 \qmltype Divider
22 \inqmlmodule Ubuntu.Components.ListItems 1.022 \inqmlmodule Ubuntu.Components.ListItems 1.0
23 \ingroup ubuntu-listitems23 \ingroup ubuntu-listitems
24 \brief Divider to break up list items into groups.24 \brief Divider to break up list items into groups.
25 \note \b{The component is deprecated.}
2526
26 Examples: see \l Header27 Examples: see \l Header
27*/28*/
2829
=== modified file 'modules/Ubuntu/Components/ListItems/Empty.qml'
--- modules/Ubuntu/Components/ListItems/Empty.qml 2015-01-14 13:32:44 +0000
+++ modules/Ubuntu/Components/ListItems/Empty.qml 2015-03-03 15:01:13 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Empty21 \qmltype Empty
22 \inqmlmodule Ubuntu.Components.ListItems 1.022 \inqmlmodule Ubuntu.Components.ListItems 1.0
23 \ingroup ubuntu-listitems23 \ingroup ubuntu-listitems
24 \brief A list item with no contents.24 \brief A list item with no contents.
25 \note \b{The component is deprecated. Use ListItem component instead.}
25 The Empty class can be used for generic list items containing other26 The Empty class can be used for generic list items containing other
26 components such as buttons. It is selectable and can take mouse clicks.27 components such as buttons. It is selectable and can take mouse clicks.
27 It will attempt to detect if a thin dividing line at the bottom of the28 It will attempt to detect if a thin dividing line at the bottom of the
@@ -34,7 +35,7 @@
3435
35 Examples:36 Examples:
36 \qml37 \qml
37 import Ubuntu.Components 1.138 import Ubuntu.Components 1.2
38 import Ubuntu.Components.ListItems 1.0 as ListItem39 import Ubuntu.Components.ListItems 1.0 as ListItem
3940
40 Item {41 Item {
4142
=== modified file 'modules/Ubuntu/Components/ListItems/Expandable.qml'
--- modules/Ubuntu/Components/ListItems/Expandable.qml 2014-11-18 11:57:19 +0000
+++ modules/Ubuntu/Components/ListItems/Expandable.qml 2015-03-03 15:01:13 +0000
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
1818
19/*!19/*!
20 \qmltype Expandable20 \qmltype Expandable
@@ -35,7 +35,7 @@
3535
36 Examples:36 Examples:
37 \qml37 \qml
38 import Ubuntu.Components 1.138 import Ubuntu.Components 1.2
39 import Ubuntu.Components.ListItems 1.0 as ListItem39 import Ubuntu.Components.ListItems 1.0 as ListItem
4040
41 Item {41 Item {
4242
=== modified file 'modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml'
--- modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/ExpandablesColumn.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype ExpandablesColumn21 \qmltype ExpandablesColumn
@@ -29,7 +29,7 @@
2929
30 Examples:30 Examples:
31 \qml31 \qml
32 import Ubuntu.Components 1.132 import Ubuntu.Components 1.2
33 import Ubuntu.Components.ListItems 1.0 as ListItem33 import Ubuntu.Components.ListItems 1.0 as ListItem
3434
35 ListItem.ExpandablesColumn {35 ListItem.ExpandablesColumn {
3636
=== modified file 'modules/Ubuntu/Components/ListItems/Header.qml'
--- modules/Ubuntu/Components/ListItems/Header.qml 2015-01-14 13:32:44 +0000
+++ modules/Ubuntu/Components/ListItems/Header.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Header20 \qmltype Header
2121
=== modified file 'modules/Ubuntu/Components/ListItems/IconVisual.qml'
--- modules/Ubuntu/Components/ListItems/IconVisual.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/ListItems/IconVisual.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20// internal helper class to create the visuals20// internal helper class to create the visuals
21// for the icon.21// for the icon.
2222
=== modified file 'modules/Ubuntu/Components/ListItems/ImageWithFallback.qml'
--- modules/Ubuntu/Components/ListItems/ImageWithFallback.qml 2012-11-22 20:59:44 +0000
+++ modules/Ubuntu/Components/ListItems/ImageWithFallback.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19Image {19Image {
20 id: image20 id: image
2121
=== modified file 'modules/Ubuntu/Components/ListItems/ItemSelector.qml'
--- modules/Ubuntu/Components/ListItems/ItemSelector.qml 2014-11-18 12:01:58 +0000
+++ modules/Ubuntu/Components/ListItems/ItemSelector.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import "." as ListItem18import "." as ListItem
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21/*!21/*!
22 \qmltype ItemSelector22 \qmltype ItemSelector
2323
=== modified file 'modules/Ubuntu/Components/ListItems/LabelVisual.qml'
--- modules/Ubuntu/Components/ListItems/LabelVisual.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/ListItems/LabelVisual.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20// internal helper class for text inside the list items.20// internal helper class for text inside the list items.
21Label {21Label {
2222
=== modified file 'modules/Ubuntu/Components/ListItems/MultiValue.qml'
--- modules/Ubuntu/Components/ListItems/MultiValue.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/MultiValue.qml 2015-03-03 15:01:13 +0000
@@ -14,13 +14,14 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype MultiValue20 \qmltype MultiValue
21 \inqmlmodule Ubuntu.Components.ListItems 1.021 \inqmlmodule Ubuntu.Components.ListItems 1.0
22 \ingroup ubuntu-listitems22 \ingroup ubuntu-listitems
23 \brief List item displaying multiple values.23 \brief List item displaying multiple values.
24 \note \b{The component is deprecated. Use ListItem component instead.}
2425
25 Examples:26 Examples:
26 \qml27 \qml
2728
=== modified file 'modules/Ubuntu/Components/ListItems/ProgressionVisual.qml'
--- modules/Ubuntu/Components/ListItems/ProgressionVisual.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/ListItems/ProgressionVisual.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20// Internal helper class for the visuals of20// Internal helper class for the visuals of
21// the progression symbol.21// the progression symbol.
2222
=== modified file 'modules/Ubuntu/Components/ListItems/SingleControl.qml'
--- modules/Ubuntu/Components/ListItems/SingleControl.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/SingleControl.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.0
2020
21/*!21/*!
@@ -23,10 +23,11 @@
23 \inqmlmodule Ubuntu.Components.ListItems 1.023 \inqmlmodule Ubuntu.Components.ListItems 1.0
24 \ingroup ubuntu-listitems24 \ingroup ubuntu-listitems
25 \brief A list item containing a single control25 \brief A list item containing a single control
26 \note \b{The component is deprecated. Use ListItem component instead.}
2627
27 Examples:28 Examples:
28 \qml29 \qml
29 import Ubuntu.Components 1.130 import Ubuntu.Components 1.2
30 import Ubuntu.Components.ListItems 1.0 as ListItem31 import Ubuntu.Components.ListItems 1.0 as ListItem
31 Column {32 Column {
32 ListItem.SingleControl {33 ListItem.SingleControl {
3334
=== modified file 'modules/Ubuntu/Components/ListItems/SingleValue.qml'
--- modules/Ubuntu/Components/ListItems/SingleValue.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/SingleValue.qml 2015-03-03 15:01:13 +0000
@@ -14,13 +14,14 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype SingleValue20 \qmltype SingleValue
21 \inqmlmodule Ubuntu.Components.ListItems 1.021 \inqmlmodule Ubuntu.Components.ListItems 1.0
22 \ingroup ubuntu-listitems22 \ingroup ubuntu-listitems
23 \brief A list item displaying a single value23 \brief A list item displaying a single value
24 \note \b{The component is deprecated. Use ListItem component instead.}
2425
25 Examples:26 Examples:
26 \qml27 \qml
2728
=== modified file 'modules/Ubuntu/Components/ListItems/Standard.qml'
--- modules/Ubuntu/Components/ListItems/Standard.qml 2014-12-01 13:19:32 +0000
+++ modules/Ubuntu/Components/ListItems/Standard.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Standard21 \qmltype Standard
@@ -25,12 +25,13 @@
25 with a label (text), and optionally an icon, a progression arrow,25 with a label (text), and optionally an icon, a progression arrow,
26 and it can have an embedded Item (\l control) that can be used26 and it can have an embedded Item (\l control) that can be used
27 for including Buttons, Switches etc. inside the list item.27 for including Buttons, Switches etc. inside the list item.
28 \note \b{The component is deprecated. Use ListItem component instead.}
2829
29 \l {http://design.ubuntu.com/apps/building-blocks/list-items}{See also the Design Guidelines on List Items}.30 \l {http://design.ubuntu.com/apps/building-blocks/list-items}{See also the Design Guidelines on List Items}.
3031
31 Examples:32 Examples:
32 \qml33 \qml
33 import Ubuntu.Components 1.134 import Ubuntu.Components 1.2
34 import Ubuntu.Components.ListItems 1.0 as ListItem35 import Ubuntu.Components.ListItems 1.0 as ListItem
35 Column {36 Column {
36 ListItem.Standard {37 ListItem.Standard {
3738
=== modified file 'modules/Ubuntu/Components/ListItems/Subtitled.qml'
--- modules/Ubuntu/Components/ListItems/Subtitled.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/Subtitled.qml 2015-03-03 15:01:13 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype MultiValue21 \qmltype MultiValue
22 \inqmlmodule Ubuntu.Components.ListItems 1.022 \inqmlmodule Ubuntu.Components.ListItems 1.0
23 \ingroup ubuntu-listitems23 \ingroup ubuntu-listitems
24 \brief List item displaying a second string under the main label.24 \brief List item displaying a second string under the main label.
25 \note \b{The component is deprecated. Use ListItem component instead.}
2526
26 Examples:27 Examples:
27 \qml28 \qml
2829
=== modified file 'modules/Ubuntu/Components/ListItems/ThinDivider.qml'
--- modules/Ubuntu/Components/ListItems/ThinDivider.qml 2015-01-14 13:32:44 +0000
+++ modules/Ubuntu/Components/ListItems/ThinDivider.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.018import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype ThinDivider21 \qmltype ThinDivider
2222
=== modified file 'modules/Ubuntu/Components/ListItems/ValueSelector.qml'
--- modules/Ubuntu/Components/ListItems/ValueSelector.qml 2014-11-18 11:56:17 +0000
+++ modules/Ubuntu/Components/ListItems/ValueSelector.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 ****DEPRECATED! PLEASE USE ITEM SELECTOR OR FOR THE UBUNTU SHAPE VERSION THE OPTION SELECTOR.****21 ****DEPRECATED! PLEASE USE ITEM SELECTOR OR FOR THE UBUNTU SHAPE VERSION THE OPTION SELECTOR.****
2222
=== modified file 'modules/Ubuntu/Components/MainView.qdoc'
--- modules/Ubuntu/Components/MainView.qdoc 2015-02-27 07:55:51 +0000
+++ modules/Ubuntu/Components/MainView.qdoc 2015-03-03 15:01:13 +0000
@@ -25,7 +25,7 @@
25 The simplest way to use a MainView is to include a single \l Page object25 The simplest way to use a MainView is to include a single \l Page object
26 inside the MainView:26 inside the MainView:
27 \qml27 \qml
28 import QtQuick 2.328 import QtQuick 2.4
29 import Ubuntu.Components 1.229 import Ubuntu.Components 1.2
3030
31 MainView {31 MainView {
@@ -55,7 +55,7 @@
55 If the \l Page inside the MainView includes a Flickable with enough contents for scrolling,55 If the \l Page inside the MainView includes a Flickable with enough contents for scrolling,
56 the header will automatically hide and show when the user scrolls up or down:56 the header will automatically hide and show when the user scrolls up or down:
57 \qml57 \qml
58 import QtQuick 2.358 import QtQuick 2.4
59 import Ubuntu.Components 1.259 import Ubuntu.Components 1.2
6060
61 MainView {61 MainView {
@@ -126,7 +126,7 @@
126 For example, in order for the MainView to draw a color gradient beneath126 For example, in order for the MainView to draw a color gradient beneath
127 the content:127 the content:
128 \qml128 \qml
129 import QtQuick 2.3129 import QtQuick 2.4
130 import Ubuntu.Components 1.2130 import Ubuntu.Components 1.2
131131
132 MainView {132 MainView {
133133
=== modified file 'modules/Ubuntu/Components/MainView.qml'
--- modules/Ubuntu/Components/MainView.qml 2015-02-24 18:51:47 +0000
+++ modules/Ubuntu/Components/MainView.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
19import Ubuntu.PerformanceMetrics 1.019import Ubuntu.PerformanceMetrics 1.0
20import QtQuick.Window 2.020import QtQuick.Window 2.0
2121
2222
=== modified file 'modules/Ubuntu/Components/MainView12.qml'
--- modules/Ubuntu/Components/MainView12.qml 2015-02-27 07:55:51 +0000
+++ modules/Ubuntu/Components/MainView12.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.4
18import Ubuntu.Components 1.2 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
19import Ubuntu.PerformanceMetrics 1.019import Ubuntu.PerformanceMetrics 1.0
20import QtQuick.Window 2.220import QtQuick.Window 2.2
2121
=== modified file 'modules/Ubuntu/Components/MainViewBase.qml'
--- modules/Ubuntu/Components/MainViewBase.qml 2015-02-12 11:19:57 +0000
+++ modules/Ubuntu/Components/MainViewBase.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
19import Ubuntu.PerformanceMetrics 1.019import Ubuntu.PerformanceMetrics 1.0
20import QtQuick.Window 2.020import QtQuick.Window 2.0
2121
2222
=== modified file 'modules/Ubuntu/Components/Object.qml'
--- modules/Ubuntu/Components/Object.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Object.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Object20 \qmltype Object
2121
=== modified file 'modules/Ubuntu/Components/OptionSelector.qml'
--- modules/Ubuntu/Components/OptionSelector.qml 2014-11-18 12:01:58 +0000
+++ modules/Ubuntu/Components/OptionSelector.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import "ListItems" as ListItem18import "ListItems" as ListItem
19import Ubuntu.Components 1.1 as Toolkit19import Ubuntu.Components 1.2 as Toolkit
2020
21/*!21/*!
22 \qmltype OptionSelector22 \qmltype OptionSelector
@@ -27,7 +27,7 @@
2727
28 Examples:28 Examples:
29 \qml29 \qml
30 import Ubuntu.Components 1.130 import Ubuntu.Components 1.2
31 Column {31 Column {
32 spacing: units.gu(3)32 spacing: units.gu(3)
3333
3434
=== modified file 'modules/Ubuntu/Components/OptionSelectorDelegate.qml'
--- modules/Ubuntu/Components/OptionSelectorDelegate.qml 2014-11-18 12:01:58 +0000
+++ modules/Ubuntu/Components/OptionSelectorDelegate.qml 2015-03-03 15:01:13 +0000
@@ -22,7 +22,7 @@
2222
23 Examples:23 Examples:
24 \qml24 \qml
25 import Ubuntu.Components 1.125 import Ubuntu.Components 1.2
26 Column {26 Column {
27 width: 25027 width: 250
28 OptionSelector {28 OptionSelector {
@@ -41,9 +41,9 @@
41 \endqml41 \endqml
42*/42*/
4343
44import QtQuick 2.044import QtQuick 2.4
45import "ListItems" as ListItem45import "ListItems" as ListItem
46import Ubuntu.Components 1.1 as Toolkit46import Ubuntu.Components 1.2 as Toolkit
4747
48ListItem.Empty {48ListItem.Empty {
49 id: option49 id: option
5050
=== modified file 'modules/Ubuntu/Components/OrientationHelper.qml'
--- modules/Ubuntu/Components/OrientationHelper.qml 2015-02-11 10:27:52 +0000
+++ modules/Ubuntu/Components/OrientationHelper.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import QtQuick.Window 2.018import QtQuick.Window 2.0
19import Ubuntu.Components 1.019import Ubuntu.Components 1.2
2020
21/*!21/*!
22 \qmltype OrientationHelper22 \qmltype OrientationHelper
2323
=== modified file 'modules/Ubuntu/Components/Page.qdoc'
--- modules/Ubuntu/Components/Page.qdoc 2015-02-25 20:04:21 +0000
+++ modules/Ubuntu/Components/Page.qdoc 2015-03-03 15:01:13 +0000
@@ -28,8 +28,8 @@
28 and \l head properties of the page:28 and \l head properties of the page:
2929
30 \qml30 \qml
31 import QtQuick 2.031 import QtQuick 2.4
32 import Ubuntu.Components 1.132 import Ubuntu.Components 1.2
3333
34 MainView {34 MainView {
35 width: units.gu(48)35 width: units.gu(48)
@@ -92,8 +92,8 @@
92 is automatically set to the first child of the page that is Flickable92 is automatically set to the first child of the page that is Flickable
93 and anchors to the top of the page or fills the page. For example:93 and anchors to the top of the page or fills the page. For example:
94 \qml94 \qml
95 import QtQuick 2.095 import QtQuick 2.4
96 import Ubuntu.Components 1.196 import Ubuntu.Components 1.2
9797
98 MainView {98 MainView {
99 width: units.gu(30)99 width: units.gu(30)
100100
=== modified file 'modules/Ubuntu/Components/Page10.qml'
--- modules/Ubuntu/Components/Page10.qml 2015-02-27 07:55:51 +0000
+++ modules/Ubuntu/Components/Page10.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
1919
20/*!20/*!
21 \internal21 \internal
2222
=== modified file 'modules/Ubuntu/Components/Page11.qml'
--- modules/Ubuntu/Components/Page11.qml 2015-02-09 16:04:02 +0000
+++ modules/Ubuntu/Components/Page11.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
1818
19/*! \internal */19/*! \internal */
20// Documentation in Page.qdoc20// Documentation in Page.qdoc
2121
=== modified file 'modules/Ubuntu/Components/PageHeadConfiguration.qml'
--- modules/Ubuntu/Components/PageHeadConfiguration.qml 2015-02-10 14:16:01 +0000
+++ modules/Ubuntu/Components/PageHeadConfiguration.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype PageHeadConfiguration21 \qmltype PageHeadConfiguration
@@ -121,7 +121,7 @@
121121
122 Example:122 Example:
123 \qml123 \qml
124 import QtQuick 2.3124 import QtQuick 2.4
125 import Ubuntu.Components 1.2125 import Ubuntu.Components 1.2
126126
127 MainView {127 MainView {
128128
=== modified file 'modules/Ubuntu/Components/PageHeadSections.qml'
--- modules/Ubuntu/Components/PageHeadSections.qml 2015-02-10 14:16:01 +0000
+++ modules/Ubuntu/Components/PageHeadSections.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype PageHeadSections20 \qmltype PageHeadSections
@@ -40,7 +40,7 @@
40 List of strings that represent section names. Example:40 List of strings that represent section names. Example:
41 \qml41 \qml
42 import Ubuntu.Components 1.242 import Ubuntu.Components 1.2
43 import QtQuick 2.343 import QtQuick 2.4
4444
45 MainView {45 MainView {
46 width: units.gu(50)46 width: units.gu(50)
4747
=== modified file 'modules/Ubuntu/Components/PageHeadState.qml'
--- modules/Ubuntu/Components/PageHeadState.qml 2015-02-10 14:16:01 +0000
+++ modules/Ubuntu/Components/PageHeadState.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.1 // for Action18import Ubuntu.Components 1.2 // for Action
1919
20/*!20/*!
21 \qmltype PageHeadState21 \qmltype PageHeadState
@@ -28,7 +28,7 @@
28 This example shows how to add an action to the header that28 This example shows how to add an action to the header that
29 enables the user to enter search/input mode:29 enables the user to enter search/input mode:
30 \qml30 \qml
31 import QtQuick 2.231 import QtQuick 2.4
32 import Ubuntu.Components 1.232 import Ubuntu.Components 1.2
3333
34 MainView {34 MainView {
3535
=== modified file 'modules/Ubuntu/Components/PageStack.qml'
--- modules/Ubuntu/Components/PageStack.qml 2015-02-27 07:55:51 +0000
+++ modules/Ubuntu/Components/PageStack.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import "stack.js" as Stack18import "stack.js" as Stack
1919
20/*!20/*!
@@ -36,8 +36,8 @@
36 left/right/top/bottom anchors, explicitly set anchors.fill of the PageStack to36 left/right/top/bottom anchors, explicitly set anchors.fill of the PageStack to
37 undefined:37 undefined:
38 \qml38 \qml
39 import QtQuick 2.239 import QtQuick 2.4
40 import Ubuntu.Components 1.140 import Ubuntu.Components 1.2
4141
42 MainView {42 MainView {
43 width: units.gu(40)43 width: units.gu(40)
@@ -75,8 +75,8 @@
7575
76 Example:76 Example:
77 \qml77 \qml
78 import QtQuick 2.078 import QtQuick 2.4
79 import Ubuntu.Components 1.179 import Ubuntu.Components 1.2
80 import Ubuntu.Components.ListItems 1.0 as ListItem80 import Ubuntu.Components.ListItems 1.0 as ListItem
8181
82 MainView {82 MainView {
8383
=== modified file 'modules/Ubuntu/Components/PageTreeNode.qml'
--- modules/Ubuntu/Components/PageTreeNode.qml 2015-02-24 18:51:47 +0000
+++ modules/Ubuntu/Components/PageTreeNode.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \internal20 \internal
2121
=== modified file 'modules/Ubuntu/Components/PageWrapper.qml'
--- modules/Ubuntu/Components/PageWrapper.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/PageWrapper.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import "PageWrapperUtils.js" as Utils18import "PageWrapperUtils.js" as Utils
1919
20/*!20/*!
2121
=== modified file 'modules/Ubuntu/Components/Panel.qml'
--- modules/Ubuntu/Components/Panel.qml 2014-07-17 13:58:56 +0000
+++ modules/Ubuntu/Components/Panel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
1919
20/*!20/*!
21 \qmltype Panel21 \qmltype Panel
@@ -37,8 +37,8 @@
3737
38 A black panel that can be swiped in from the lower-right of the window can be created like this:38 A black panel that can be swiped in from the lower-right of the window can be created like this:
39 \qml39 \qml
40 import QtQuick 2.040 import QtQuick 2.4
41 import Ubuntu.Components 1.141 import Ubuntu.Components 1.2
4242
43 Item {43 Item {
44 width: units.gu(80)44 width: units.gu(80)
@@ -68,8 +68,8 @@
6868
69 A panel that looks like the standard (bottom-aligned) toolbar, but with custom contents, can be created like this:69 A panel that looks like the standard (bottom-aligned) toolbar, but with custom contents, can be created like this:
70 \qml70 \qml
71 import QtQuick 2.071 import QtQuick 2.4
72 import Ubuntu.Components 1.172 import Ubuntu.Components 1.2
7373
74 Item {74 Item {
75 width: units.gu(80)75 width: units.gu(80)
@@ -105,8 +105,8 @@
105 start swiping on the buttons in the examples above in order to hide the panel. To remedy this, clicked()105 start swiping on the buttons in the examples above in order to hide the panel. To remedy this, clicked()
106 signals are forwarded from the panel by calling the child's trigger() function. Example:106 signals are forwarded from the panel by calling the child's trigger() function. Example:
107 \qml107 \qml
108 import QtQuick 2.0108 import QtQuick 2.4
109 import Ubuntu.Components 1.1109 import Ubuntu.Components 1.2
110110
111 Rectangle {111 Rectangle {
112 color: Theme.palette.normal.background112 color: Theme.palette.normal.background
113113
=== modified file 'modules/Ubuntu/Components/Pickers/DatePicker.qml'
--- modules/Ubuntu/Components/Pickers/DatePicker.qml 2014-10-08 09:09:29 +0000
+++ modules/Ubuntu/Components/Pickers/DatePicker.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype DatePicker21 \qmltype DatePicker
@@ -35,8 +35,8 @@
35 only through the \l date property.35 only through the \l date property.
3636
37 \qml37 \qml
38 import QtQuick 2.038 import QtQuick 2.4
39 import Ubuntu.Components 1.139 import Ubuntu.Components 1.2
40 import Ubuntu.Components.Pickers 1.040 import Ubuntu.Components.Pickers 1.0
4141
42 Column {42 Column {
@@ -55,8 +55,8 @@
55 \b Minutes and \b Seconds strings sepatared with '|' character. A DatePicker55 \b Minutes and \b Seconds strings sepatared with '|' character. A DatePicker
56 which shows only year and month date units would look as follows:56 which shows only year and month date units would look as follows:
57 \qml57 \qml
58 import QtQuick 2.058 import QtQuick 2.4
59 import Ubuntu.Components 1.159 import Ubuntu.Components 1.2
60 import Ubuntu.Components.Pickers 1.060 import Ubuntu.Components.Pickers 1.0
6161
62 Column {62 Column {
@@ -74,8 +74,8 @@
74 is needed, the model should be set to contain the time specific mode flags.74 is needed, the model should be set to contain the time specific mode flags.
75 The following example demonstrates how to use DatePicker for time picking.75 The following example demonstrates how to use DatePicker for time picking.
76 \qml76 \qml
77 import QtQuick 2.077 import QtQuick 2.4
78 import Ubuntu.Components 1.178 import Ubuntu.Components 1.2
79 import Ubuntu.Components.Pickers 1.079 import Ubuntu.Components.Pickers 1.0
8080
81 Column {81 Column {
@@ -111,8 +111,8 @@
111 hours picker presenting 24 hours.111 hours picker presenting 24 hours.
112 \endlist112 \endlist
113 \qml113 \qml
114 import QtQuick 2.0114 import QtQuick 2.4
115 import Ubuntu.Components 1.1115 import Ubuntu.Components 1.2
116 import Ubuntu.Components.Pickers 1.0116 import Ubuntu.Components.Pickers 1.0
117117
118 Column {118 Column {
119119
=== modified file 'modules/Ubuntu/Components/Pickers/DayModel.qml'
--- modules/Ubuntu/Components/Pickers/DayModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/DayModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 circular: true21 circular: true
2222
=== modified file 'modules/Ubuntu/Components/Pickers/Dialer.qml'
--- modules/Ubuntu/Components/Pickers/Dialer.qml 2014-08-21 05:24:14 +0000
+++ modules/Ubuntu/Components/Pickers/Dialer.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Dialer21 \qmltype Dialer
@@ -34,7 +34,7 @@
34 value between 0 and 50.34 value between 0 and 50.
3535
36 \qml36 \qml
37 import QtQuick 2.037 import QtQuick 2.4
38 import Ubuntu.Components.Pickers 1.038 import Ubuntu.Components.Pickers 1.0
3939
40 Dialer {40 Dialer {
4141
=== modified file 'modules/Ubuntu/Components/Pickers/DialerHand.qml'
--- modules/Ubuntu/Components/Pickers/DialerHand.qml 2014-08-21 05:24:14 +0000
+++ modules/Ubuntu/Components/Pickers/DialerHand.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype DialerHand21 \qmltype DialerHand
2222
=== modified file 'modules/Ubuntu/Components/Pickers/DialerHandGroup.qml'
--- modules/Ubuntu/Components/Pickers/DialerHandGroup.qml 2014-04-25 12:53:58 +0000
+++ modules/Ubuntu/Components/Pickers/DialerHandGroup.qml 2015-03-03 15:01:13 +0000
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
1818
19/*!19/*!
20 \internal20 \internal
2121
=== modified file 'modules/Ubuntu/Components/Pickers/HoursModel.qml'
--- modules/Ubuntu/Components/Pickers/HoursModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/HoursModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 property int from21 property int from
2222
=== modified file 'modules/Ubuntu/Components/Pickers/MinutesModel.qml'
--- modules/Ubuntu/Components/Pickers/MinutesModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/MinutesModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 property int from21 property int from
2222
=== modified file 'modules/Ubuntu/Components/Pickers/MonthModel.qml'
--- modules/Ubuntu/Components/Pickers/MonthModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/MonthModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 circular: (count >= 11)21 circular: (count >= 11)
2222
=== modified file 'modules/Ubuntu/Components/Pickers/Picker.qml'
--- modules/Ubuntu/Components/Pickers/Picker.qml 2014-09-02 05:52:32 +0000
+++ modules/Ubuntu/Components/Pickers/Picker.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype Picker21 \qmltype Picker
@@ -34,8 +34,8 @@
3434
35 Example:35 Example:
36 \qml36 \qml
37 import QtQuick 2.037 import QtQuick 2.4
38 import Ubuntu.Components 1.138 import Ubuntu.Components 1.2
39 import Ubuntu.Components.Pickers 1.039 import Ubuntu.Components.Pickers 1.0
4040
41 Picker {41 Picker {
4242
=== modified file 'modules/Ubuntu/Components/Pickers/PickerDelegate.qml'
--- modules/Ubuntu/Components/Pickers/PickerDelegate.qml 2014-04-25 12:53:58 +0000
+++ modules/Ubuntu/Components/Pickers/PickerDelegate.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype PickerDelegate21 \qmltype PickerDelegate
2222
=== modified file 'modules/Ubuntu/Components/Pickers/PickerModelBase.qml'
--- modules/Ubuntu/Components/Pickers/PickerModelBase.qml 2014-03-06 10:46:17 +0000
+++ modules/Ubuntu/Components/Pickers/PickerModelBase.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*19/*
20 Base model type for DatePicker20 Base model type for DatePicker
2121
=== modified file 'modules/Ubuntu/Components/Pickers/PickerPanel.qml'
--- modules/Ubuntu/Components/Pickers/PickerPanel.qml 2014-09-03 08:17:24 +0000
+++ modules/Ubuntu/Components/Pickers/PickerPanel.qml 2015-03-03 15:01:13 +0000
@@ -15,9 +15,9 @@
15 */15 */
1616
17pragma Singleton17pragma Singleton
18import QtQuick 2.018import QtQuick 2.4
19import QtQuick.Window 2.019import QtQuick.Window 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
21import Ubuntu.Components.ListItems 1.021import Ubuntu.Components.ListItems 1.0
22import Ubuntu.Components.Popups 1.022import Ubuntu.Components.Popups 1.0
2323
@@ -32,8 +32,8 @@
32 area or in a Popover, depending on the form factor, following the design guides32 area or in a Popover, depending on the form factor, following the design guides
33 on date pickers.33 on date pickers.
34 \qml34 \qml
35 import QtQuick 2.035 import QtQuick 2.4
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
3737
38 MainWindow {38 MainWindow {
39 width: units.gu(40)39 width: units.gu(40)
4040
=== modified file 'modules/Ubuntu/Components/Pickers/PickerRow.qml'
--- modules/Ubuntu/Components/Pickers/PickerRow.qml 2014-05-07 10:42:31 +0000
+++ modules/Ubuntu/Components/Pickers/PickerRow.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Row {20Row {
21 id: row21 id: row
2222
=== modified file 'modules/Ubuntu/Components/Pickers/SecondsModel.qml'
--- modules/Ubuntu/Components/Pickers/SecondsModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/SecondsModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 property int from21 property int from
2222
=== modified file 'modules/Ubuntu/Components/Pickers/YearModel.qml'
--- modules/Ubuntu/Components/Pickers/YearModel.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Pickers/YearModel.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20PickerModelBase {20PickerModelBase {
21 // local properties21 // local properties
2222
=== modified file 'modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml'
--- modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml 2014-11-21 19:15:17 +0000
+++ modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.0
2020
21/*!21/*!
2222
=== modified file 'modules/Ubuntu/Components/Popups/ComposerSheet.qml'
--- modules/Ubuntu/Components/Popups/ComposerSheet.qml 2014-11-18 11:59:47 +0000
+++ modules/Ubuntu/Components/Popups/ComposerSheet.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19/*!19/*!
20 \qmltype ComposerSheet20 \qmltype ComposerSheet
21 \inherits SheetBase21 \inherits SheetBase
@@ -32,7 +32,7 @@
3232
33 Example:33 Example:
34 \qml34 \qml
35 import Ubuntu.Components 1.135 import Ubuntu.Components 1.2
36 import Ubuntu.Components.Popups 1.036 import Ubuntu.Components.Popups 1.0
3737
38 Item {38 Item {
3939
=== modified file 'modules/Ubuntu/Components/Popups/DefaultSheet.qml'
--- modules/Ubuntu/Components/Popups/DefaultSheet.qml 2014-11-18 11:59:47 +0000
+++ modules/Ubuntu/Components/Popups/DefaultSheet.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype DefaultSheet21 \qmltype DefaultSheet
@@ -33,7 +33,7 @@
3333
34 Example:34 Example:
35 \qml35 \qml
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
37 import Ubuntu.Components.Popups 1.037 import Ubuntu.Components.Popups 1.0
3838
39 Item {39 Item {
4040
=== modified file 'modules/Ubuntu/Components/Popups/Dialog.qml'
--- modules/Ubuntu/Components/Popups/Dialog.qml 2015-01-14 13:32:44 +0000
+++ modules/Ubuntu/Components/Popups/Dialog.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import "internalPopupUtils.js" as InternalPopupUtils19import "internalPopupUtils.js" as InternalPopupUtils
2020
21/*!21/*!
@@ -32,8 +32,8 @@
3232
33 Example:33 Example:
34 \qml34 \qml
35 import QtQuick 2.035 import QtQuick 2.4
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
37 import Ubuntu.Components.Popups 1.037 import Ubuntu.Components.Popups 1.0
3838
39 Item {39 Item {
4040
=== modified file 'modules/Ubuntu/Components/Popups/Popover.qml'
--- modules/Ubuntu/Components/Popups/Popover.qml 2015-02-26 15:31:15 +0000
+++ modules/Ubuntu/Components/Popups/Popover.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import "internalPopupUtils.js" as InternalPopupUtils18import "internalPopupUtils.js" as InternalPopupUtils
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21/*!21/*!
22 \qmltype Popover22 \qmltype Popover
@@ -31,8 +31,8 @@
3131
32 Example:32 Example:
33 \qml33 \qml
34 import QtQuick 2.034 import QtQuick 2.4
35 import Ubuntu.Components 1.135 import Ubuntu.Components 1.2
36 import Ubuntu.Components.ListItems 1.0 as ListItem36 import Ubuntu.Components.ListItems 1.0 as ListItem
37 import Ubuntu.Components.Popups 1.037 import Ubuntu.Components.Popups 1.0
3838
3939
=== modified file 'modules/Ubuntu/Components/Popups/PopupBase.qml'
--- modules/Ubuntu/Components/Popups/PopupBase.qml 2015-01-29 15:46:10 +0000
+++ modules/Ubuntu/Components/Popups/PopupBase.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype PopupBase21 \qmltype PopupBase
2222
=== modified file 'modules/Ubuntu/Components/Popups/SheetBase.qml'
--- modules/Ubuntu/Components/Popups/SheetBase.qml 2014-11-18 11:59:47 +0000
+++ modules/Ubuntu/Components/Popups/SheetBase.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype SheetBase21 \qmltype SheetBase
2222
=== modified file 'modules/Ubuntu/Components/ProgressBar10.qml'
--- modules/Ubuntu/Components/ProgressBar10.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/ProgressBar10.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ProgressBar20 \qmltype ProgressBar
2121
=== modified file 'modules/Ubuntu/Components/ProgressBar11.qml'
--- modules/Ubuntu/Components/ProgressBar11.qml 2014-06-23 12:52:52 +0000
+++ modules/Ubuntu/Components/ProgressBar11.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19ProgressBar {19ProgressBar {
20 property bool showProgressPercentage: true20 property bool showProgressPercentage: true
2121
=== modified file 'modules/Ubuntu/Components/PullToRefresh.qml'
--- modules/Ubuntu/Components/PullToRefresh.qml 2014-06-27 06:18:48 +0000
+++ modules/Ubuntu/Components/PullToRefresh.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmltype PullToRefresh21 \qmltype PullToRefresh
@@ -32,9 +32,9 @@
32 component by defining the completion clause to the \l refreshing property.32 component by defining the completion clause to the \l refreshing property.
3333
34 \qml34 \qml
35 import QtQuick 2.235 import QtQuick 2.4
36 import QtQuick.XmlListModel 2.036 import QtQuick.XmlListModel 2.0
37 import Ubuntu.Components 1.137 import Ubuntu.Components 1.2
38 import Ubuntu.Components.ListItems 1.038 import Ubuntu.Components.ListItems 1.0
3939
40 MainView {40 MainView {
@@ -82,9 +82,9 @@
82 to be shown by the component. Custom implementations can hold any component,82 to be shown by the component. Custom implementations can hold any component,
83 which will be anchor filled to the component itself.83 which will be anchor filled to the component itself.
84 \qml84 \qml
85 import QtQuick 2.285 import QtQuick 2.4
86 import QtQuick.XmlListModel 2.086 import QtQuick.XmlListModel 2.0
87 import Ubuntu.Components 1.187 import Ubuntu.Components 1.2
88 import Ubuntu.Components.ListItems 1.088 import Ubuntu.Components.ListItems 1.0
8989
90 MainView {90 MainView {
@@ -130,9 +130,9 @@
130 \note When declared as child of Flickable, set parent to the flickable explicitly130 \note When declared as child of Flickable, set parent to the flickable explicitly
131 so the component does not land in the \c content of Flickable.131 so the component does not land in the \c content of Flickable.
132 \qml132 \qml
133 import QtQuick 2.2133 import QtQuick 2.4
134 import QtQuick.XmlListModel 2.0134 import QtQuick.XmlListModel 2.0
135 import Ubuntu.Components 1.1135 import Ubuntu.Components 1.2
136 import Ubuntu.Components.ListItems 1.0136 import Ubuntu.Components.ListItems 1.0
137137
138 MainView {138 MainView {
139139
=== modified file 'modules/Ubuntu/Components/Scrollbar.qml'
--- modules/Ubuntu/Components/Scrollbar.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/Scrollbar.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ScrollBar20 \qmltype ScrollBar
2121
=== modified file 'modules/Ubuntu/Components/Slider.qml'
--- modules/Ubuntu/Components/Slider.qml 2014-11-18 12:02:55 +0000
+++ modules/Ubuntu/Components/Slider.qml 2015-03-03 15:01:13 +0000
@@ -16,7 +16,7 @@
1616
17// FIXME(loicm) Add support for keyboard shortcuts (basically left/right).17// FIXME(loicm) Add support for keyboard shortcuts (basically left/right).
1818
19import QtQuick 2.019import QtQuick 2.4
20import "mathUtils.js" as MathUtils20import "mathUtils.js" as MathUtils
2121
22/*!22/*!
2323
=== modified file 'modules/Ubuntu/Components/StyledItem.qml'
--- modules/Ubuntu/Components/StyledItem.qml 2014-08-25 05:56:28 +0000
+++ modules/Ubuntu/Components/StyledItem.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*!20/*!
21 \qmlabstract StyledItem21 \qmlabstract StyledItem
2222
=== modified file 'modules/Ubuntu/Components/Styles/ComboButtonStyle.qml'
--- modules/Ubuntu/Components/Styles/ComboButtonStyle.qml 2014-10-21 17:48:12 +0000
+++ modules/Ubuntu/Components/Styles/ComboButtonStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ComboButtonStyle20 \qmltype ComboButtonStyle
2121
=== modified file 'modules/Ubuntu/Components/Styles/PageHeadStyle.qml'
--- modules/Ubuntu/Components/Styles/PageHeadStyle.qml 2014-11-04 10:55:58 +0000
+++ modules/Ubuntu/Components/Styles/PageHeadStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
1717
18/*!18/*!
19 \qmltype PageHeadStyle19 \qmltype PageHeadStyle
2020
=== modified file 'modules/Ubuntu/Components/Styles/PullToRefreshStyle.qml'
--- modules/Ubuntu/Components/Styles/PullToRefreshStyle.qml 2014-10-21 17:48:12 +0000
+++ modules/Ubuntu/Components/Styles/PullToRefreshStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype PullToRefreshStyle20 \qmltype PullToRefreshStyle
2121
=== modified file 'modules/Ubuntu/Components/Switch.qml'
--- modules/Ubuntu/Components/Switch.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/Switch.qml 2015-03-03 15:01:13 +0000
@@ -17,7 +17,7 @@
17// FIXME(loicm) It would be nice to have a draggable thumb to toggle the switch,17// FIXME(loicm) It would be nice to have a draggable thumb to toggle the switch,
18// that needs to be validated with designers though.18// that needs to be validated with designers though.
1919
20import QtQuick 2.020import QtQuick 2.4
2121
22/*!22/*!
23 \qmltype Switch23 \qmltype Switch
2424
=== modified file 'modules/Ubuntu/Components/Tab.qml'
--- modules/Ubuntu/Components/Tab.qml 2015-02-27 07:55:51 +0000
+++ modules/Ubuntu/Components/Tab.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Tab20 \qmltype Tab
@@ -49,7 +49,7 @@
49 \l Page can control the height and prevent overlapping the header.49 \l Page can control the height and prevent overlapping the header.
50 Example:50 Example:
51 \qml51 \qml
52 import QtQuick 2.352 import QtQuick 2.4
53 import Ubuntu.Components 1.253 import Ubuntu.Components 1.2
54 MainView {54 MainView {
55 width: units.gu(40)55 width: units.gu(40)
5656
=== modified file 'modules/Ubuntu/Components/TabBar.qml'
--- modules/Ubuntu/Components/TabBar.qml 2014-08-21 05:24:14 +0000
+++ modules/Ubuntu/Components/TabBar.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype TabBar20 \qmltype TabBar
2121
=== modified file 'modules/Ubuntu/Components/Tabs.qml'
--- modules/Ubuntu/Components/Tabs.qml 2014-11-18 11:38:59 +0000
+++ modules/Ubuntu/Components/Tabs.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Tabs20 \qmltype Tabs
@@ -32,8 +32,8 @@
3232
33 Example:33 Example:
34 \qml34 \qml
35 import QtQuick 2.035 import QtQuick 2.4
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
37 import Ubuntu.Components.ListItems 1.0 as ListItem37 import Ubuntu.Components.ListItems 1.0 as ListItem
3838
39 MainView {39 MainView {
@@ -103,8 +103,8 @@
103 \l PageStack, and pushing other pages on top of that, as is shown in the following example:103 \l PageStack, and pushing other pages on top of that, as is shown in the following example:
104104
105 \qml105 \qml
106 import QtQuick 2.0106 import QtQuick 2.4
107 import Ubuntu.Components 1.1107 import Ubuntu.Components 1.2
108108
109 MainView {109 MainView {
110 id: mainView110 id: mainView
111111
=== modified file 'modules/Ubuntu/Components/TextArea.qml'
--- modules/Ubuntu/Components/TextArea.qml 2014-12-03 15:46:20 +0000
+++ modules/Ubuntu/Components/TextArea.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Ubuntu18import Ubuntu.Components 1.2 as Ubuntu
19import Ubuntu.Components.Popups 1.019import Ubuntu.Components.Popups 1.0
20import "mathUtils.js" as MathUtils20import "mathUtils.js" as MathUtils
2121
2222
=== modified file 'modules/Ubuntu/Components/TextCursor.qml'
--- modules/Ubuntu/Components/TextCursor.qml 2014-11-26 09:57:47 +0000
+++ modules/Ubuntu/Components/TextCursor.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Ubuntu18import Ubuntu.Components 1.2 as Ubuntu
19import Ubuntu.Components.Popups 1.019import Ubuntu.Components.Popups 1.0
2020
21Ubuntu.StyledItem {21Ubuntu.StyledItem {
2222
=== modified file 'modules/Ubuntu/Components/TextField.qml'
--- modules/Ubuntu/Components/TextField.qml 2014-12-03 15:46:20 +0000
+++ modules/Ubuntu/Components/TextField.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Ubuntu18import Ubuntu.Components 1.2 as Ubuntu
19import Ubuntu.Components.Popups 1.019import Ubuntu.Components.Popups 1.0
2020
21/*!21/*!
@@ -526,8 +526,8 @@
526 between 11 and 31 into the text input:526 between 11 and 31 into the text input:
527527
528 \qml528 \qml
529 import QtQuick 2.0529 import QtQuick 2.4
530 import Ubuntu.Components 1.1530 import Ubuntu.Components 1.2
531 TextField{531 TextField{
532 validator: IntValidator{bottom: 11; top: 31;}532 validator: IntValidator{bottom: 11; top: 31;}
533 focus: true533 focus: true
534534
=== modified file 'modules/Ubuntu/Components/TextInputPopover.qml'
--- modules/Ubuntu/Components/TextInputPopover.qml 2014-11-12 03:51:45 +0000
+++ modules/Ubuntu/Components/TextInputPopover.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Popups 1.019import Ubuntu.Components.Popups 1.0
2020
21Popover {21Popover {
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml 2015-01-15 19:29:11 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ActivityIndicatorStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Image {20Image {
21 id: container21 id: container
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml 2014-11-03 19:41:08 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/BubbleShape.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: bubbleShape21 id: bubbleShape
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ButtonForeground.qml 2015-03-03 15:01:13 +0000
@@ -16,8 +16,8 @@
16 * Author: Florian Boucault <florian.boucault@canonical.com>16 * Author: Florian Boucault <florian.boucault@canonical.com>
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
2121
22Item {22Item {
23 id: buttonForeground23 id: buttonForeground
2424
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml 2014-08-26 14:12:52 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml 2015-03-03 15:01:13 +0000
@@ -16,8 +16,8 @@
16 * Author: Florian Boucault <florian.boucault@canonical.com>16 * Author: Florian Boucault <florian.boucault@canonical.com>
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.2
2121
22Item {22Item {
23 id: buttonStyle23 id: buttonStyle
2424
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml 2014-11-07 15:45:22 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: checkBoxStyle21 id: checkBoxStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ComboButtonStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ComboButtonStyle.qml 2014-04-29 06:27:42 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ComboButtonStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Styles 1.1 as Style19import Ubuntu.Components.Styles 1.2 as Style
2020
21Style.ComboButtonStyle {21Style.ComboButtonStyle {
22 id: comboStyle22 id: comboStyle
2323
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/DatePickerStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.0
2020
21Item {21Item {
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/DialerHandStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 // style API21 // style API
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/DialerStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import QtGraphicalEffects 1.019import QtGraphicalEffects 1.0
2020
21// FIXME: Replace this once UbuntuShape support for gradients and shading has landed21// FIXME: Replace this once UbuntuShape support for gradients and shading has landed
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml 2014-07-25 12:55:27 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/DialogForegroundStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: dialogForegroundStyle21 id: dialogForegroundStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/HeadDividerStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/HeadDividerStyle.qml 2014-10-24 15:56:22 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/HeadDividerStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,7 +13,7 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.216import QtQuick 2.4
1717
18Item {18Item {
19 id: dividerStyle19 id: dividerStyle
2020
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml 2014-04-25 05:28:37 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
1818
19Item {19Item {
20 id: headerStyle20 id: headerStyle
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/HighlightMagnifier.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/HighlightMagnifier.qml 2013-12-04 10:49:19 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/HighlightMagnifier.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19ShaderEffect {19ShaderEffect {
20 id: magnifier20 id: magnifier
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml 2014-08-26 14:12:52 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ListItemOptionSelectorStyle.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 *15 *
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Item {21Item {
22 id: ambianceStyle22 id: ambianceStyle
2323
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml 2015-02-27 14:20:28 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.4
18import Ubuntu.Components.Styles 1.2 as Styles18import Ubuntu.Components.Styles 1.2 as Styles
19import Ubuntu.Components 1.219import Ubuntu.Components 1.2
2020
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml 2014-12-04 07:18:58 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
1818
19Item {19Item {
20 // styling properties20 // styling properties
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml 2014-08-26 14:12:52 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/OptionSelectorStyle.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 *15 *
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21Item {21Item {
22 id: ambianceStyle22 id: ambianceStyle
2323
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/OverflowPanel.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/OverflowPanel.qml 2014-07-16 11:16:44 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/OverflowPanel.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Popups 1.018import Ubuntu.Components.Popups 1.0
1919
20Popover {20Popover {
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml 2014-10-01 21:09:53 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20AbstractButton {20AbstractButton {
21 id: button21 id: button
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml 2015-01-13 15:52:29 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,11 +13,11 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.216import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
18import Ubuntu.Components.Popups 1.018import Ubuntu.Components.Popups 1.0
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.0 as ListItem
20import Ubuntu.Components.Styles 1.1 as Style20import Ubuntu.Components.Styles 1.2 as Style
2121
22Style.PageHeadStyle {22Style.PageHeadStyle {
23 id: headerStyle23 id: headerStyle
2424
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/Palette.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/Palette.qml 2014-12-03 15:46:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/Palette.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Themes 0.119import Ubuntu.Components.Themes 0.1
2020
21Palette {21Palette {
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PartialColorize.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PartialColorize.qml 2014-01-08 16:32:38 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PartialColorize.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19ShaderEffect {19ShaderEffect {
20 id: partialColorize20 id: partialColorize
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PartialColorizeUbuntuShape.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PartialColorizeUbuntuShape.qml 2014-01-08 16:32:38 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PartialColorizeUbuntuShape.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19PartialColorize {19PartialColorize {
20 fragmentShader: "20 fragmentShader: "
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PickerDelegateStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 property real minFade: 0.221 property real minFade: 0.2
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PickerStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.0
2020
21Item {21Item {
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PopoverForegroundStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PopoverForegroundStyle.qml 2014-07-16 06:31:50 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PopoverForegroundStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19BubbleShape {19BubbleShape {
20 property alias contentItem: content20 property alias contentItem: content
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml 2015-02-27 13:47:29 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: progressBarStyle21 id: progressBarStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: progressionVisualStyle21 id: progressionVisualStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/PullToRefreshStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/PullToRefreshStyle.qml 2014-06-26 15:59:10 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/PullToRefreshStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Styles 1.1 as Style19import Ubuntu.Components.Styles 1.2 as Style
2020
21Style.PullToRefreshStyle {21Style.PullToRefreshStyle {
22 id: style22 id: style
2323
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml 2014-05-26 09:08:27 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*20/*
21 The visuals handle both active and passive modes. This behavior is driven yet by21 The visuals handle both active and passive modes. This behavior is driven yet by
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/SelectionCursorStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20EditorCursorStyle {20EditorCursorStyle {
21 id: cursor21 id: cursor
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml 2014-09-02 13:17:59 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/SheetForegroundStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: visuals21 id: visuals
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml 2014-10-23 19:57:31 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20/*20/*
21 The default slider style consists of a bar and a thumb shape.21 The default slider style consists of a bar and a thumb shape.
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml 2014-11-06 21:04:13 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: switchStyle21 id: switchStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml 2014-05-15 11:36:07 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: tabBarStyle21 id: tabBarStyle
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml 2014-12-03 15:46:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20// frame20// frame
21// FIXME: stabilize API21// FIXME: stabilize API
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/TextCursorStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/TextCursorStyle.qml 2014-11-12 03:51:45 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/TextCursorStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20// FIXME : move the API into Ubuntu.Components.Style20// FIXME : move the API into Ubuntu.Components.Style
21Item {21Item {
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/TextFieldStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/TextFieldStyle.qml 2014-04-30 07:10:06 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/TextFieldStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19TextAreaStyle {19TextAreaStyle {
20 objectName: "textfield_style"20 objectName: "textfield_style"
2121
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml 2014-08-11 12:44:43 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ToolbarButtonStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
1919
20Item {20Item {
21 id: visuals21 id: visuals
2222
=== modified file 'modules/Ubuntu/Components/Themes/Ambiance/ToolbarStyle.qml'
--- modules/Ubuntu/Components/Themes/Ambiance/ToolbarStyle.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/Themes/Ambiance/ToolbarStyle.qml 2015-03-03 15:01:13 +0000
@@ -13,8 +13,8 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16import QtQuick 2.016import QtQuick 2.4
17import Ubuntu.Components 1.117import Ubuntu.Components 1.2
1818
19Item {19Item {
20 id: visuals20 id: visuals
2121
=== modified file 'modules/Ubuntu/Components/Themes/Palette.qml'
--- modules/Ubuntu/Components/Themes/Palette.qml 2013-07-05 00:02:08 +0000
+++ modules/Ubuntu/Components/Themes/Palette.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype Palette20 \qmltype Palette
2121
=== modified file 'modules/Ubuntu/Components/Themes/PaletteValues.qml'
--- modules/Ubuntu/Components/Themes/PaletteValues.qml 2014-07-11 15:11:02 +0000
+++ modules/Ubuntu/Components/Themes/PaletteValues.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype PaletteValues20 \qmltype PaletteValues
2121
=== modified file 'modules/Ubuntu/Components/Themes/SuruDark/MainViewStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruDark/MainViewStyle.qml 2013-07-05 14:34:00 +0000
+++ modules/Ubuntu/Components/Themes/SuruDark/MainViewStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Themes.Ambiance 0.118import Ubuntu.Components.Themes.Ambiance 0.1
1919
20MainViewStyle {20MainViewStyle {
2121
=== modified file 'modules/Ubuntu/Components/Themes/SuruDark/OptionSelectorStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruDark/OptionSelectorStyle.qml 2013-08-28 10:43:46 +0000
+++ modules/Ubuntu/Components/Themes/SuruDark/OptionSelectorStyle.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 *15 *
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components.Themes.Ambiance 0.119import Ubuntu.Components.Themes.Ambiance 0.1
2020
21OptionSelectorStyle {21OptionSelectorStyle {
2222
=== modified file 'modules/Ubuntu/Components/Themes/SuruDark/Palette.qml'
--- modules/Ubuntu/Components/Themes/SuruDark/Palette.qml 2014-08-25 07:35:49 +0000
+++ modules/Ubuntu/Components/Themes/SuruDark/Palette.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.Components.Themes 0.119import Ubuntu.Components.Themes 0.1
2020
21Palette {21Palette {
2222
=== modified file 'modules/Ubuntu/Components/Themes/SuruDark/TabBarStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruDark/TabBarStyle.qml 2013-10-11 12:25:47 +0000
+++ modules/Ubuntu/Components/Themes/SuruDark/TabBarStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Themes.Ambiance 0.1 as Ambiance18import Ubuntu.Components.Themes.Ambiance 0.1 as Ambiance
1919
20Ambiance.TabBarStyle {20Ambiance.TabBarStyle {
2121
=== modified file 'modules/Ubuntu/Components/Themes/SuruGradient/MainViewStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruGradient/MainViewStyle.qml 2013-07-10 19:25:32 +0000
+++ modules/Ubuntu/Components/Themes/SuruGradient/MainViewStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Themes.Ambiance 0.118import Ubuntu.Components.Themes.Ambiance 0.1
1919
20MainViewStyle {20MainViewStyle {
2121
=== modified file 'modules/Ubuntu/Components/Themes/SuruGradient/OptionSelectorStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruGradient/OptionSelectorStyle.qml 2014-08-26 14:12:52 +0000
+++ modules/Ubuntu/Components/Themes/SuruGradient/OptionSelectorStyle.qml 2015-03-03 15:01:13 +0000
@@ -15,7 +15,7 @@
15 *15 *
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components.Themes.Ambiance 0.119import Ubuntu.Components.Themes.Ambiance 0.1
2020
21OptionSelectorStyle {21OptionSelectorStyle {
2222
=== modified file 'modules/Ubuntu/Components/Themes/SuruGradient/Palette.qml'
--- modules/Ubuntu/Components/Themes/SuruGradient/Palette.qml 2014-08-25 07:35:49 +0000
+++ modules/Ubuntu/Components/Themes/SuruGradient/Palette.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Themes 0.118import Ubuntu.Components.Themes 0.1
1919
20Palette {20Palette {
2121
=== modified file 'modules/Ubuntu/Components/Themes/SuruGradient/TabBarStyle.qml'
--- modules/Ubuntu/Components/Themes/SuruGradient/TabBarStyle.qml 2013-10-11 12:25:47 +0000
+++ modules/Ubuntu/Components/Themes/SuruGradient/TabBarStyle.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components.Themes.Ambiance 0.1 as Ambiance18import Ubuntu.Components.Themes.Ambiance 0.1 as Ambiance
1919
20Ambiance.TabBarStyle {20Ambiance.TabBarStyle {
2121
=== modified file 'modules/Ubuntu/Components/Toolbar.qml'
--- modules/Ubuntu/Components/Toolbar.qml 2014-11-18 12:02:55 +0000
+++ modules/Ubuntu/Components/Toolbar.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \internal20 \internal
2121
=== modified file 'modules/Ubuntu/Components/ToolbarButton.qml'
--- modules/Ubuntu/Components/ToolbarButton.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/ToolbarButton.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ToolbarButton20 \qmltype ToolbarButton
@@ -27,8 +27,8 @@
2727
28 Example of different ways to define the toolbar button:28 Example of different ways to define the toolbar button:
29 \qml29 \qml
30 import QtQuick 2.030 import QtQuick 2.4
31 import Ubuntu.Components 1.131 import Ubuntu.Components 1.2
3232
33 MainView {33 MainView {
34 width: units.gu(50)34 width: units.gu(50)
3535
=== modified file 'modules/Ubuntu/Components/ToolbarItems.qml'
--- modules/Ubuntu/Components/ToolbarItems.qml 2014-11-13 15:33:22 +0000
+++ modules/Ubuntu/Components/ToolbarItems.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
1818
19/*!19/*!
20 \qmltype ToolbarItems20 \qmltype ToolbarItems
@@ -40,8 +40,8 @@
40 It is recommended to use \l ToolbarButton inside the ToolbarItems to define the buttons that will40 It is recommended to use \l ToolbarButton inside the ToolbarItems to define the buttons that will
41 be visible to the user:41 be visible to the user:
42 \qml42 \qml
43 import QtQuick 2.043 import QtQuick 2.4
44 import Ubuntu.Components 1.144 import Ubuntu.Components 1.2
4545
46 MainView {46 MainView {
47 width: units.gu(50)47 width: units.gu(50)
@@ -72,8 +72,8 @@
72 ToolbarButtons and other Items (for example standard Buttons). ToolbarButtons automatically span72 ToolbarButtons and other Items (for example standard Buttons). ToolbarButtons automatically span
73 the full height of the toolbar, and other Items you will probably want to center vertically:73 the full height of the toolbar, and other Items you will probably want to center vertically:
74 \qml74 \qml
75 import QtQuick 2.075 import QtQuick 2.4
76 import Ubuntu.Components 1.176 import Ubuntu.Components 1.2
7777
78 MainView {78 MainView {
79 width: units.gu(50)79 width: units.gu(50)
@@ -121,8 +121,8 @@
121 The following example shows how to have a classic cancel button that is always121 The following example shows how to have a classic cancel button that is always
122 visible in the toolbar, instead of the default toolbar-styled back button:122 visible in the toolbar, instead of the default toolbar-styled back button:
123 \qml123 \qml
124 import QtQuick 2.0124 import QtQuick 2.4
125 import Ubuntu.Components 1.1125 import Ubuntu.Components 1.2
126126
127 MainView {127 MainView {
128 width: units.gu(50)128 width: units.gu(50)
129129
=== modified file 'modules/Ubuntu/Components/UbuntuListView.qml'
--- modules/Ubuntu/Components/UbuntuListView.qml 2015-02-25 14:14:05 +0000
+++ modules/Ubuntu/Components/UbuntuListView.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.1 as Toolkit18import Ubuntu.Components 1.2 as Toolkit
1919
20/*!20/*!
21 \qmltype UbuntuListView21 \qmltype UbuntuListView
@@ -30,7 +30,7 @@
3030
31 Examples:31 Examples:
32 \qml32 \qml
33 import Ubuntu.Components 1.133 import Ubuntu.Components 1.2
34 import Ubuntu.Components.ListItems 1.0 as ListItem34 import Ubuntu.Components.ListItems 1.0 as ListItem
3535
36 Item {36 Item {
3737
=== modified file 'modules/Ubuntu/Components/UbuntuListView11.qdoc'
--- modules/Ubuntu/Components/UbuntuListView11.qdoc 2014-09-16 15:37:56 +0000
+++ modules/Ubuntu/Components/UbuntuListView11.qdoc 2015-03-03 15:01:13 +0000
@@ -7,8 +7,8 @@
7 by default.7 by default.
88
9 \qml9 \qml
10 import QtQuick 2.210 import QtQuick 2.4
11 import Ubuntu.Components 1.111 import Ubuntu.Components 1.2
12 import Ubuntu.Components.ListItems 1.012 import Ubuntu.Components.ListItems 1.0
1313
14 UbuntuListView {14 UbuntuListView {
1515
=== modified file 'modules/Ubuntu/Components/UbuntuListView11.qml'
--- modules/Ubuntu/Components/UbuntuListView11.qml 2014-09-16 15:37:56 +0000
+++ modules/Ubuntu/Components/UbuntuListView11.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
1818
19// documentation in UbuntuListView11.qdoc19// documentation in UbuntuListView11.qdoc
20UbuntuListView {20UbuntuListView {
2121
=== modified file 'modules/Ubuntu/Components/UbuntuNumberAnimation.qml'
--- modules/Ubuntu/Components/UbuntuNumberAnimation.qml 2014-09-08 19:47:11 +0000
+++ modules/Ubuntu/Components/UbuntuNumberAnimation.qml 2015-03-03 15:01:13 +0000
@@ -15,8 +15,8 @@
15 *15 *
16 */16 */
1717
18import QtQuick 2.018import QtQuick 2.4
19import Ubuntu.Components 1.019import Ubuntu.Components 1.2
2020
21/*!21/*!
22 \qmltype UbuntuNumberAnimation22 \qmltype UbuntuNumberAnimation
@@ -28,8 +28,8 @@
28 Example of use:28 Example of use:
2929
30 \qml30 \qml
31 import QtQuick 2.031 import QtQuick 2.4
32 import Ubuntu.Components 1.132 import Ubuntu.Components 1.2
3333
34 Rectangle {34 Rectangle {
35 width: 100; height: 10035 width: 100; height: 100
3636
=== modified file 'modules/Ubuntu/Components/plugin/i18n.cpp'
--- modules/Ubuntu/Components/plugin/i18n.cpp 2015-02-03 18:11:32 +0000
+++ modules/Ubuntu/Components/plugin/i18n.cpp 2015-03-03 15:01:13 +0000
@@ -39,7 +39,7 @@
39 * It is based on \l {https://www.gnu.org/software/gettext/} {gettext}, and thus the standard gettext tools can be used for translating39 * It is based on \l {https://www.gnu.org/software/gettext/} {gettext}, and thus the standard gettext tools can be used for translating
40 * a project. Example:40 * a project. Example:
41 * \qml41 * \qml
42 * import QtQuick 2.042 * import QtQuick 2.4
43 * import Ubunut.Components 0.143 * import Ubunut.Components 0.1
44 *44 *
45 * Item {45 * Item {
@@ -220,7 +220,7 @@
220 * to take the original string and pass it to dtr (or dgettext).220 * to take the original string and pass it to dtr (or dgettext).
221 *221 *
222 * \qml222 * \qml
223 * import QtQuick 2.0223 * import QtQuick 2.4
224 * import UserMetrics 0.1224 * import UserMetrics 0.1
225 *225 *
226 * Metric {226 * Metric {
227227
=== modified file 'modules/Ubuntu/Components/plugin/inversemouseareatype.cpp'
--- modules/Ubuntu/Components/plugin/inversemouseareatype.cpp 2014-06-18 15:24:42 +0000
+++ modules/Ubuntu/Components/plugin/inversemouseareatype.cpp 2015-03-03 15:01:13 +0000
@@ -32,8 +32,8 @@
3232
33 Popup.qml33 Popup.qml
34 \qml34 \qml
35 import QtQuick 2.035 import QtQuick 2.4
36 import Ubuntu.Components 1.136 import Ubuntu.Components 1.2
3737
38 Rectangle {38 Rectangle {
39 anchors.centerIn: parent39 anchors.centerIn: parent
@@ -52,8 +52,8 @@
52 closing and destroying the popup.52 closing and destroying the popup.
5353
54 \qml54 \qml
55 import QtQuick 2.055 import QtQuick 2.4
56 import Ubuntu.Components 1.156 import Ubuntu.Components 1.2
5757
58 Item {58 Item {
59 width: 64059 width: 640
@@ -76,8 +76,8 @@
76 however altered to a different area by setting the \l sensingArea property to76 however altered to a different area by setting the \l sensingArea property to
77 a component which is either a parent of the mouse area or a sibling of it.77 a component which is either a parent of the mouse area or a sibling of it.
78 \qml78 \qml
79 import QtQuick 2.079 import QtQuick 2.4
80 import Ubuntu.Components 1.180 import Ubuntu.Components 1.2
8181
82 Item {82 Item {
83 width: units.gu(40)83 width: units.gu(40)
8484
=== modified file 'modules/Ubuntu/Components/plugin/plugin.cpp'
--- modules/Ubuntu/Components/plugin/plugin.cpp 2015-02-27 13:47:29 +0000
+++ modules/Ubuntu/Components/plugin/plugin.cpp 2015-03-03 15:01:13 +0000
@@ -57,6 +57,7 @@
57#include "uclistitemactions.h"57#include "uclistitemactions.h"
58#include "uclistitemstyle.h"58#include "uclistitemstyle.h"
59#include "ucserviceproperties.h"59#include "ucserviceproperties.h"
60#include "ucnamespace.h"
6061
61#include <sys/types.h>62#include <sys/types.h>
62#include <unistd.h>63#include <unistd.h>
@@ -95,6 +96,14 @@
95 return uriHandler;96 return uriHandler;
96}97}
9798
99static QObject *registerUbuntuNamespace(QQmlEngine *engine, QJSEngine *scriptEngine)
100{
101 Q_UNUSED(engine)
102 Q_UNUSED(scriptEngine)
103
104 return new UCNamespace();
105}
106
98void UbuntuComponentsPlugin::registerWindowContextProperty()107void UbuntuComponentsPlugin::registerWindowContextProperty()
99{108{
100 setWindowContextProperty(QGuiApplication::focusWindow());109 setWindowContextProperty(QGuiApplication::focusWindow());
@@ -176,6 +185,7 @@
176 qmlRegisterUncreatableType<UCDragEvent>(uri, 1, 2, "ListItemDrag", "This is an event object");185 qmlRegisterUncreatableType<UCDragEvent>(uri, 1, 2, "ListItemDrag", "This is an event object");
177 qmlRegisterType<UCListItemActions>(uri, 1, 2, "ListItemActions");186 qmlRegisterType<UCListItemActions>(uri, 1, 2, "ListItemActions");
178 qmlRegisterUncreatableType<UCViewItemsAttached>(uri, 1, 2, "ViewItems", "Not instantiable");187 qmlRegisterUncreatableType<UCViewItemsAttached>(uri, 1, 2, "ViewItems", "Not instantiable");
188 qmlRegisterSingletonType<UCNamespace>(uri, 1, 2, "Ubuntu", registerUbuntuNamespace);
179 qmlRegisterType<UCUbuntuShape, 1>(uri, 1, 2, "UbuntuShape");189 qmlRegisterType<UCUbuntuShape, 1>(uri, 1, 2, "UbuntuShape");
180}190}
181191
182192
=== modified file 'modules/Ubuntu/Components/plugin/plugin.pro'
--- modules/Ubuntu/Components/plugin/plugin.pro 2015-02-27 13:47:29 +0000
+++ modules/Ubuntu/Components/plugin/plugin.pro 2015-03-03 15:01:13 +0000
@@ -77,7 +77,8 @@
77 ucserviceproperties.h \77 ucserviceproperties.h \
78 ucserviceproperties_p.h \78 ucserviceproperties_p.h \
79 privates/listitemdragarea.h \79 privates/listitemdragarea.h \
80 privates/listitemdraghandler.h80 privates/listitemdraghandler.h \
81 ucnamespace.h
8182
82SOURCES += plugin.cpp \83SOURCES += plugin.cpp \
83 uctheme.cpp \84 uctheme.cpp \
@@ -122,7 +123,8 @@
122 ucviewitemsattached.cpp \123 ucviewitemsattached.cpp \
123 ucserviceproperties.cpp \124 ucserviceproperties.cpp \
124 privates/listitemdragarea.cpp \125 privates/listitemdragarea.cpp \
125 privates/listitemdraghandler.cpp126 privates/listitemdraghandler.cpp \
127 ucnamespace.cpp
126128
127# adapters129# adapters
128SOURCES += adapters/alarmsadapter_organizer.cpp130SOURCES += adapters/alarmsadapter_organizer.cpp
129131
=== modified file 'modules/Ubuntu/Components/plugin/sortfiltermodel.cpp'
--- modules/Ubuntu/Components/plugin/sortfiltermodel.cpp 2014-11-28 12:40:09 +0000
+++ modules/Ubuntu/Components/plugin/sortfiltermodel.cpp 2015-03-03 15:01:13 +0000
@@ -35,8 +35,8 @@
35 *35 *
36 * Example usage:36 * Example usage:
37 * \qml37 * \qml
38 * import QtQuick 2.038 * import QtQuick 2.4
39 * import Ubuntu.Components 1.139 * import Ubuntu.Components 1.2
40 * import Ubuntu.Components.ListItems 1.140 * import Ubuntu.Components.ListItems 1.1
41 *41 *
42 * MainView {42 * MainView {
4343
=== modified file 'modules/Ubuntu/Components/plugin/ucalarm.cpp'
--- modules/Ubuntu/Components/plugin/ucalarm.cpp 2015-02-26 15:09:23 +0000
+++ modules/Ubuntu/Components/plugin/ucalarm.cpp 2015-03-03 15:01:13 +0000
@@ -224,8 +224,8 @@
224 *224 *
225 * Example usage:225 * Example usage:
226 * \qml226 * \qml
227 * import QtQuick 2.0227 * import QtQuick 2.4
228 * import Ubuntu.Components 1.1228 * import Ubuntu.Components 1.2
229 *229 *
230 * Rectangle {230 * Rectangle {
231 * width: units.gu(40)231 * width: units.gu(40)
232232
=== modified file 'modules/Ubuntu/Components/plugin/ucalarmmodel.cpp'
--- modules/Ubuntu/Components/plugin/ucalarmmodel.cpp 2015-02-26 15:09:23 +0000
+++ modules/Ubuntu/Components/plugin/ucalarmmodel.cpp 2015-03-03 15:01:13 +0000
@@ -39,8 +39,8 @@
39 *39 *
40 * Example usage:40 * Example usage:
41 * \qml41 * \qml
42 * import QtQuick 2.042 * import QtQuick 2.4
43 * import Ubuntu.Components 1.143 * import Ubuntu.Components 1.2
44 * import Ubuntu.Components.ListItems 1.044 * import Ubuntu.Components.ListItems 1.0
45 * ListView {45 * ListView {
46 * model: AlarmModel {}46 * model: AlarmModel {}
4747
=== modified file 'modules/Ubuntu/Components/plugin/ucfontutils.cpp'
--- modules/Ubuntu/Components/plugin/ucfontutils.cpp 2014-07-21 13:43:02 +0000
+++ modules/Ubuntu/Components/plugin/ucfontutils.cpp 2015-03-03 15:01:13 +0000
@@ -33,8 +33,8 @@
33 * Example of a Label implementation which uses the default base scale for the font33 * Example of a Label implementation which uses the default base scale for the font
34 * size:34 * size:
35 * \qml35 * \qml
36 * import QtQuick 2.036 * import QtQuick 2.4
37 * import Ubuntu.Components 1.137 * import Ubuntu.Components 1.2
38 *38 *
39 * Text {39 * Text {
40 * property string fontSize: "medium"40 * property string fontSize: "medium"
@@ -45,8 +45,8 @@
45 * Another example of a custom text input component exposing a fontSize property and a base45 * Another example of a custom text input component exposing a fontSize property and a base
46 * font unit size to scale its font:46 * font unit size to scale its font:
47 * \qml47 * \qml
48 * import QtQuick 2.048 * import QtQuick 2.4
49 * import Ubuntu.Components 1.149 * import Ubuntu.Components 1.2
50 *50 *
51 * TextInput {51 * TextInput {
52 * property string fontSize: "small"52 * property string fontSize: "small"
5353
=== modified file 'modules/Ubuntu/Components/plugin/uclistitem.cpp'
--- modules/Ubuntu/Components/plugin/uclistitem.cpp 2015-02-25 16:07:56 +0000
+++ modules/Ubuntu/Components/plugin/uclistitem.cpp 2015-03-03 15:01:13 +0000
@@ -618,7 +618,7 @@
618 * \qmltype ListItem618 * \qmltype ListItem
619 * \instantiates UCListItem619 * \instantiates UCListItem
620 * \inqmlmodule Ubuntu.Components 1.2620 * \inqmlmodule Ubuntu.Components 1.2
621 * \ingroup unstable-ubuntu-listitems621 * \ingroup ubuntu-listitem
622 * \since Ubuntu.Components 1.2622 * \since Ubuntu.Components 1.2
623 * \brief The ListItem element provides Ubuntu design standards for list or grid623 * \brief The ListItem element provides Ubuntu design standards for list or grid
624 * views.624 * views.
625625
=== modified file 'modules/Ubuntu/Components/plugin/uclistitemactions.cpp'
--- modules/Ubuntu/Components/plugin/uclistitemactions.cpp 2015-02-12 07:31:08 +0000
+++ modules/Ubuntu/Components/plugin/uclistitemactions.cpp 2015-03-03 15:01:13 +0000
@@ -40,7 +40,7 @@
40 * \inherits QtQObject40 * \inherits QtQObject
41 * \inqmlmodule Ubuntu.Components 1.241 * \inqmlmodule Ubuntu.Components 1.2
42 * \since Ubuntu.Components 1.242 * \since Ubuntu.Components 1.2
43 * \ingroup unstable-ubuntu-listitems43 * \ingroup ubuntu-listitem
44 * \brief Provides configuration for actions to be added to a ListItem.44 * \brief Provides configuration for actions to be added to a ListItem.
45 *45 *
46 * ListItem accepts actions that can be configured to appear when swiped to left46 * ListItem accepts actions that can be configured to appear when swiped to left
@@ -62,7 +62,7 @@
62 * The examples below illustrate the worst and best practice when used in a ListView.62 * The examples below illustrate the worst and best practice when used in a ListView.
63 * The worst case:63 * The worst case:
64 * \qml64 * \qml
65 * import QtQuick 2.265 * import QtQuick 2.4
66 * import Ubuntu.Components 1.266 * import Ubuntu.Components 1.2
67 * MainView {67 * MainView {
68 * width: units.gu(40)68 * width: units.gu(40)
@@ -99,7 +99,7 @@
99 *99 *
100 * This example can be optimized by sharing the action arrays between the items:100 * This example can be optimized by sharing the action arrays between the items:
101 * \qml101 * \qml
102 * import QtQuick 2.2102 * import QtQuick 2.4
103 * import Ubuntu.Components 1.2103 * import Ubuntu.Components 1.2
104 * MainView {104 * MainView {
105 * width: units.gu(40)105 * width: units.gu(40)
@@ -177,7 +177,7 @@
177 * be specified which will be clamped between height and the maximum width of the177 * be specified which will be clamped between height and the maximum width of the
178 * list item divided by the number of actions in the list.178 * list item divided by the number of actions in the list.
179 * \qml179 * \qml
180 * import QtQuick 2.2180 * import QtQuick 2.4
181 * import Ubuntu.Components 1.2181 * import Ubuntu.Components 1.2
182 *182 *
183 * MainView {183 * MainView {
184184
=== modified file 'modules/Ubuntu/Components/plugin/ucmousefilters.cpp'
--- modules/Ubuntu/Components/plugin/ucmousefilters.cpp 2014-11-12 03:51:45 +0000
+++ modules/Ubuntu/Components/plugin/ucmousefilters.cpp 2015-03-03 15:01:13 +0000
@@ -71,7 +71,7 @@
71 MouseArea will no longer receive other mouse events.71 MouseArea will no longer receive other mouse events.
7272
73 \qml73 \qml
74 import QtQuick 2.074 import QtQuick 2.4
7575
76 TextInput {76 TextInput {
77 width: 10077 width: 100
@@ -96,8 +96,8 @@
96 The previous code sample using Mouse filter, which will print the pressed and96 The previous code sample using Mouse filter, which will print the pressed and
97 released mouse buttons would look as follows:97 released mouse buttons would look as follows:
98 \qml98 \qml
99 import QtQuick 2.099 import QtQuick 2.4
100 import Ubuntu.Components 1.1100 import Ubuntu.Components 1.2
101101
102 TextInput {102 TextInput {
103 width: 100103 width: 100
@@ -118,8 +118,8 @@
118118
119 Example of handling right button clicks over a TextInput:119 Example of handling right button clicks over a TextInput:
120 \qml120 \qml
121 import QtQuick 2.0121 import QtQuick 2.4
122 import Ubuntu.Components 1.1122 import Ubuntu.Components 1.2
123123
124 TextInput {124 TextInput {
125 width: 100125 width: 100
@@ -140,8 +140,8 @@
140 add new functionality to the primitive.140 add new functionality to the primitive.
141141
142 \qml142 \qml
143 import QtQuick 2.0143 import QtQuick 2.4
144 import Ubuntu.Components 1.1144 import Ubuntu.Components 1.2
145145
146 TextInput {146 TextInput {
147 width: 100147 width: 100
@@ -200,8 +200,8 @@
200 to the items in the list. In the following example the mouse press in red rectangle200 to the items in the list. In the following example the mouse press in red rectangle
201 will be printed as well as the proxied mouse press from the main item.201 will be printed as well as the proxied mouse press from the main item.
202 \qml202 \qml
203 import QtQuick 2.0203 import QtQuick 2.4
204 import Ubuntu.Components 1.1204 import Ubuntu.Components 1.2
205205
206 Item {206 Item {
207 id: main207 id: main
@@ -253,8 +253,8 @@
253 is only valid to press and release events, double-click or mouse position change253 is only valid to press and release events, double-click or mouse position change
254 will be blocked by the MouseArea still.254 will be blocked by the MouseArea still.
255 \qml255 \qml
256 import QtQuick 2.0256 import QtQuick 2.4
257 import Ubuntu.Components 1.1257 import Ubuntu.Components 1.2
258258
259 MouseArea {259 MouseArea {
260 id: topArea260 id: topArea
@@ -288,8 +288,8 @@
288 can be controlled through the \l priority property. In the following example288 can be controlled through the \l priority property. In the following example
289 we make sure the TextInput always receives the events before the filter:289 we make sure the TextInput always receives the events before the filter:
290 \qml290 \qml
291 import QtQuick 2.0291 import QtQuick 2.4
292 import Ubuntu.Components 1.1292 import Ubuntu.Components 1.2
293293
294 TextInput {294 TextInput {
295 id: input295 id: input
@@ -315,8 +315,8 @@
315 are emitted during a mouse move.315 are emitted during a mouse move.
316316
317 \qml317 \qml
318 import QtQuick 2.0318 import QtQuick 2.4
319 import Ubuntu.Components 1.1319 import Ubuntu.Components 1.2
320320
321 TextInput {321 TextInput {
322 width: units.gu(40)322 width: units.gu(40)
323323
=== added file 'modules/Ubuntu/Components/plugin/ucnamespace.cpp'
--- modules/Ubuntu/Components/plugin/ucnamespace.cpp 1970-01-01 00:00:00 +0000
+++ modules/Ubuntu/Components/plugin/ucnamespace.cpp 2015-03-03 15:01:13 +0000
@@ -0,0 +1,48 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */
17
18#include "ucnamespace.h"
19
20/*!
21 * \qmltype Ubuntu
22 * \instantiates UCNamespace
23 * \inqmlmodule Ubuntu.Components 1.2
24 * \ingroup ubuntu
25 * \since Ubuntu.Components 1.2
26 * \brief Provides global object with different enums.
27 *
28 * \section2 Enums
29 *
30 * \section4 CaptionStyle enum
31 * The enumeration configures the Captions component style.
32 * \table
33 * \header
34 * \li Enum
35 * \li Description
36 * \row
37 * \li TitleCaptionStyle
38 * \li The Captions labels are configured to represent caption behavior.
39 * \row
40 * \li SummaryCaptionStyle
41 * \li The Captions labels are configured to represent a summary-like description.
42 * \endtable
43 */
44UCNamespace::UCNamespace(QObject *parent) :
45 QObject(parent)
46{
47}
48
049
=== added file 'modules/Ubuntu/Components/plugin/ucnamespace.h'
--- modules/Ubuntu/Components/plugin/ucnamespace.h 1970-01-01 00:00:00 +0000
+++ modules/Ubuntu/Components/plugin/ucnamespace.h 2015-03-03 15:01:13 +0000
@@ -0,0 +1,36 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */
17
18#ifndef UCNAMESPACE_H
19#define UCNAMESPACE_H
20
21#include <QObject>
22
23class UCNamespace : public QObject
24{
25 Q_OBJECT
26 Q_ENUMS(CaptionsStyle)
27public:
28 enum CaptionsStyle {
29 TitleCaptionStyle = 5000,
30 SummaryCaptionStyle
31 };
32 explicit UCNamespace(QObject *parent = 0);
33
34};
35
36#endif // UCNAMESPACE_H
037
=== modified file 'modules/Ubuntu/Components/plugin/ucserviceproperties.cpp'
--- modules/Ubuntu/Components/plugin/ucserviceproperties.cpp 2015-02-19 10:00:07 +0000
+++ modules/Ubuntu/Components/plugin/ucserviceproperties.cpp 2015-03-03 15:01:13 +0000
@@ -97,8 +97,8 @@
97 * those. When enumerating properties, each property will be checked twice, with97 * those. When enumerating properties, each property will be checked twice, with
98 * the case specified as well as with the first letter capitalized.98 * the case specified as well as with the first letter capitalized.
99 * \qml99 * \qml
100 * import QtQuick 2.3100 * import QtQuick 2.4
101 * import Ubuntu.Components 1.1101 * import Ubuntu.Components 1.2
102 *102 *
103 * ServiceProperties {103 * ServiceProperties {
104 * service: "org.freenode.AccountsService"104 * service: "org.freenode.AccountsService"
105105
=== modified file 'modules/Ubuntu/Components/plugin/ucstatesaver.cpp'
--- modules/Ubuntu/Components/plugin/ucstatesaver.cpp 2014-09-03 16:12:24 +0000
+++ modules/Ubuntu/Components/plugin/ucstatesaver.cpp 2015-03-03 15:01:13 +0000
@@ -160,8 +160,8 @@
160 *160 *
161 * Example:161 * Example:
162 * \qml162 * \qml
163 * import QtQuick 2.0163 * import QtQuick 2.4
164 * import Ubuntu.Components 1.1164 * import Ubuntu.Components 1.2
165 *165 *
166 * TextField {166 * TextField {
167 * id: input167 * id: input
168168
=== modified file 'modules/Ubuntu/Components/plugin/ucstyleditembase.cpp'
--- modules/Ubuntu/Components/plugin/ucstyleditembase.cpp 2014-12-09 07:27:07 +0000
+++ modules/Ubuntu/Components/plugin/ucstyleditembase.cpp 2015-03-03 15:01:13 +0000
@@ -115,8 +115,8 @@
115 * In the following example the TextField will stay focused when clicked on the115 * In the following example the TextField will stay focused when clicked on the
116 * red rectangle.116 * red rectangle.
117 * \qml117 * \qml
118 * import QtQuick 2.2118 * import QtQuick 2.4
119 * import Ubuntu.Components 1.1119 * import Ubuntu.Components 1.2
120 *120 *
121 * Column {121 * Column {
122 * width: units.gu(50)122 * width: units.gu(50)
123123
=== modified file 'modules/Ubuntu/Components/plugin/uctheme.cpp'
--- modules/Ubuntu/Components/plugin/uctheme.cpp 2014-12-04 07:18:58 +0000
+++ modules/Ubuntu/Components/plugin/uctheme.cpp 2015-03-03 15:01:13 +0000
@@ -50,8 +50,8 @@
50 Example changing the current theme:50 Example changing the current theme:
5151
52 \qml52 \qml
53 import QtQuick 2.053 import QtQuick 2.4
54 import Ubuntu.Components 1.154 import Ubuntu.Components 1.2
5555
56 Item {56 Item {
57 Button {57 Button {
@@ -63,8 +63,8 @@
63 Example creating a style component:63 Example creating a style component:
6464
65 \qml65 \qml
66 import QtQuick 2.066 import QtQuick 2.4
67 import Ubuntu.Components 1.167 import Ubuntu.Components 1.2
6868
69 StyledItem {69 StyledItem {
70 id: myItem70 id: myItem
7171
=== modified file 'modules/Ubuntu/Components/plugin/ucunits.cpp'
--- modules/Ubuntu/Components/plugin/ucunits.cpp 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/Components/plugin/ucunits.cpp 2015-03-03 15:01:13 +0000
@@ -51,8 +51,8 @@
51 Example usage:51 Example usage:
5252
53 \qml53 \qml
54 import QtQuick 2.054 import QtQuick 2.4
55 import Ubuntu.Components 1.155 import Ubuntu.Components 1.2
5656
57 Item {57 Item {
58 width: units.gu(2)58 width: units.gu(2)
5959
=== modified file 'modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp'
--- modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp 2015-02-27 07:17:37 +0000
+++ modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp 2015-03-03 15:01:13 +0000
@@ -33,7 +33,7 @@
33/*!33/*!
34 * \qmltype ListItemDrag34 * \qmltype ListItemDrag
35 * \inqmlmodule Ubuntu.Components 1.235 * \inqmlmodule Ubuntu.Components 1.2
36 * \ingroup unstable-ubuntu-listitems36 * \ingroup ubuntu-listitem
37 * \since Ubuntu.Components 1.237 * \since Ubuntu.Components 1.2
38 * \brief Provides information about a ListItem drag event.38 * \brief Provides information about a ListItem drag event.
39 *39 *
@@ -185,7 +185,7 @@
185 * \qmltype ViewItems185 * \qmltype ViewItems
186 * \instantiates UCViewItemsAttached186 * \instantiates UCViewItemsAttached
187 * \inqmlmodule Ubuntu.Components 1.2187 * \inqmlmodule Ubuntu.Components 1.2
188 * \ingroup unstable-ubuntu-listitems188 * \ingroup ubuntu-listitem
189 * \since Ubuntu.Components 1.2189 * \since Ubuntu.Components 1.2
190 * \brief A set of properties attached to the ListItem's parent item or ListView.190 * \brief A set of properties attached to the ListItem's parent item or ListView.
191 *191 *
192192
=== modified file 'modules/Ubuntu/Components/qmldir'
--- modules/Ubuntu/Components/qmldir 2015-02-18 12:37:47 +0000
+++ modules/Ubuntu/Components/qmldir 2015-03-03 15:01:13 +0000
@@ -110,3 +110,4 @@
110110
111#version 1.2111#version 1.2
112MainView 1.2 MainView12.qml112MainView 1.2 MainView12.qml
113Captions 1.2 Captions.qml
113114
=== modified file 'modules/Ubuntu/Layouts/plugin/ulitemlayout.cpp'
--- modules/Ubuntu/Layouts/plugin/ulitemlayout.cpp 2014-04-20 19:25:12 +0000
+++ modules/Ubuntu/Layouts/plugin/ulitemlayout.cpp 2015-03-03 15:01:13 +0000
@@ -34,7 +34,7 @@
34 *34 *
35 * Example:35 * Example:
36 * \qml36 * \qml
37 * import QtQuick 2.037 * import QtQuick 2.4
38 * import Ubuntu.Layouts 0.138 * import Ubuntu.Layouts 0.1
39 *39 *
40 * Layouts {40 * Layouts {
4141
=== modified file 'modules/Ubuntu/PerformanceMetrics/BarGraph.qml'
--- modules/Ubuntu/PerformanceMetrics/BarGraph.qml 2014-04-23 08:50:20 +0000
+++ modules/Ubuntu/PerformanceMetrics/BarGraph.qml 2015-03-03 15:01:13 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.2
19import Ubuntu.PerformanceMetrics 1.0 as PerformanceMetrics19import Ubuntu.PerformanceMetrics 1.0 as PerformanceMetrics
2020
21Item {21Item {
2222
=== modified file 'modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml'
--- modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml 2014-04-20 19:25:12 +0000
+++ modules/Ubuntu/PerformanceMetrics/PerformanceOverlay.qml 2015-03-03 15:01:13 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.PerformanceMetrics 1.0 as PerformanceMetrics18import Ubuntu.PerformanceMetrics 1.0 as PerformanceMetrics
1919
20/*!20/*!
2121
=== modified file 'modules/Ubuntu/Test/UbuntuTestCase.qml'
--- modules/Ubuntu/Test/UbuntuTestCase.qml 2015-02-19 13:00:38 +0000
+++ modules/Ubuntu/Test/UbuntuTestCase.qml 2015-03-03 15:01:13 +0000
@@ -14,9 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.2
2020
21/*!21/*!
22 \qmltype UbuntuTestCase22 \qmltype UbuntuTestCase
2323
=== modified file 'tests/resources/listitems/ListItemDragging.qml'
--- tests/resources/listitems/ListItemDragging.qml 2015-02-25 16:05:18 +0000
+++ tests/resources/listitems/ListItemDragging.qml 2015-03-03 15:01:13 +0000
@@ -16,6 +16,7 @@
1616
17import QtQuick 2.417import QtQuick 2.4
18import Ubuntu.Components 1.218import Ubuntu.Components 1.2
19import QtQuick.Layouts 1.1
19import Ubuntu.Components.ListItems 1.020import Ubuntu.Components.ListItems 1.0
20import QtQml.Models 2.121import QtQml.Models 2.1
2122
@@ -133,19 +134,22 @@
133 actions: contextualActions134 actions: contextualActions
134 }135 }
135136
136 Rectangle {137 RowLayout {
137 anchors.fill: parent138 anchors {
138 color: item.dragging ? UbuntuColors.blue : "#69aa69"139 fill: parent
139 }140 margins: units.gu(0.5)
140 Column {141 leftMargin: anchors.rightMargin
141 anchors.fill: parent142 rightMargin: units.gu(2)
142 Label {143 }
143 text: label + " from index #" + index144 Captions {
144 anchors.left: parent.left145 id: captions
145 }146 title.text: label
146 Label {147 subtitle.text: "from index #" + index
147 text: "Click to turn LTR<->RTL"148 }
148 anchors.right: parent.right149 Captions {
150 captionStyle: Ubuntu.Summary
151 title.text: "LTR"
152 subtitle.text: "RTL"
149 }153 }
150 }154 }
151155
152156
=== modified file 'tests/resources/listitems/ListItemTest.qml'
--- tests/resources/listitems/ListItemTest.qml 2015-02-19 11:56:56 +0000
+++ tests/resources/listitems/ListItemTest.qml 2015-03-03 15:01:13 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2014 Canonical Ltd.2 * Copyright 2014-2015 Canonical Ltd.
3 *3 *
4 * This program is free software; you can redistribute it and/or modify4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by5 * it under the terms of the GNU Lesser General Public License as published by
@@ -14,9 +14,10 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.4
18import Ubuntu.Components 1.218import Ubuntu.Components 1.2
19import Ubuntu.Components.Styles 1.219import Ubuntu.Components.Styles 1.2
20import QtQuick.Layouts 1.1
2021
21MainView {22MainView {
22 id: main23 id: main
@@ -110,13 +111,23 @@
110 units.gridUnit += 2;111 units.gridUnit += 2;
111 }112 }
112 onPressAndHold: print("pressAndHold", objectName)113 onPressAndHold: print("pressAndHold", objectName)
113 Label {114 RowLayout {
114 anchors.fill: parent115 anchors {
115 text: units.gridUnit + "PX/unit"116 fill: parent
116 }117 margins: units.gu(0.5)
117 Button {118 leftMargin: anchors.rightMargin
118 text: "Press me"119 rightMargin: units.gu(2)
119 anchors.centerIn: parent120 }
121 Label {
122 anchors.fill: parent
123 text: units.gridUnit + "PX/unit"
124 Layout.preferredWidth: paintedWidth
125 }
126 Button {
127 text: "Press me"
128 anchors.centerIn: parent
129 onClicked: units.gridUnit -= 2
130 }
120 }131 }
121132
122 leadingActions: ListItemActions {133 leadingActions: ListItemActions {
@@ -184,15 +195,20 @@
184 trailingActions: trailing195 trailingActions: trailing
185 contentItem.anchors.margins: units.gu(1)196 contentItem.anchors.margins: units.gu(1)
186197
187 Label {198 RowLayout {
188 anchors.fill: parent199 anchors {
189 verticalAlignment: Text.AlignVCenter200 fill: parent
190 text: "This is one Label split in two lines.\n" +201 margins: units.gu(0.5)
191 "The second line - item #" + modelData202 leftMargin: anchors.rightMargin
192 }203 rightMargin: units.gu(2)
193 Button {204 }
194 text: "Pressme..."205 Captions {
195 anchors.centerIn: parent206 title.text: "This is one Label split in two lines.\n" +
207 "The second line - item #" + modelData
208 }
209 Button {
210 text: "Pressme..."
211 }
196 }212 }
197213
198 states: State {214 states: State {
@@ -238,6 +254,10 @@
238 trailingActions: ListItemActions {254 trailingActions: ListItemActions {
239 actions: trailingArray255 actions: trailingArray
240 }256 }
257 contentItem.anchors {
258 leftMargin: units.gu(2)
259 rightMargin: units.gu(2)
260 }
241261
242 Label {262 Label {
243 text: modelData + " Flickable item"263 text: modelData + " Flickable item"
244264
=== modified file 'tests/unit/tst_performance/ListItemList.qml'
--- tests/unit/tst_performance/ListItemList.qml 2014-09-15 17:33:35 +0000
+++ tests/unit/tst_performance/ListItemList.qml 2015-03-03 15:01:13 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2014 Canonical Ltd.2 * Copyright 2015 Canonical Ltd.
3 *3 *
4 * This program is free software; you can redistribute it and/or modify4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by5 * it under the terms of the GNU Lesser General Public License as published by
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.3
18import Ubuntu.Components 1.218import Ubuntu.Components 1.2
1919
20Column {20Column {
2121
=== added file 'tests/unit/tst_performance/ListOfCaptions.qml'
--- tests/unit/tst_performance/ListOfCaptions.qml 1970-01-01 00:00:00 +0000
+++ tests/unit/tst_performance/ListOfCaptions.qml 2015-03-03 15:01:13 +0000
@@ -0,0 +1,35 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17import QtQuick 2.3
18import Ubuntu.Components 1.2
19import QtQuick.Layouts 1.1
20
21Column {
22 width: 800
23 height: 600
24 Repeater {
25 id: repeater
26 model: 5000
27 ListItem {
28 RowLayout {
29 anchors.fill: parent
30 Captions {
31 }
32 }
33 }
34 }
35}
036
=== modified file 'tests/unit/tst_performance/tst_performance.cpp'
--- tests/unit/tst_performance/tst_performance.cpp 2015-02-12 07:31:08 +0000
+++ tests/unit/tst_performance/tst_performance.cpp 2015-03-03 15:01:13 +0000
@@ -80,6 +80,7 @@
80 QTest::newRow("list with new ListItem") << "ListItemList.qml" << QUrl();80 QTest::newRow("list with new ListItem") << "ListItemList.qml" << QUrl();
81 QTest::newRow("list with new ListItem with actions") << "ListItemWithActionsList.qml" << QUrl();81 QTest::newRow("list with new ListItem with actions") << "ListItemWithActionsList.qml" << QUrl();
82 QTest::newRow("list with new ListItem with inline actions") << "ListItemWithInlineActionsList.qml" << QUrl();82 QTest::newRow("list with new ListItem with inline actions") << "ListItemWithInlineActionsList.qml" << QUrl();
83 QTest::newRow("list with Captions, preset: caption") << "ListOfCaptions.qml" << QUrl();
83 QTest::newRow("list with ListItems.Empty (equivalent to the new ListItem") << "ListItemsEmptyList.qml" << QUrl();84 QTest::newRow("list with ListItems.Empty (equivalent to the new ListItem") << "ListItemsEmptyList.qml" << QUrl();
84 // disable this test as it takes >20 seconds. Kept still for measurements to be done during development85 // disable this test as it takes >20 seconds. Kept still for measurements to be done during development
85// QTest::newRow("list with ListItems.Base (one icon, one label and one chevron)") << "ListItemsBaseList.qml" << QUrl();86// QTest::newRow("list with ListItems.Base (one icon, one label and one chevron)") << "ListItemsBaseList.qml" << QUrl();
8687
=== added file 'tests/unit_x11/tst_components/tst_captions.qml'
--- tests/unit_x11/tst_components/tst_captions.qml 1970-01-01 00:00:00 +0000
+++ tests/unit_x11/tst_components/tst_captions.qml 2015-03-03 15:01:13 +0000
@@ -0,0 +1,86 @@
1/*
2 * Copyright 2015 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17import QtQuick 2.4
18import QtTest 1.0
19import Ubuntu.Test 1.0
20import Ubuntu.Components 1.2
21import QtQuick.Layouts 1.1
22
23Item {
24 width: units.gu(40)
25 height: units.gu(71)
26
27 Column {
28 width: parent.width
29 ListItem {
30 RowLayout {
31 anchors.fill: parent
32 Captions {
33 id: defaults
34 }
35 }
36 }
37 ListItem {
38 RowLayout {
39 anchors.fill: parent
40 Captions {
41 id: testCaptions
42 }
43 }
44 }
45 }
46
47 UbuntuTestCase {
48 name: "CaptionsAPI"
49 when: windowShown
50
51 function test_0_defaults() {
52 compare(defaults.captionStyle, Ubuntu.TitleCaptionStyle, "Default preset is 'titles'");
53 compare(defaults.height, 0, "default height is 0");
54 compare(defaults.width, 0, "default width is 0")
55 compare(defaults.spacing, units.gu(0.5), "default spacing failure");
56 compare(defaults.visible, false, "default should be invisible")
57 compare(defaults.Layout.alignment, Qt.AlignVCenter | Qt.AlignLeft, "center vertically and left horizontally by default");
58 }
59
60 function test_captions_data() {
61 return [
62 {tag: "caption, title.fontSize", captionStyle: Ubuntu.TitleCaptionStyle, label: "title", property: "fontSize", value: "medium"},
63 {tag: "caption, title.horizontalAlignment", captionStyle: Ubuntu.TitleCaptionStyle, label: "title", property: "horizontalAlignment", value: Text.AlignLeft},
64 {tag: "caption, title.elide", captionStyle: Ubuntu.TitleCaptionStyle, label: "title", property: "elide", value: Text.ElideRight},
65 {tag: "caption, subtitle.fontSize", captionStyle: Ubuntu.TitleCaptionStyle, label: "subtitle", property: "fontSize", value: "small"},
66 {tag: "caption, subtitle.horizontalAlignment", captionStyle: Ubuntu.TitleCaptionStyle, label: "subtitle", property: "horizontalAlignment", value: Text.AlignLeft},
67 {tag: "caption, subtitle.maximumLineCount", captionStyle: Ubuntu.TitleCaptionStyle, label: "subtitle", property: "maximumLineCount", value: 2},
68 {tag: "caption, subtitle.wrapMode", captionStyle: Ubuntu.TitleCaptionStyle, label: "subtitle", property: "wrapMode", value: Text.Wrap},
69 {tag: "caption, subtitle.elide", captionStyle: Ubuntu.TitleCaptionStyle, label: "subtitle", property: "elide", value: Text.ElideRight},
70
71 {tag: "summary, title.fontSize", captionStyle: Ubuntu.SummaryCaptionStyle, label: "title", property: "fontSize", value: "small"},
72 {tag: "summary, title.horizontalAlignment", captionStyle: Ubuntu.SummaryCaptionStyle, label: "title", property: "horizontalAlignment", value: Text.AlignRight},
73 {tag: "summary, title.elide", captionStyle: Ubuntu.SummaryCaptionStyle, label: "title", property: "elide", value: Text.ElideNone},
74 {tag: "summary, subtitle.fontSize", captionStyle: Ubuntu.SummaryCaptionStyle, label: "subtitle", property: "fontSize", value: "small"},
75 {tag: "summary, subtitle.horizontalAlignment", captionStyle: Ubuntu.SummaryCaptionStyle, label: "subtitle", property: "horizontalAlignment", value: Text.AlignRight},
76 {tag: "summary, subtitle.maximumLineCount", captionStyle: Ubuntu.SummaryCaptionStyle, label: "subtitle", property: "maximumLineCount", value: 1},
77 {tag: "summary, subtitle.wrapMode", captionStyle: Ubuntu.SummaryCaptionStyle, label: "subtitle", property: "wrapMode", value: Text.NoWrap},
78 {tag: "summary, subtitle.elide", captionStyle: Ubuntu.SummaryCaptionStyle, label: "subtitle", property: "elide", value: Text.ElideNone},
79 ];
80 }
81 function test_captions(data) {
82 testCaptions.captionStyle = data.captionStyle;
83 compare(testCaptions[data.label][data.property], data.value, data.tag + " values differ");
84 }
85 }
86}

Subscribers

People subscribed via source and target branches