Merge lp:~aacid/unity8/use_sdk_13 into lp:unity8

Proposed by Albert Astals Cid
Status: Superseded
Proposed branch: lp:~aacid/unity8/use_sdk_13
Merge into: lp:unity8
Diff against target: 4481 lines (+537/-419)
246 files modified
plugins/Dash/CardAttributes.qml (+2/-2)
plugins/Dash/CardCreator.js (+5/-5)
plugins/Dash/ScopeStyle.qml (+1/-1)
qml/Components/Background.qml (+1/-1)
qml/Components/BaseCarouselDelegate.qml (+1/-1)
qml/Components/Carousel.qml (+1/-1)
qml/Components/DelayedLockscreen.qml (+1/-1)
qml/Components/Dialogs.qml (+1/-1)
qml/Components/DragHandle.qml (+1/-1)
qml/Components/DraggingArea.qml (+1/-1)
qml/Components/EdgeDragEvaluator.qml (+1/-1)
qml/Components/Header.qml (+2/-2)
qml/Components/InputMethod.qml (+1/-1)
qml/Components/LazyImage.qml (+1/-1)
qml/Components/ListItems/Header.qml (+1/-1)
qml/Components/Lockscreen.qml (+2/-2)
qml/Components/PassphraseLockscreen.qml (+1/-1)
qml/Components/PinLockscreen.qml (+2/-2)
qml/Components/PinPadButton.qml (+1/-1)
qml/Components/Rating.qml (+1/-1)
qml/Components/RatingStyle.qml (+1/-1)
qml/Components/ResponsiveGridView.qml (+1/-1)
qml/Components/ResponsiveVerticalJournal.qml (+1/-1)
qml/Components/ScrollCalculator.qml (+1/-1)
qml/Components/ShellDialog.qml (+2/-2)
qml/Components/UbuntuShapeForItem.qml (+1/-1)
qml/Components/WindowControlButtons.qml (+1/-1)
qml/Components/ZoomableImage.qml (+1/-1)
qml/Dash/CardCarousel.qml (+1/-1)
qml/Dash/CardHorizontalList.qml (+1/-1)
qml/Dash/CardVerticalJournal.qml (+1/-1)
qml/Dash/Dash.qml (+1/-1)
qml/Dash/DashApplication.qml (+3/-2)
qml/Dash/DashCategoryBase.qml (+1/-1)
qml/Dash/DashContent.qml (+1/-1)
qml/Dash/DashContentTabBarStyle.qml (+1/-1)
qml/Dash/DashNavigation.qml (+3/-3)
qml/Dash/DashNavigationButton.qml (+3/-3)
qml/Dash/DashNavigationList.qml (+3/-3)
qml/Dash/GenericScopeView.qml (+4/-4)
qml/Dash/PageHeader.qml (+8/-11)
qml/Dash/PreviewListView.qml (+1/-1)
qml/Dash/Previews/Preview.qml (+1/-1)
qml/Dash/Previews/PreviewActionButton.qml (+1/-1)
qml/Dash/Previews/PreviewActionCombo.qml (+3/-3)
qml/Dash/Previews/PreviewActions.qml (+3/-3)
qml/Dash/Previews/PreviewAudioPlayback.qml (+5/-5)
qml/Dash/Previews/PreviewComment.qml (+1/-1)
qml/Dash/Previews/PreviewCommentInput.qml (+1/-1)
qml/Dash/Previews/PreviewExpandable.qml (+4/-4)
qml/Dash/Previews/PreviewHeader.qml (+3/-3)
qml/Dash/Previews/PreviewImageGallery.qml (+1/-1)
qml/Dash/Previews/PreviewOverlay.qml (+3/-3)
qml/Dash/Previews/PreviewPayments.qml (+1/-1)
qml/Dash/Previews/PreviewProgress.qml (+1/-1)
qml/Dash/Previews/PreviewRatingDisplay.qml (+3/-3)
qml/Dash/Previews/PreviewRatingEdit.qml (+2/-2)
qml/Dash/Previews/PreviewRatingInput.qml (+5/-5)
qml/Dash/Previews/PreviewRatingSingleDisplay.qml (+1/-1)
qml/Dash/Previews/PreviewTable.qml (+4/-4)
qml/Dash/Previews/PreviewTextSummary.qml (+4/-4)
qml/Dash/Previews/PreviewVideoPlayback.qml (+1/-1)
qml/Dash/Previews/PreviewZoomableImage.qml (+1/-1)
qml/Dash/PullToRefreshScopeStyle.qml (+2/-2)
qml/Dash/ScopeSettings/ScopeSetting.qml (+1/-1)
qml/Dash/ScopeSettings/ScopeSettingBoolean.qml (+4/-4)
qml/Dash/ScopeSettings/ScopeSettingList.qml (+2/-2)
qml/Dash/ScopeSettings/ScopeSettingString.qml (+5/-5)
qml/Dash/ScopeSettingsPage.qml (+1/-1)
qml/Dash/ScopesListCategory.qml (+3/-3)
qml/Dash/ScopesListCategoryItem.qml (+1/-1)
qml/Greeter/Clock.qml (+1/-1)
qml/Greeter/CoverPage.qml (+1/-1)
qml/Greeter/Greeter.qml (+1/-1)
qml/Greeter/Infographics.qml (+1/-1)
qml/Greeter/LoginList.qml (+1/-1)
qml/Greeter/NarrowView.qml (+1/-1)
qml/Greeter/ObjectPositioner.qml (+1/-1)
qml/Greeter/WideView.qml (+1/-1)
qml/Launcher/FoldingLauncherDelegate.qml (+1/-1)
qml/Launcher/Launcher.qml (+1/-1)
qml/Launcher/LauncherDelegate.qml (+1/-1)
qml/Launcher/LauncherPanel.qml (+3/-3)
qml/Notifications/Notification.qml (+6/-6)
qml/Notifications/NotificationMenuItemFactory.qml (+1/-1)
qml/Notifications/Notifications.qml (+1/-1)
qml/Notifications/OptionToggle.qml (+5/-5)
qml/Notifications/ShapedIcon.qml (+2/-2)
qml/Notifications/SwipeToAct.qml (+1/-1)
qml/Panel/ActiveCallHint.qml (+1/-1)
qml/Panel/Handle.qml (+1/-1)
qml/Panel/IndicatorItem.qml (+1/-1)
qml/Panel/IndicatorItemRow.qml (+1/-1)
qml/Panel/IndicatorPage.qml (+1/-1)
qml/Panel/Indicators/MenuItemFactory.qml (+6/-6)
qml/Panel/Indicators/MessageMenuItemFactory.qml (+1/-1)
qml/Panel/Indicators/ModemInfoItem.qml (+5/-5)
qml/Panel/Indicators/RoamingIndication.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorRepresentation.qml (+2/-2)
qml/Panel/Indicators/client/IndicatorsClient.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorsList.qml (+2/-2)
qml/Panel/Indicators/client/IndicatorsTree.qml (+1/-1)
qml/Panel/IndicatorsBar.qml (+1/-1)
qml/Panel/IndicatorsMenu.qml (+1/-1)
qml/Panel/MenuContent.qml (+1/-1)
qml/Panel/Panel.qml (+1/-1)
qml/Rotation/RotationStates.qml (+1/-1)
qml/ScopeTool.qml (+2/-2)
qml/Shell.qml (+3/-3)
qml/Stages/Animations/SwipeFromBottomAnimation.qml (+1/-1)
qml/Stages/ApplicationWindow.qml (+1/-1)
qml/Stages/DecoratedWindow.qml (+1/-1)
qml/Stages/DesktopStage.qml (+1/-1)
qml/Stages/MainViewStyle.qml (+2/-3)
qml/Stages/PageHeadStyle.qml (+2/-2)
qml/Stages/PhoneStage.qml (+1/-1)
qml/Stages/ShimStage.qml (+1/-1)
qml/Stages/Splash.qml (+10/-10)
qml/Stages/SpreadDelegate.qml (+1/-1)
qml/Stages/SurfaceContainer.qml (+1/-1)
qml/Stages/TabletStage.qml (+1/-1)
qml/Stages/TransformedSpreadDelegate.qml (+1/-1)
qml/Stages/TransformedTabletSpreadDelegate.qml (+1/-1)
qml/Stages/WindowDecoration.qml (+1/-1)
qml/Stages/WindowMoveResizeArea.qml (+1/-1)
qml/Tutorial/Arrow.qml (+1/-1)
qml/Tutorial/Slider.qml (+1/-1)
qml/Tutorial/Tick.qml (+1/-1)
qml/Tutorial/Tutorial.qml (+1/-1)
qml/Tutorial/TutorialBottom.qml (+1/-1)
qml/Tutorial/TutorialBottomFinish.qml (+1/-1)
qml/Tutorial/TutorialContent.qml (+1/-1)
qml/Tutorial/TutorialLeft.qml (+1/-1)
qml/Tutorial/TutorialLeftFinish.qml (+1/-1)
qml/Tutorial/TutorialPage.qml (+1/-1)
qml/Tutorial/TutorialRight.qml (+1/-1)
qml/Wizard/CheckableSetting.qml (+4/-4)
qml/Wizard/Page.qml (+3/-3)
qml/Wizard/Pages.qml (+1/-1)
qml/Wizard/Pages/10-welcome.qml (+2/-2)
qml/Wizard/Pages/20-sim.qml (+1/-1)
qml/Wizard/Pages/30-passwd-type.qml (+6/-6)
qml/Wizard/Pages/40-wifi.qml (+2/-2)
qml/Wizard/Pages/50-location.qml (+3/-3)
qml/Wizard/Pages/60-reporting.qml (+1/-1)
qml/Wizard/Pages/80-finished.qml (+1/-1)
qml/Wizard/Pages/here-terms.qml (+3/-3)
qml/Wizard/Pages/passwd-confirm.qml (+1/-1)
qml/Wizard/Pages/passwd-set.qml (+1/-1)
qml/Wizard/StackButton.qml (+3/-3)
qml/Wizard/Wizard.qml (+1/-1)
tests/CMakeLists.txt (+1/-0)
tests/plugins/Dash/cardcreator/1.res (+1/-1)
tests/plugins/Dash/cardcreator/2.res (+2/-2)
tests/plugins/Dash/cardcreator/3.res (+2/-2)
tests/plugins/Dash/cardcreator/4.res (+2/-2)
tests/plugins/Dash/cardcreator/5.res (+2/-2)
tests/plugins/Dash/cardcreator/6.res (+3/-3)
tests/plugins/Dash/cardcreator/7.res (+3/-3)
tests/plugins/Dash/cardcreator/8.res (+1/-1)
tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml (+1/-1)
tests/plugins/Dash/tst_ScopeStyle.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml (+1/-1)
tests/qmltests/Components/tst_Dialogs.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml (+1/-1)
tests/qmltests/Components/tst_LazyImage.qml (+3/-3)
tests/qmltests/Components/tst_LazyImage/ImageControls.qml (+1/-1)
tests/qmltests/Components/tst_Lockscreen.qml (+1/-1)
tests/qmltests/Components/tst_Rating.qml (+3/-3)
tests/qmltests/Components/tst_ResponsiveGridView.qml (+2/-2)
tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml (+2/-2)
tests/qmltests/Components/tst_Showable.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_Preview.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewActions.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewComment.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewPayments.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewProgress.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewTable.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml (+1/-1)
tests/qmltests/Dash/tst_Card.qml (+3/-3)
tests/qmltests/Dash/tst_CardBenchmark.qml (+1/-1)
tests/qmltests/Dash/tst_CardTool.qml (+1/-1)
tests/qmltests/Dash/tst_Dash.qml (+2/-2)
tests/qmltests/Dash/tst_DashContent.qml (+1/-1)
tests/qmltests/Dash/tst_GenericScopeView.qml (+4/-4)
tests/qmltests/Dash/tst_PageHeader.qml (+3/-3)
tests/qmltests/Dash/tst_PreviewListView.qml (+3/-3)
tests/qmltests/Greeter/TestView.qml (+1/-1)
tests/qmltests/Greeter/tst_Clock.qml (+1/-1)
tests/qmltests/Greeter/tst_Greeter.qml (+1/-1)
tests/qmltests/Greeter/tst_Infographics.qml (+1/-1)
tests/qmltests/Greeter/tst_NarrowView.qml (+1/-1)
tests/qmltests/Greeter/tst_WideView.qml (+1/-1)
tests/qmltests/Launcher/tst_Launcher.qml (+1/-1)
tests/qmltests/Notifications/tst_Notifications.qml (+1/-1)
tests/qmltests/Notifications/tst_OptionToggle.qml (+1/-1)
tests/qmltests/Notifications/tst_SwipeToAct.qml (+1/-1)
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml (+1/-1)
tests/qmltests/Panel/IndicatorTest.qml (+1/-1)
tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorItem.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorItemRow.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorsBar.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorsMenu.qml (+1/-1)
tests/qmltests/Panel/tst_Panel.qml (+1/-1)
tests/qmltests/Stages/ApplicationCheckBox.qml (+1/-1)
tests/qmltests/Stages/RecursingChildSessionControl.qml (+1/-1)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+2/-2)
tests/qmltests/Stages/tst_DesktopStage.qml (+2/-2)
tests/qmltests/Stages/tst_PhoneStage.qml (+1/-1)
tests/qmltests/Stages/tst_SessionContainer.qml (+1/-1)
tests/qmltests/Stages/tst_Splash.qml (+1/-1)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+2/-2)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+1/-1)
tests/qmltests/Stages/tst_TabletStage.qml (+2/-2)
tests/qmltests/Stages/tst_WindowMoveResizeArea.qml (+2/-2)
tests/qmltests/Tutorial/tst_Tutorial.qml (+1/-1)
tests/qmltests/Wizard/tst_Wizard.qml (+2/-2)
tests/qmltests/tst_OrientedShell.qml (+2/-2)
tests/qmltests/tst_Shell.qml (+2/-2)
tests/qmltests/tst_ShellWithPin.qml (+1/-1)
tests/sdk/CMakeLists.txt (+6/-0)
tests/sdk/check_sdk.py (+114/-0)
tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml (+1/-1)
tests/utils/modules/Unity/Test/UnityTestCase.qml (+1/-1)
To merge this branch: bzr merge lp:~aacid/unity8/use_sdk_13
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Mirco Müller (community) Abstain
Andrea Cimitan (community) Needs Fixing
Review via email: mp+264392@code.launchpad.net

This proposal has been superseded by a proposal from 2015-07-28.

Commit message

Use SDK 1.3 across all files

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * Did you make sure that your branch does not contain spurious tags?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/a

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
lp:~aacid/unity8/use_sdk_13 updated
1818. By Albert Astals Cid

Make this property readonly

1819. By Albert Astals Cid

Add test to check the sdk versions are aligned

1820. By Albert Astals Cid

Give the test a proper name

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Mirco Müller (macslow) wrote :

Code looks ok.

* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes.

Ran on mako and everything looked ok. My krillin is dead atm.

Checked the SDK-test by injecting a wrong import using 1.2 and it was correctly caught by the script.

* Did CI run pass? If not, please explain why.
No, because multiple autopilot errors occurred due to unity8 process probably crashing -> "psutil.NoSuchProcess: no process found with pid..."

ERROR: unity8.greeter.tests.test_args.GreeterArgsTest.test_shell_mode
ERROR: unity8.shell.tests.test_helpers.DashHelperTestCase.test_open_scope_to_the_right(Nexus 4)
ERROR: unity8.indicators.tests.test_display_indicator.DisplayIndicatorTestCase.test_indicator_icon_must_not_be_visible_after_rotation_unlocked(Nexus 4)
ERROR: unity8.shell.tests.test_helpers.GenericScopeViewHelperTestCase.test_open_preview(Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(Low,Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(Medium,Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(High,Nexus 4)
ERROR: unity8.shell.tests.test_helpers.DashHelperTestCase.test_open_applications_scope(Nexus 4)

* Did you make sure that the branch does not contain spurious tags?
Yes, all clean

review: Approve
lp:~aacid/unity8/use_sdk_13 updated
1821. By Albert Astals Cid

Merge lp:unity8

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1822. By Albert Astals Cid

Merge lp:unity8

1823. By Albert Astals Cid

Remove unexisting property

Revision history for this message
Andrea Cimitan (cimi) wrote :

Needs some testing, just found out there is a weird static line on top of the dash, might be page header styling or so...

review: Needs Fixing
lp:~aacid/unity8/use_sdk_13 updated
1824. By Albert Astals Cid

workaround horizontal line in the dash

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Mirco Müller (macslow) wrote :

I just test-ran r1824 and r1823 of this branch on the mako and can verify that the visual issue in the dash is gone.

review: Abstain
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1825. By Albert Astals Cid

Merge lp:unity8

1826. By Albert Astals Cid

Fix versions after merge

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1827. By Albert Astals Cid

1.3 headers are smaller

1828. By Albert Astals Cid

Actaully let the SDK component decide the size

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Ok, looks good to me now after the header changes.

Once the current silo lands this will need a merge for sure...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1829. By Albert Astals Cid

header height changed

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
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 'plugins/Dash/CardAttributes.qml'
--- plugins/Dash/CardAttributes.qml 2015-02-12 16:28:36 +0000
+++ plugins/Dash/CardAttributes.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.217import QtQuick 2.2
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
2020
21GridLayout {21GridLayout {
22 id: grid22 id: grid
@@ -27,7 +27,7 @@
27 columns: 2 + repeater.count % 227 columns: 2 + repeater.count % 2
28 rowSpacing: units.gu(.5)28 rowSpacing: units.gu(.5)
29 property alias model: repeater.model29 property alias model: repeater.model
30 property color color: Theme.palette.normal.baseText30 property color color: theme.palette.normal.baseText
31 property real fontScale: 1.031 property real fontScale: 1.0
3232
33 Repeater {33 Repeater {
3434
=== modified file 'plugins/Dash/CardCreator.js'
--- plugins/Dash/CardCreator.js 2015-07-02 16:09:39 +0000
+++ plugins/Dash/CardCreator.js 2015-07-22 14:32:16 +0000
@@ -480,20 +480,20 @@
480 }480 }
481 }481 }
482482
483 var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';483 var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
484484
485 var hasTitleContainer = hasTitle && (hasEmblem || (hasMascot && (hasSubtitle || hasAttributes)));485 var hasTitleContainer = hasTitle && (hasEmblem || (hasMascot && (hasSubtitle || hasAttributes)));
486 var titleSubtitleCode = '';486 var titleSubtitleCode = '';
487 if (hasTitle) {487 if (hasTitle) {
488 var titleColor;488 var titleColor;
489 if (headerAsOverlay) {489 if (headerAsOverlay) {
490 titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';490 titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
491 } else if (hasSummary) {491 } else if (hasSummary) {
492 titleColor = 'summary.color';492 titleColor = 'summary.color';
493 } else if (hasBackground) {493 } else if (hasBackground) {
494 titleColor = summaryColorWithBackground;494 titleColor = summaryColorWithBackground;
495 } else {495 } else {
496 titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';496 titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
497 }497 }
498498
499 var titleAnchors;499 var titleAnchors;
@@ -649,7 +649,7 @@
649 if (hasBackground) {649 if (hasBackground) {
650 summaryColor = summaryColorWithBackground;650 summaryColor = summaryColorWithBackground;
651 } else {651 } else {
652 summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';652 summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
653 }653 }
654654
655 var summaryTopMargin = (hasMascot || hasSubtitle || hasAttributes ? 'anchors.margins' : '0');655 var summaryTopMargin = (hasMascot || hasSubtitle || hasAttributes ? 'anchors.margins' : '0');
@@ -698,7 +698,7 @@
698698
699function createCardComponent(parent, template, components) {699function createCardComponent(parent, template, components) {
700 var imports = 'import QtQuick 2.2; \n\700 var imports = 'import QtQuick 2.2; \n\
701 import Ubuntu.Components 1.1; \n\701 import Ubuntu.Components 1.3; \n\
702 import Ubuntu.Settings.Components 0.1; \n\702 import Ubuntu.Settings.Components 0.1; \n\
703 import Dash 0.1;\n\703 import Dash 0.1;\n\
704 import Utils 0.1;\n';704 import Utils 0.1;\n';
705705
=== modified file 'plugins/Dash/ScopeStyle.qml'
--- plugins/Dash/ScopeStyle.qml 2014-11-20 11:44:44 +0000
+++ plugins/Dash/ScopeStyle.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.217import QtQuick 2.2
18import Utils 0.118import Utils 0.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
2020
21/*! \brief Helper for processing scope customization options.21/*! \brief Helper for processing scope customization options.
2222
2323
=== modified file 'qml/Components/Background.qml'
--- qml/Components/Background.qml 2014-08-29 08:47:21 +0000
+++ qml/Components/Background.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Utils 0.1 as Utils19import Utils 0.1 as Utils
2020
21Loader {21Loader {
2222
=== modified file 'qml/Components/BaseCarouselDelegate.qml'
--- qml/Components/BaseCarouselDelegate.qml 2014-07-08 17:49:18 +0000
+++ qml/Components/BaseCarouselDelegate.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20/*!20/*!
21 \brief Base delegate for use with the Carousel component21 \brief Base delegate for use with the Carousel component
2222
=== modified file 'qml/Components/Carousel.qml'
--- qml/Components/Carousel.qml 2015-01-14 09:51:39 +0000
+++ qml/Components/Carousel.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "carousel.js" as CarouselJS19import "carousel.js" as CarouselJS
2020
21/*! The Carousel component presents the items of a model in a carousel view. It's similar to a21/*! The Carousel component presents the items of a model in a carousel view. It's similar to a
2222
=== modified file 'qml/Components/DelayedLockscreen.qml'
--- qml/Components/DelayedLockscreen.qml 2015-02-12 14:48:06 +0000
+++ qml/Components/DelayedLockscreen.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
2222
=== modified file 'qml/Components/Dialogs.qml'
--- qml/Components/Dialogs.qml 2015-03-26 15:24:04 +0000
+++ qml/Components/Dialogs.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
1818
19import Unity.Application 0.119import Unity.Application 0.1
20import Unity.Session 0.120import Unity.Session 0.1
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import LightDM 0.1 as LightDM22import LightDM 0.1 as LightDM
2323
24Item {24Item {
2525
=== modified file 'qml/Components/DragHandle.qml'
--- qml/Components/DragHandle.qml 2015-04-10 21:16:37 +0000
+++ qml/Components/DragHandle.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
2020
21/*21/*
2222
=== modified file 'qml/Components/DraggingArea.qml'
--- qml/Components/DraggingArea.qml 2014-07-11 09:22:59 +0000
+++ qml/Components/DraggingArea.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20MouseArea {20MouseArea {
21 id: draggingArea21 id: draggingArea
2222
=== modified file 'qml/Components/EdgeDragEvaluator.qml'
--- qml/Components/EdgeDragEvaluator.qml 2015-04-27 15:30:18 +0000
+++ qml/Components/EdgeDragEvaluator.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
2020
21/*21/*
2222
=== modified file 'qml/Components/Header.qml'
--- qml/Components/Header.qml 2014-08-01 16:13:53 +0000
+++ qml/Components/Header.qml 2015-07-22 14:32:16 +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 Ubuntu.Components 1.117import Ubuntu.Components 1.3
18import Ubuntu.Components.Themes.Ambiance 1.118import Ubuntu.Components.Themes.Ambiance 1.3
1919
20PageHeadStyle {20PageHeadStyle {
21 id: root21 id: root
2222
=== modified file 'qml/Components/InputMethod.qml'
--- qml/Components/InputMethod.qml 2014-10-01 13:20:32 +0000
+++ qml/Components/InputMethod.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Unity.Application 0.118import Unity.Application 0.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Gestures 0.120import Ubuntu.Gestures 0.1
2121
22Item {22Item {
2323
=== modified file 'qml/Components/LazyImage.qml'
--- qml/Components/LazyImage.qml 2014-09-29 20:55:54 +0000
+++ qml/Components/LazyImage.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18 */18 */
1919
20import QtQuick 2.020import QtQuick 2.0
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
2222
23Item {23Item {
24 id: root24 id: root
2525
=== modified file 'qml/Components/ListItems/Header.qml'
--- qml/Components/ListItems/Header.qml 2014-07-16 16:30:15 +0000
+++ qml/Components/ListItems/Header.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21Item {21Item {
22 property alias text: label.text22 property alias text: label.text
2323
=== modified file 'qml/Components/Lockscreen.qml'
--- qml/Components/Lockscreen.qml 2015-03-18 17:27:30 +0000
+++ qml/Components/Lockscreen.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.018import Ubuntu.Components 1.3
19import Ubuntu.Components.Popups 1.019import Ubuntu.Components.Popups 1.3
20import Ubuntu.Telephony 0.1 as Telephony20import Ubuntu.Telephony 0.1 as Telephony
2121
22Showable {22Showable {
2323
=== modified file 'qml/Components/PassphraseLockscreen.qml'
--- qml/Components/PassphraseLockscreen.qml 2015-03-18 17:27:30 +0000
+++ qml/Components/PassphraseLockscreen.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
2222
=== modified file 'qml/Components/PinLockscreen.qml'
--- qml/Components/PinLockscreen.qml 2015-05-28 07:42:09 +0000
+++ qml/Components/PinLockscreen.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 0.119import Ubuntu.Components.ListItems 1.3
20import "../Components"20import "../Components"
2121
22Item {22Item {
2323
=== modified file 'qml/Components/PinPadButton.qml'
--- qml/Components/PinPadButton.qml 2015-03-18 17:27:30 +0000
+++ qml/Components/PinPadButton.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20AbstractButton {20AbstractButton {
21 id: root21 id: root
2222
=== modified file 'qml/Components/Rating.qml'
--- qml/Components/Rating.qml 2014-02-13 17:00:06 +0000
+++ qml/Components/Rating.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20/*! Rating widget bar. */20/*! Rating widget bar. */
2121
2222
=== modified file 'qml/Components/RatingStyle.qml'
--- qml/Components/RatingStyle.qml 2014-02-13 17:00:06 +0000
+++ qml/Components/RatingStyle.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20Row {20Row {
21 anchors.fill: parent21 anchors.fill: parent
2222
=== modified file 'qml/Components/ResponsiveGridView.qml'
--- qml/Components/ResponsiveGridView.qml 2014-10-23 11:59:22 +0000
+++ qml/Components/ResponsiveGridView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20/*20/*
21 Essentially a GridView where you can specify the maximum number of columns it can have.21 Essentially a GridView where you can specify the maximum number of columns it can have.
2222
=== modified file 'qml/Components/ResponsiveVerticalJournal.qml'
--- qml/Components/ResponsiveVerticalJournal.qml 2015-05-12 10:05:52 +0000
+++ qml/Components/ResponsiveVerticalJournal.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
20import Dash 0.120import Dash 0.1
2121
2222
=== modified file 'qml/Components/ScrollCalculator.qml'
--- qml/Components/ScrollCalculator.qml 2014-10-13 15:09:46 +0000
+++ qml/Components/ScrollCalculator.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: scrollArea21 id: scrollArea
2222
=== modified file 'qml/Components/ShellDialog.qml'
--- qml/Components/ShellDialog.qml 2014-12-08 13:39:01 +0000
+++ qml/Components/ShellDialog.qml 2015-07-22 14:32:16 +0000
@@ -16,8 +16,8 @@
1616
17import QtQuick 2.017import QtQuick 2.0
1818
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 0.120import Ubuntu.Components.Popups 1.3
2121
22/*22/*
23 A Dialog configured for use as a proper in-scene Dialog23 A Dialog configured for use as a proper in-scene Dialog
2424
=== modified file 'qml/Components/UbuntuShapeForItem.qml'
--- qml/Components/UbuntuShapeForItem.qml 2014-10-06 07:39:42 +0000
+++ qml/Components/UbuntuShapeForItem.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20/* FIXME: This component is duplicating the UbuntuShape from the SDK, but shapes more20/* FIXME: This component is duplicating the UbuntuShape from the SDK, but shapes more
21 * general (Item-based) components. This ability should be incorporated into the SDK's21 * general (Item-based) components. This ability should be incorporated into the SDK's
2222
=== modified file 'qml/Components/WindowControlButtons.qml'
--- qml/Components/WindowControlButtons.qml 2014-11-24 11:21:38 +0000
+++ qml/Components/WindowControlButtons.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.3
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22Row {22Row {
23 id: root23 id: root
2424
=== modified file 'qml/Components/ZoomableImage.qml'
--- qml/Components/ZoomableImage.qml 2015-05-06 15:05:06 +0000
+++ qml/Components/ZoomableImage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21/*! \brief Zoomable for image.21/*! \brief Zoomable for image.
2222
=== modified file 'qml/Dash/CardCarousel.qml'
--- qml/Dash/CardCarousel.qml 2015-05-13 10:21:18 +0000
+++ qml/Dash/CardCarousel.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21DashRenderer {21DashRenderer {
2222
=== modified file 'qml/Dash/CardHorizontalList.qml'
--- qml/Dash/CardHorizontalList.qml 2015-05-13 10:21:18 +0000
+++ qml/Dash/CardHorizontalList.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21DashRenderer {21DashRenderer {
2222
=== modified file 'qml/Dash/CardVerticalJournal.qml'
--- qml/Dash/CardVerticalJournal.qml 2015-05-13 10:21:18 +0000
+++ qml/Dash/CardVerticalJournal.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21DashRenderer {21DashRenderer {
2222
=== modified file 'qml/Dash/Dash.qml'
--- qml/Dash/Dash.qml 2015-05-18 23:04:12 +0000
+++ qml/Dash/Dash.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import Unity 0.220import Unity 0.2
21import Utils 0.121import Utils 0.1
2222
=== modified file 'qml/Dash/DashApplication.qml'
--- qml/Dash/DashApplication.qml 2015-05-12 14:39:11 +0000
+++ qml/Dash/DashApplication.qml 2015-07-22 14:32:16 +0000
@@ -15,14 +15,15 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.018import Ubuntu.Components 1.3
19import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/19import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/
2020
21MainView {21MainView {
22 implicitWidth: units.gu(40)22 implicitWidth: units.gu(40)
23 implicitHeight: units.gu(68)23 implicitHeight: units.gu(68)
2424
25 useDeprecatedToolbar: false25 // Workaround bug #1475643
26 headerColor: Qt.rgba(0, 0, 0, 0)
2627
27 Dash {28 Dash {
28 anchors.fill: parent29 anchors.fill: parent
2930
=== modified file 'qml/Dash/DashCategoryBase.qml'
--- qml/Dash/DashCategoryBase.qml 2014-10-09 17:41:49 +0000
+++ qml/Dash/DashCategoryBase.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 width: parent.width21 width: parent.width
2222
=== modified file 'qml/Dash/DashContent.qml'
--- qml/Dash/DashContent.qml 2015-03-19 15:25:45 +0000
+++ qml/Dash/DashContent.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Unity 0.219import Unity 0.2
20import Utils 0.120import Utils 0.1
21import "../Components"21import "../Components"
2222
=== modified file 'qml/Dash/DashContentTabBarStyle.qml'
--- qml/Dash/DashContentTabBarStyle.qml 2014-02-19 13:30:38 +0000
+++ qml/Dash/DashContentTabBarStyle.qml 2015-07-22 14:32:16 +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 Ubuntu.Components.Themes.Ambiance 0.117import Ubuntu.Components.Themes.Ambiance 1.3
1818
19TabBarStyle {19TabBarStyle {
20 indicatorImageSource: "graphics/tabbarchevron.png"20 indicatorImageSource: "graphics/tabbarchevron.png"
2121
=== modified file 'qml/Dash/DashNavigation.qml'
--- qml/Dash/DashNavigation.qml 2015-01-05 15:08:04 +0000
+++ qml/Dash/DashNavigation.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Dash 0.119import Dash 0.1
20import "../Components"20import "../Components"
2121
@@ -48,7 +48,7 @@
48 id: d48 id: d
49 readonly property color foregroundColor: root.scopeStyle49 readonly property color foregroundColor: root.scopeStyle
50 ? root.scopeStyle.getTextColor(backgroundItem.luminance)50 ? root.scopeStyle.getTextColor(backgroundItem.luminance)
51 : Theme.palette.normal.baseText51 : theme.palette.normal.baseText
52 readonly property bool bothVisible: altNavigationButton.visible && navigationButton.visible52 readonly property bool bothVisible: altNavigationButton.visible && navigationButton.visible
53 readonly property real navigationWidth: root.width >= units.gu(60) ? units.gu(40) : root.width53 readonly property real navigationWidth: root.width >= units.gu(60) ? units.gu(40) : root.width
54 readonly property real buttonWidth: navigationWidth / (bothVisible ? 2 : 1)54 readonly property real buttonWidth: navigationWidth / (bothVisible ? 2 : 1)
5555
=== modified file 'qml/Dash/DashNavigationButton.qml'
--- qml/Dash/DashNavigationButton.qml 2015-01-05 15:08:04 +0000
+++ qml/Dash/DashNavigationButton.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20AbstractButton {20AbstractButton {
21 id: root21 id: root
@@ -24,7 +24,7 @@
24 // Set by parent24 // Set by parent
25 property var scope: null25 property var scope: null
26 property var scopeStyle: null26 property var scopeStyle: null
27 property color foregroundColor: Theme.palette.normal.baseText27 property color foregroundColor: theme.palette.normal.baseText
28 property bool isAltNavigation: false28 property bool isAltNavigation: false
29 property bool showDivider: false29 property bool showDivider: false
3030
3131
=== modified file 'qml/Dash/DashNavigationList.qml'
--- qml/Dash/DashNavigationList.qml 2014-10-23 11:59:22 +0000
+++ qml/Dash/DashNavigationList.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
@@ -23,7 +23,7 @@
23 property var navigation: null23 property var navigation: null
24 property var currentNavigation: null24 property var currentNavigation: null
25 property var scopeStyle: null25 property var scopeStyle: null
26 property color foregroundColor: Theme.palette.normal.baseText26 property color foregroundColor: theme.palette.normal.baseText
27 signal enterNavigation(var newNavigationId, bool hasChildren)27 signal enterNavigation(var newNavigationId, bool hasChildren)
28 signal goBackToParentClicked()28 signal goBackToParentClicked()
29 signal allNavigationClicked()29 signal allNavigationClicked()
3030
=== modified file 'qml/Dash/GenericScopeView.qml'
--- qml/Dash/GenericScopeView.qml 2015-07-03 14:24:08 +0000
+++ qml/Dash/GenericScopeView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Utils 0.119import Utils 0.1
20import Unity 0.220import Unity 0.2
21import Dash 0.121import Dash 0.1
@@ -543,7 +543,7 @@
543 }543 }
544 fontSize: "small"544 fontSize: "small"
545 font.weight: Font.Bold545 font.weight: Font.Bold
546 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText546 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
547 }547 }
548 }548 }
549549
@@ -580,7 +580,7 @@
580 width: categoryView.width580 width: categoryView.width
581 height: section != "" ? units.gu(5) : 0581 height: section != "" ? units.gu(5) : 0
582 text: section582 text: section
583 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText583 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
584 iconName: delegate && delegate.headerLink ? "go-next" : ""584 iconName: delegate && delegate.headerLink ? "go-next" : ""
585 onClicked: {585 onClicked: {
586 if (delegate.headerLink) scopeView.scope.performQuery(delegate.headerLink);586 if (delegate.headerLink) scopeView.scope.performQuery(delegate.headerLink);
@@ -701,7 +701,7 @@
701 }701 }
702 fontSize: "small"702 fontSize: "small"
703 font.weight: Font.Bold703 font.weight: Font.Bold
704 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText704 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
705 }705 }
706706
707 Connections {707 Connections {
708708
=== modified file 'qml/Dash/PageHeader.qml'
--- qml/Dash/PageHeader.qml 2015-03-13 10:07:57 +0000
+++ qml/Dash/PageHeader.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013 Canonical, Ltd.2 * Copyright (C) 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,10 +15,10 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.Themes.Ambiance 1.119import Ubuntu.Components.Themes.Ambiance 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.3
21import Ubuntu.Components.ListItems 1.021import Ubuntu.Components.ListItems 1.3
22import "../Components"22import "../Components"
23import "../Components/SearchHistoryModel"23import "../Components/SearchHistoryModel"
2424
@@ -136,7 +136,7 @@
136 objectName: "headerContainer"136 objectName: "headerContainer"
137 clip: contentY < height137 clip: contentY < height
138 anchors { left: parent.left; top: parent.top; right: parent.right }138 anchors { left: parent.left; top: parent.top; right: parent.right }
139 height: units.gu(7)139 height: header.contentHeight
140 contentHeight: headersColumn.height140 contentHeight: headersColumn.height
141 interactive: false141 interactive: false
142 contentY: showSearch ? 0 : height142 contentY: showSearch ? 0 : height
@@ -171,8 +171,6 @@
171 PageHeadStyle {171 PageHeadStyle {
172 id: searchHeader172 id: searchHeader
173 anchors { left: parent.left; right: parent.right }173 anchors { left: parent.left; right: parent.right }
174 height: headerContainer.height
175 contentHeight: height
176 opacity: headerContainer.clip || headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout174 opacity: headerContainer.clip || headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
177 __separator_visible: false175 __separator_visible: false
178 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.176 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.
@@ -182,7 +180,7 @@
182 property color panelColor: background.topColor180 property color panelColor: background.topColor
183 panelForegroundColor: config.foregroundColor181 panelForegroundColor: config.foregroundColor
184 property var config: PageHeadConfiguration {182 property var config: PageHeadConfiguration {
185 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText183 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
186 backAction: Action {184 backAction: Action {
187 iconName: "back"185 iconName: "back"
188 onTriggered: {186 onTriggered: {
@@ -247,7 +245,6 @@
247 objectName: "innerPageHeader"245 objectName: "innerPageHeader"
248 anchors { left: parent.left; right: parent.right }246 anchors { left: parent.left; right: parent.right }
249 height: headerContainer.height247 height: headerContainer.height
250 contentHeight: height
251 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout248 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
252 __separator_visible: false249 __separator_visible: false
253 property var styledItem: header250 property var styledItem: header
@@ -256,7 +253,7 @@
256 property color panelColor: background.topColor253 property color panelColor: background.topColor
257 panelForegroundColor: config.foregroundColor254 panelForegroundColor: config.foregroundColor
258 property var config: PageHeadConfiguration {255 property var config: PageHeadConfiguration {
259 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText256 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
260 backAction: Action {257 backAction: Action {
261 iconName: backIsClose ? "close" : "back"258 iconName: backIsClose ? "close" : "back"
262 visible: root.showBackButton259 visible: root.showBackButton
263260
=== modified file 'qml/Dash/PreviewListView.qml'
--- qml/Dash/PreviewListView.qml 2014-10-23 11:59:22 +0000
+++ qml/Dash/PreviewListView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Unity 0.219import Unity 0.2
20import "../Components"20import "../Components"
21import "Previews" as Previews21import "Previews" as Previews
2222
=== modified file 'qml/Dash/Previews/Preview.qml'
--- qml/Dash/Previews/Preview.qml 2015-02-12 10:44:27 +0000
+++ qml/Dash/Previews/Preview.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20/*! \brief This component constructs the Preview UI.20/*! \brief This component constructs the Preview UI.
21 *21 *
2222
=== modified file 'qml/Dash/Previews/PreviewActionButton.qml'
--- qml/Dash/Previews/PreviewActionButton.qml 2014-08-14 12:01:03 +0000
+++ qml/Dash/Previews/PreviewActionButton.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Button {20Button {
21 signal triggeredAction(var actionData)21 signal triggeredAction(var actionData)
2222
=== modified file 'qml/Dash/Previews/PreviewActionCombo.qml'
--- qml/Dash/Previews/PreviewActionCombo.qml 2014-08-15 08:40:36 +0000
+++ qml/Dash/Previews/PreviewActionCombo.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
@@ -33,7 +33,7 @@
3333
34 objectName: "moreLessButton"34 objectName: "moreLessButton"
35 text: !expanded ? i18n.tr("More...") : i18n.tr("Less...")35 text: !expanded ? i18n.tr("More...") : i18n.tr("Less...")
36 strokeColor: Theme.palette.normal.baseText36 strokeColor: theme.palette.normal.baseText
37 onClicked: expanded = !expanded37 onClicked: expanded = !expanded
38 width: parent.width38 width: parent.width
39 }39 }
4040
=== modified file 'qml/Dash/Previews/PreviewActions.qml'
--- qml/Dash/Previews/PreviewActions.qml 2015-02-12 10:44:27 +0000
+++ qml/Dash/Previews/PreviewActions.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.117import QtQuick 2.1
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20/*! This preview widget shows either one button, two buttons or one button20/*! This preview widget shows either one button, two buttons or one button
21 * and a combo button depending on the number of items in widgetData["actions"].21 * and a combo button depending on the number of items in widgetData["actions"].
@@ -50,7 +50,7 @@
50 Binding {50 Binding {
51 target: loader.item51 target: loader.item
52 property: "strokeColor"52 property: "strokeColor"
53 value: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText53 value: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
54 }54 }
55 Connections {55 Connections {
56 target: loader.item56 target: loader.item
5757
=== modified file 'qml/Dash/Previews/PreviewAudioPlayback.qml'
--- qml/Dash/Previews/PreviewAudioPlayback.qml 2014-08-13 10:29:21 +0000
+++ qml/Dash/Previews/PreviewAudioPlayback.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtMultimedia 5.018import QtMultimedia 5.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21/*! \brief Preview widget for audio tracks.21/*! \brief Preview widget for audio tracks.
2222
@@ -139,7 +139,7 @@
139 objectName: "trackTitleLabel"139 objectName: "trackTitleLabel"
140 anchors { top: parent.top; left: parent.left; right: parent.right }140 anchors { top: parent.top; left: parent.left; right: parent.right }
141 opacity: 0.9141 opacity: 0.9
142 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText142 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
143 fontSize: "small"143 fontSize: "small"
144 horizontalAlignment: Text.AlignLeft144 horizontalAlignment: Text.AlignLeft
145 text: modelData["title"]145 text: modelData["title"]
@@ -152,7 +152,7 @@
152 anchors { top: trackTitleLabel.bottom; left: parent.left; right: parent.right }152 anchors { top: trackTitleLabel.bottom; left: parent.left; right: parent.right }
153 visible: text !== ""153 visible: text !== ""
154 opacity: 0.9154 opacity: 0.9
155 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText155 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
156 font.weight: Font.Light156 font.weight: Font.Light
157 fontSize: "small"157 fontSize: "small"
158 horizontalAlignment: Text.AlignLeft158 horizontalAlignment: Text.AlignLeft
@@ -193,7 +193,7 @@
193 anchors.verticalCenter: parent.verticalCenter193 anchors.verticalCenter: parent.verticalCenter
194 width: parent.column3Width194 width: parent.column3Width
195 opacity: 0.9195 opacity: 0.9
196 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText196 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
197 fontSize: "small"197 fontSize: "small"
198 horizontalAlignment: Text.AlignRight198 horizontalAlignment: Text.AlignRight
199 text: audio.lengthToString(modelData["length"])199 text: audio.lengthToString(modelData["length"])
200200
=== modified file 'qml/Dash/Previews/PreviewComment.qml'
--- qml/Dash/Previews/PreviewComment.qml 2015-07-06 15:33:11 +0000
+++ qml/Dash/Previews/PreviewComment.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.218import Ubuntu.Components 1.3
1919
20/*! \brief Preview widget for comments.20/*! \brief Preview widget for comments.
2121
2222
=== modified file 'qml/Dash/Previews/PreviewCommentInput.qml'
--- qml/Dash/Previews/PreviewCommentInput.qml 2015-07-06 13:14:35 +0000
+++ qml/Dash/Previews/PreviewCommentInput.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for commenting.21/*! \brief Preview widget for commenting.
2222
=== modified file 'qml/Dash/Previews/PreviewExpandable.qml'
--- qml/Dash/Previews/PreviewExpandable.qml 2014-08-26 10:54:49 +0000
+++ qml/Dash/Previews/PreviewExpandable.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for expandable widgets.21/*! \brief Preview widget for expandable widgets.
@@ -41,7 +41,7 @@
41 right: expandButton.left41 right: expandButton.left
42 }42 }
43 fontSize: "large"43 fontSize: "large"
44 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText44 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
45 visible: text !== ""45 visible: text !== ""
46 opacity: .846 opacity: .8
47 text: widgetData["title"] || ""47 text: widgetData["title"] || ""
@@ -62,7 +62,7 @@
62 width: units.gu(3)62 width: units.gu(3)
63 height: units.gu(3)63 height: units.gu(3)
64 name: root.expanded ? "view-collapse" : "view-expand"64 name: root.expanded ? "view-collapse" : "view-expand"
65 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText65 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
66 }66 }
67 }67 }
6868
6969
=== modified file 'qml/Dash/Previews/PreviewHeader.qml'
--- qml/Dash/Previews/PreviewHeader.qml 2015-05-06 15:05:06 +0000
+++ qml/Dash/Previews/PreviewHeader.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Dash 0.119import Dash 0.1
20import "../"20import "../"
2121
@@ -40,7 +40,7 @@
40 readonly property string title: root.widgetData["title"] || ""40 readonly property string title: root.widgetData["title"] || ""
41 readonly property string subtitle: root.widgetData["subtitle"] || ""41 readonly property string subtitle: root.widgetData["subtitle"] || ""
42 readonly property var attributes: root.widgetData["attributes"] || null42 readonly property var attributes: root.widgetData["attributes"] || null
43 readonly property color fontColor: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText43 readonly property color fontColor: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
4444
45 // Rewire the source since we may have unwired it on onStatusChanged45 // Rewire the source since we may have unwired it on onStatusChanged
46 onMascotChanged: if (mascotShapeLoader.item) mascotShapeLoader.item.image.source = mascot;46 onMascotChanged: if (mascotShapeLoader.item) mascotShapeLoader.item.image.source = mascot;
4747
=== modified file 'qml/Dash/Previews/PreviewImageGallery.qml'
--- qml/Dash/Previews/PreviewImageGallery.qml 2015-05-06 15:05:06 +0000
+++ qml/Dash/Previews/PreviewImageGallery.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! This preview widget shows a horizontal list of images.21/*! This preview widget shows a horizontal list of images.
2222
=== modified file 'qml/Dash/Previews/PreviewOverlay.qml'
--- qml/Dash/Previews/PreviewOverlay.qml 2015-03-10 12:23:46 +0000
+++ qml/Dash/Previews/PreviewOverlay.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21Rectangle {21Rectangle {
@@ -158,7 +158,7 @@
158 anchors.centerIn: parent158 anchors.centerIn: parent
159 width: units.gu(2.5)159 width: units.gu(2.5)
160 height: width160 height: width
161 color: Theme.palette.normal.foregroundText161 color: theme.palette.normal.foregroundText
162 name: "close"162 name: "close"
163 }163 }
164 }164 }
165165
=== modified file 'qml/Dash/Previews/PreviewPayments.qml'
--- qml/Dash/Previews/PreviewPayments.qml 2014-11-20 11:44:44 +0000
+++ qml/Dash/Previews/PreviewPayments.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.117import QtQuick 2.1
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Payments 0.119import Ubuntu.Payments 0.1
2020
21/*! \brief Preview widget for a purchase button.21/*! \brief Preview widget for a purchase button.
2222
=== modified file 'qml/Dash/Previews/PreviewProgress.qml'
--- qml/Dash/Previews/PreviewProgress.qml 2014-04-30 10:51:30 +0000
+++ qml/Dash/Previews/PreviewProgress.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.117import QtQuick 2.1
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.DownloadDaemonListener 0.119import Ubuntu.DownloadDaemonListener 0.1
2020
21/*! \brief Preview widget for a progress bar.21/*! \brief Preview widget for a progress bar.
2222
=== modified file 'qml/Dash/Previews/PreviewRatingDisplay.qml'
--- qml/Dash/Previews/PreviewRatingDisplay.qml 2015-05-11 07:33:41 +0000
+++ qml/Dash/Previews/PreviewRatingDisplay.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for rating display.21/*! \brief Preview widget for rating display.
@@ -60,7 +60,7 @@
60 urlIconEmpty: widgetData["rating-icon-empty"]60 urlIconEmpty: widgetData["rating-icon-empty"]
61 urlIconFull: widgetData["rating-icon-full"]61 urlIconFull: widgetData["rating-icon-full"]
62 urlIconHalf: widgetData["rating-icon-half"]62 urlIconHalf: widgetData["rating-icon-half"]
63 labelColor: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText63 labelColor: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
64 }64 }
65 }65 }
66 }66 }
6767
=== modified file 'qml/Dash/Previews/PreviewRatingEdit.qml'
--- qml/Dash/Previews/PreviewRatingEdit.qml 2015-05-08 13:12:02 +0000
+++ qml/Dash/Previews/PreviewRatingEdit.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.417import QtQuick 2.4
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for editable rating.21/*! \brief Preview widget for editable rating.
@@ -56,7 +56,7 @@
56 urlIconEmpty: widgetData["rating-icon-empty"]56 urlIconEmpty: widgetData["rating-icon-empty"]
57 urlIconFull: widgetData["rating-icon-full"]57 urlIconFull: widgetData["rating-icon-full"]
58 urlIconHalf: widgetData["rating-icon-half"]58 urlIconHalf: widgetData["rating-icon-half"]
59 labelColor: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText59 labelColor: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
60 }60 }
6161
62 PreviewRatingInput {62 PreviewRatingInput {
6363
=== modified file 'qml/Dash/Previews/PreviewRatingInput.qml'
--- qml/Dash/Previews/PreviewRatingInput.qml 2015-05-08 13:12:02 +0000
+++ qml/Dash/Previews/PreviewRatingInput.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for rating.21/*! \brief Preview widget for rating.
@@ -79,7 +79,7 @@
79 verticalCenter: parent.verticalCenter79 verticalCenter: parent.verticalCenter
80 left: parent.left80 left: parent.left
81 }81 }
82 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText82 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
83 opacity: .883 opacity: .8
84 text: widgetData["rating-label"] || i18n.tr("Rate this")84 text: widgetData["rating-label"] || i18n.tr("Rate this")
85 }85 }
@@ -124,7 +124,7 @@
124 left: parent.left124 left: parent.left
125 right: parent.right125 right: parent.right
126 }126 }
127 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText127 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
128 opacity: .8128 opacity: .8
129 text: widgetData["review-label"] || i18n.tr("Add a review")129 text: widgetData["review-label"] || i18n.tr("Add a review")
130 }130 }
@@ -165,7 +165,7 @@
165 top: parent.top165 top: parent.top
166 right: parent.right166 right: parent.right
167 }167 }
168 color: readyToSubmit ? Theme.palette.selected.base : Theme.palette.normal.base168 color: readyToSubmit ? theme.palette.selected.base : theme.palette.normal.base
169 text: widgetData["submit-label"] || i18n.tr("Send")169 text: widgetData["submit-label"] || i18n.tr("Send")
170 onClicked: {170 onClicked: {
171 if (readyToSubmit) root.submit()171 if (readyToSubmit) root.submit()
172172
=== modified file 'qml/Dash/Previews/PreviewRatingSingleDisplay.qml'
--- qml/Dash/Previews/PreviewRatingSingleDisplay.qml 2015-05-08 13:12:02 +0000
+++ qml/Dash/Previews/PreviewRatingSingleDisplay.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.417import QtQuick 2.4
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21Column {21Column {
2222
=== modified file 'qml/Dash/Previews/PreviewTable.qml'
--- qml/Dash/Previews/PreviewTable.qml 2015-04-13 10:37:41 +0000
+++ qml/Dash/Previews/PreviewTable.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../Components"20import "../../Components"
2121
22/*! \brief Preview widget for table.22/*! \brief Preview widget for table.
@@ -48,7 +48,7 @@
48 }48 }
49 height: visible ? implicitHeight : 049 height: visible ? implicitHeight : 0
50 fontSize: "large"50 fontSize: "large"
51 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText51 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
52 visible: text !== ""52 visible: text !== ""
53 opacity: .853 opacity: .8
54 text: widgetData["title"] || ""54 text: widgetData["title"] || ""
@@ -72,7 +72,7 @@
72 fontSize: "small"72 fontSize: "small"
73 text: perRowRepeater.model[index]73 text: perRowRepeater.model[index]
74 visible: root.expanded || rowIndex < maximumCollapsedRowCount74 visible: root.expanded || rowIndex < maximumCollapsedRowCount
75 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText75 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
76 font.bold: index == 076 font.bold: index == 0
77 wrapMode: Text.Wrap77 wrapMode: Text.Wrap
78 Layout.alignment: Qt.AlignTop78 Layout.alignment: Qt.AlignTop
7979
=== modified file 'qml/Dash/Previews/PreviewTextSummary.qml'
--- qml/Dash/Previews/PreviewTextSummary.qml 2014-10-10 10:37:03 +0000
+++ qml/Dash/Previews/PreviewTextSummary.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for text.21/*! \brief Preview widget for text.
@@ -39,7 +39,7 @@
39 }39 }
40 height: visible ? implicitHeight : 040 height: visible ? implicitHeight : 0
41 fontSize: "large"41 fontSize: "large"
42 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText42 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
43 visible: text !== ""43 visible: text !== ""
44 opacity: .844 opacity: .8
45 text: widgetData["title"] || ""45 text: widgetData["title"] || ""
@@ -61,7 +61,7 @@
61 clip: true61 clip: true
62 fontSize: "small"62 fontSize: "small"
63 lineHeight: 1.263 lineHeight: 1.2
64 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText64 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
65 opacity: .865 opacity: .8
66 text: widgetData["text"] || ""66 text: widgetData["text"] || ""
67 wrapMode: Text.Wrap67 wrapMode: Text.Wrap
6868
=== modified file 'qml/Dash/Previews/PreviewVideoPlayback.qml'
--- qml/Dash/Previews/PreviewVideoPlayback.qml 2014-03-31 13:06:36 +0000
+++ qml/Dash/Previews/PreviewVideoPlayback.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Thumbnailer 0.119import Ubuntu.Thumbnailer 0.1
20import "../../Components"20import "../../Components"
2121
2222
=== modified file 'qml/Dash/Previews/PreviewZoomableImage.qml'
--- qml/Dash/Previews/PreviewZoomableImage.qml 2015-05-06 15:05:06 +0000
+++ qml/Dash/Previews/PreviewZoomableImage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../Components"19import "../../Components"
2020
21/*! \brief Preview widget for image.21/*! \brief Preview widget for image.
2222
=== modified file 'qml/Dash/PullToRefreshScopeStyle.qml'
--- qml/Dash/PullToRefreshScopeStyle.qml 2014-09-30 14:22:22 +0000
+++ qml/Dash/PullToRefreshScopeStyle.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.Styles 1.119import Ubuntu.Components.Styles 1.3
2020
21/**21/**
22 * TODO: Once the SDK version of PullToRefreshStyle doesn't have bug 137579922 * TODO: Once the SDK version of PullToRefreshStyle doesn't have bug 1375799
2323
=== modified file 'qml/Dash/ScopeSettings/ScopeSetting.qml'
--- qml/Dash/ScopeSettings/ScopeSetting.qml 2014-08-26 12:27:36 +0000
+++ qml/Dash/ScopeSettings/ScopeSetting.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20/*! Interface for settings widgets. */20/*! Interface for settings widgets. */
2121
2222
=== modified file 'qml/Dash/ScopeSettings/ScopeSettingBoolean.qml'
--- qml/Dash/ScopeSettings/ScopeSettingBoolean.qml 2015-02-10 11:35:11 +0000
+++ qml/Dash/ScopeSettings/ScopeSettingBoolean.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.3 as ListItem
2020
21ScopeSetting {21ScopeSetting {
22 id: root22 id: root
@@ -44,7 +44,7 @@
44 elide: Text.ElideMiddle44 elide: Text.ElideMiddle
45 maximumLineCount: 245 maximumLineCount: 2
46 wrapMode: Text.Wrap46 wrapMode: Text.Wrap
47 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText47 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
48 }48 }
4949
50 CheckBox {50 CheckBox {
5151
=== modified file 'qml/Dash/ScopeSettings/ScopeSettingList.qml'
--- qml/Dash/ScopeSettings/ScopeSettingList.qml 2014-08-26 12:33:32 +0000
+++ qml/Dash/ScopeSettings/ScopeSettingList.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.3 as ListItem
2020
21ScopeSetting {21ScopeSetting {
22 id: root22 id: root
2323
=== modified file 'qml/Dash/ScopeSettings/ScopeSettingString.qml'
--- qml/Dash/ScopeSettings/ScopeSettingString.qml 2014-08-26 12:27:36 +0000
+++ qml/Dash/ScopeSettings/ScopeSettingString.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.3 as ListItem
2020
21ScopeSetting {21ScopeSetting {
22 id: root22 id: root
@@ -44,7 +44,7 @@
44 elide: Text.ElideMiddle44 elide: Text.ElideMiddle
45 maximumLineCount: 245 maximumLineCount: 2
46 wrapMode: Text.Wrap46 wrapMode: Text.Wrap
47 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText47 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
48 }48 }
4949
50 TextField {50 TextField {
@@ -57,7 +57,7 @@
57 }57 }
58 width: root.mode == "number" ? units.gu(8) : units.gu(12)58 width: root.mode == "number" ? units.gu(8) : units.gu(12)
59 text: widgetData.value59 text: widgetData.value
60 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.fieldText60 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.fieldText
61 validator: root.mode == "number" ? doubleValidator : null61 validator: root.mode == "number" ? doubleValidator : null
62 hasClearButton: root.mode == "number" ? false : true62 hasClearButton: root.mode == "number" ? false : true
6363
6464
=== modified file 'qml/Dash/ScopeSettingsPage.qml'
--- qml/Dash/ScopeSettingsPage.qml 2014-10-23 11:59:22 +0000
+++ qml/Dash/ScopeSettingsPage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Unity 0.219import Unity 0.2
20import "../Components"20import "../Components"
21import "ScopeSettings"21import "ScopeSettings"
2222
=== modified file 'qml/Dash/ScopesListCategory.qml'
--- qml/Dash/ScopesListCategory.qml 2015-04-24 07:33:59 +0000
+++ qml/Dash/ScopesListCategory.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Dash 0.119import Dash 0.1
20import "../Components/ListItems" as ListItems20import "../Components/ListItems" as ListItems
2121
@@ -43,7 +43,7 @@
43 id: header43 id: header
44 width: root.width44 width: root.width
45 height: units.gu(5)45 height: units.gu(5)
46 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText46 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
47 }47 }
4848
49 readonly property double listItemHeight: units.gu(6)49 readonly property double listItemHeight: units.gu(6)
5050
=== modified file 'qml/Dash/ScopesListCategoryItem.qml'
--- qml/Dash/ScopesListCategoryItem.qml 2015-02-13 12:03:32 +0000
+++ qml/Dash/ScopesListCategoryItem.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.317import QtQuick 2.3
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
2020
21MouseArea {21MouseArea {
22 id: root22 id: root
2323
=== modified file 'qml/Greeter/Clock.qml'
--- qml/Greeter/Clock.qml 2014-12-11 14:10:18 +0000
+++ qml/Greeter/Clock.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../Panel/Indicators"19import "../Panel/Indicators"
20import Unity.Indicators 0.1 as Indicators20import Unity.Indicators 0.1 as Indicators
2121
2222
=== modified file 'qml/Greeter/CoverPage.qml'
--- qml/Greeter/CoverPage.qml 2015-05-11 14:36:03 +0000
+++ qml/Greeter/CoverPage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import "../Components"20import "../Components"
2121
2222
=== modified file 'qml/Greeter/Greeter.qml'
--- qml/Greeter/Greeter.qml 2015-06-12 16:07:43 +0000
+++ qml/Greeter/Greeter.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import QtQuick 2.317import QtQuick 2.3
18import AccountsService 0.118import AccountsService 0.1
19import LightDM 0.1 as LightDM19import LightDM 0.1 as LightDM
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.SystemImage 0.121import Ubuntu.SystemImage 0.1
22import Unity.Launcher 0.122import Unity.Launcher 0.1
23import "../Components"23import "../Components"
2424
=== modified file 'qml/Greeter/Infographics.qml'
--- qml/Greeter/Infographics.qml 2015-02-12 14:48:06 +0000
+++ qml/Greeter/Infographics.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import "../Components"17import "../Components"
18import "Gradient.js" as Gradient18import "Gradient.js" as Gradient
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
2121
22Item {22Item {
23 id: infographic23 id: infographic
2424
=== modified file 'qml/Greeter/LoginList.qml'
--- qml/Greeter/LoginList.qml 2015-02-01 19:53:29 +0000
+++ qml/Greeter/LoginList.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
2222
=== modified file 'qml/Greeter/NarrowView.qml'
--- qml/Greeter/NarrowView.qml 2015-03-04 13:23:34 +0000
+++ qml/Greeter/NarrowView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21FocusScope {21FocusScope {
2222
=== modified file 'qml/Greeter/ObjectPositioner.qml'
--- qml/Greeter/ObjectPositioner.qml 2013-06-05 22:03:08 +0000
+++ qml/Greeter/ObjectPositioner.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 property int count21 property int count
2222
=== modified file 'qml/Greeter/WideView.qml'
--- qml/Greeter/WideView.qml 2015-03-04 13:23:34 +0000
+++ qml/Greeter/WideView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20FocusScope {20FocusScope {
21 id: root21 id: root
2222
=== modified file 'qml/Launcher/FoldingLauncherDelegate.qml'
--- qml/Launcher/FoldingLauncherDelegate.qml 2013-08-27 18:30:55 +0000
+++ qml/Launcher/FoldingLauncherDelegate.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20LauncherDelegate {20LauncherDelegate {
21 id: root21 id: root
2222
=== modified file 'qml/Launcher/Launcher.qml'
--- qml/Launcher/Launcher.qml 2015-04-15 20:21:11 +0000
+++ qml/Launcher/Launcher.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import "../Components"18import "../Components"
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Gestures 0.120import Ubuntu.Gestures 0.1
21import Unity.Launcher 0.121import Unity.Launcher 0.1
2222
2323
=== modified file 'qml/Launcher/LauncherDelegate.qml'
--- qml/Launcher/LauncherDelegate.qml 2014-10-14 12:28:07 +0000
+++ qml/Launcher/LauncherDelegate.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Launcher/LauncherPanel.qml'
--- qml/Launcher/LauncherPanel.qml 2015-07-01 11:39:49 +0000
+++ qml/Launcher/LauncherPanel.qml 2015-07-22 14:32:16 +0000
@@ -15,10 +15,10 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItems19import Ubuntu.Components.ListItems 1.3 as ListItems
20import Unity.Launcher 0.120import Unity.Launcher 0.1
21import Ubuntu.Components.Popups 0.121import Ubuntu.Components.Popups 1.3
22import "../Components/ListItems"22import "../Components/ListItems"
23import "../Components/"23import "../Components/"
2424
2525
=== modified file 'qml/Notifications/Notification.qml'
--- qml/Notifications/Notification.qml 2015-01-21 17:19:13 +0000
+++ qml/Notifications/Notification.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013 Canonical, Ltd.2 * Copyright (C) 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,12 +16,12 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtMultimedia 5.018import QtMultimedia 5.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Unity.Notifications 1.020import Unity.Notifications 1.0
21import QMenuModel 0.121import QMenuModel 0.1
22import Utils 0.122import Utils 0.1
2323
24import Ubuntu.Components.ListItems 0.1 as ListItem24import Ubuntu.Components.ListItems 1.3 as ListItem
2525
26Item {26Item {
27 id: notification27 id: notification
@@ -269,7 +269,7 @@
269 }269 }
270 visible: type !== Notification.Confirmation270 visible: type !== Notification.Confirmation
271 fontSize: "medium"271 fontSize: "medium"
272 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText272 color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
273 elide: Text.ElideRight273 elide: Text.ElideRight
274 textFormat: Text.PlainText274 textFormat: Text.PlainText
275 }275 }
@@ -284,7 +284,7 @@
284 }284 }
285 visible: body != "" && type !== Notification.Confirmation285 visible: body != "" && type !== Notification.Confirmation
286 fontSize: "small"286 fontSize: "small"
287 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText287 color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
288 wrapMode: Text.WordWrap288 wrapMode: Text.WordWrap
289 maximumLineCount: type == Notification.SnapDecision ? 12 : 2289 maximumLineCount: type == Notification.SnapDecision ? 12 : 2
290 elide: Text.ElideRight290 elide: Text.ElideRight
@@ -325,7 +325,7 @@
325 anchors.horizontalCenter: parent.horizontalCenter325 anchors.horizontalCenter: parent.horizontalCenter
326 visible: type === Notification.Confirmation && body !== ""326 visible: type === Notification.Confirmation && body !== ""
327 fontSize: "medium"327 fontSize: "medium"
328 color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText328 color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
329 wrapMode: Text.WordWrap329 wrapMode: Text.WordWrap
330 maximumLineCount: 1330 maximumLineCount: 1
331 elide: Text.ElideRight331 elide: Text.ElideRight
332332
=== modified file 'qml/Notifications/NotificationMenuItemFactory.qml'
--- qml/Notifications/NotificationMenuItemFactory.qml 2014-11-17 13:46:56 +0000
+++ qml/Notifications/NotificationMenuItemFactory.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18 */18 */
1919
20import QtQuick 2.020import QtQuick 2.0
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import QMenuModel 0.122import QMenuModel 0.1
23import "../Components"23import "../Components"
2424
2525
=== modified file 'qml/Notifications/Notifications.qml'
--- qml/Notifications/Notifications.qml 2015-07-01 11:41:38 +0000
+++ qml/Notifications/Notifications.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Unity.Notifications 1.0 as UnityNotifications19import Unity.Notifications 1.0 as UnityNotifications
20import Utils 0.120import Utils 0.1
21import "../Components"21import "../Components"
2222
=== modified file 'qml/Notifications/OptionToggle.qml'
--- qml/Notifications/OptionToggle.qml 2014-11-07 10:55:22 +0000
+++ qml/Notifications/OptionToggle.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 0.1 as ListItem19import Ubuntu.Components.ListItems 1.3 as ListItem
20import Ubuntu.Components.Popups 0.120import Ubuntu.Components.Popups 1.3
2121
22UbuntuShape {22UbuntuShape {
23 id: optionToggle23 id: optionToggle
@@ -29,7 +29,7 @@
2929
30 signal triggered(string id)30 signal triggered(string id)
3131
32 color: Theme.palette.normal.base32 color: theme.palette.normal.base
33 borderSource: "none"33 borderSource: "none"
34 height: expanded ? (optionToggleRepeater.count - startIndex) * itemHeight : itemHeight34 height: expanded ? (optionToggleRepeater.count - startIndex) * itemHeight : itemHeight
35 width: parent.width35 width: parent.width
3636
=== modified file 'qml/Notifications/ShapedIcon.qml'
--- qml/Notifications/ShapedIcon.qml 2015-05-08 14:09:26 +0000
+++ qml/Notifications/ShapedIcon.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013 Canonical, Ltd.2 * Copyright (C) 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.218import Ubuntu.Components 1.3
1919
20Item {20Item {
21 property string fileSource21 property string fileSource
2222
=== modified file 'qml/Notifications/SwipeToAct.qml'
--- qml/Notifications/SwipeToAct.qml 2015-03-17 11:02:43 +0000
+++ qml/Notifications/SwipeToAct.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: swipeToAct21 id: swipeToAct
2222
=== modified file 'qml/Panel/ActiveCallHint.qml'
--- qml/Panel/ActiveCallHint.qml 2014-10-08 21:05:50 +0000
+++ qml/Panel/ActiveCallHint.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Telephony 0.1 as Telephony18import Ubuntu.Telephony 0.1 as Telephony
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Application 0.120import Unity.Application 0.1
21import "../Components"21import "../Components"
2222
2323
=== modified file 'qml/Panel/Handle.qml'
--- qml/Panel/Handle.qml 2014-10-09 12:01:57 +0000
+++ qml/Panel/Handle.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Rectangle {20Rectangle {
21 id: handle21 id: handle
2222
=== modified file 'qml/Panel/IndicatorItem.qml'
--- qml/Panel/IndicatorItem.qml 2015-07-01 11:08:59 +0000
+++ qml/Panel/IndicatorItem.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Settings.Components 0.119import Ubuntu.Settings.Components 0.1
20import "Indicators"20import "Indicators"
2121
2222
=== modified file 'qml/Panel/IndicatorItemRow.qml'
--- qml/Panel/IndicatorItemRow.qml 2014-10-17 14:55:35 +0000
+++ qml/Panel/IndicatorItemRow.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Panel/IndicatorPage.qml'
--- qml/Panel/IndicatorPage.qml 2014-11-17 23:04:48 +0000
+++ qml/Panel/IndicatorPage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.1 as Components18import Ubuntu.Components 1.3 as Components
19import Unity.Indicators 0.1 as Indicators19import Unity.Indicators 0.1 as Indicators
20import "Indicators"20import "Indicators"
2121
2222
=== modified file 'qml/Panel/Indicators/MenuItemFactory.qml'
--- qml/Panel/Indicators/MenuItemFactory.qml 2015-06-13 11:30:34 +0000
+++ qml/Panel/Indicators/MenuItemFactory.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2013 Canonical Ltd.2 * Copyright 2013,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
@@ -22,8 +22,8 @@
22import Ubuntu.Settings.Components 0.122import Ubuntu.Settings.Components 0.1
23import QMenuModel 0.123import QMenuModel 0.1
24import Utils 0.1 as Utils24import Utils 0.1 as Utils
25import Ubuntu.Components.ListItems 0.1 as ListItems25import Ubuntu.Components.ListItems 1.3 as ListItems
26import Ubuntu.Components 1.126import Ubuntu.Components 1.3
2727
28Item {28Item {
29 id: menuFactory29 id: menuFactory
@@ -245,7 +245,7 @@
245 name: "settings"245 name: "settings"
246 height: units.gu(3)246 height: units.gu(3)
247 width: height247 width: height
248 color: Theme.palette.selected.backgroundText248 color: theme.palette.selected.backgroundText
249 }249 }
250 }250 }
251 }251 }
@@ -277,7 +277,7 @@
277 source: menuData.icon277 source: menuData.icon
278 height: units.gu(3)278 height: units.gu(3)
279 width: height279 width: height
280 color: Theme.palette.selected.backgroundText280 color: theme.palette.selected.backgroundText
281 }281 }
282 }282 }
283 }283 }
@@ -836,7 +836,7 @@
836 enabled: menuData && menuData.sensitive || false836 enabled: menuData && menuData.sensitive || false
837 highlightWhenPressed: false837 highlightWhenPressed: false
838 text: menuData && menuData.label || ""838 text: menuData && menuData.label || ""
839 foregroundColor: Theme.palette.normal.backgroundText839 foregroundColor: theme.palette.normal.backgroundText
840840
841 onMenuModelChanged: {841 onMenuModelChanged: {
842 loadAttributes();842 loadAttributes();
843843
=== modified file 'qml/Panel/Indicators/MessageMenuItemFactory.qml'
--- qml/Panel/Indicators/MessageMenuItemFactory.qml 2015-03-13 10:07:57 +0000
+++ qml/Panel/Indicators/MessageMenuItemFactory.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19 */19 */
2020
21import QtQuick 2.021import QtQuick 2.0
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Ubuntu.Settings.Menus 0.1 as Menus23import Ubuntu.Settings.Menus 0.1 as Menus
24import QMenuModel 0.1 as QMenuModel24import QMenuModel 0.1 as QMenuModel
25import Utils 0.1 as Utils25import Utils 0.1 as Utils
2626
=== modified file 'qml/Panel/Indicators/ModemInfoItem.qml'
--- qml/Panel/Indicators/ModemInfoItem.qml 2014-07-31 13:31:32 +0000
+++ qml/Panel/Indicators/ModemInfoItem.qml 2015-07-22 14:32:16 +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
@@ -16,8 +16,8 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Components.ListItems 0.1 as ListItem20import Ubuntu.Components.ListItems 1.3 as ListItem
2121
22ListItem.Empty {22ListItem.Empty {
23 id: menu23 id: menu
@@ -65,7 +65,7 @@
65 height: parent.height65 height: parent.height
66 Icon {66 Icon {
67 id: statusIcon67 id: statusIcon
68 color: Theme.palette.selected.backgroundText68 color: theme.palette.selected.backgroundText
6969
70 Layout.preferredHeight: parent.height70 Layout.preferredHeight: parent.height
71 Layout.preferredWidth: Layout.preferredHeight71 Layout.preferredWidth: Layout.preferredHeight
@@ -75,7 +75,7 @@
7575
76 Icon {76 Icon {
77 id: iconConnectivity77 id: iconConnectivity
78 color: Theme.palette.selected.backgroundText78 color: theme.palette.selected.backgroundText
7979
80 Layout.preferredHeight: parent.height80 Layout.preferredHeight: parent.height
81 Layout.preferredWidth: Layout.preferredHeight81 Layout.preferredWidth: Layout.preferredHeight
8282
=== modified file 'qml/Panel/Indicators/RoamingIndication.qml'
--- qml/Panel/Indicators/RoamingIndication.qml 2014-07-31 13:31:32 +0000
+++ qml/Panel/Indicators/RoamingIndication.qml 2015-07-22 14:32:16 +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
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21RowLayout {21RowLayout {
22 spacing: units.gu(0.5)22 spacing: units.gu(0.5)
@@ -30,7 +30,7 @@
3030
31 Icon {31 Icon {
32 id: iconRoaming32 id: iconRoaming
33 color: Theme.palette.selected.backgroundText33 color: theme.palette.selected.backgroundText
3434
35 Layout.preferredHeight: parent.height35 Layout.preferredHeight: parent.height
36 Layout.preferredWidth: Layout.preferredHeight36 Layout.preferredWidth: Layout.preferredHeight
3737
=== modified file 'qml/Panel/Indicators/client/IndicatorRepresentation.qml'
--- qml/Panel/Indicators/client/IndicatorRepresentation.qml 2014-10-03 10:10:31 +0000
+++ qml/Panel/Indicators/client/IndicatorRepresentation.qml 2015-07-22 14:32:16 +0000
@@ -19,8 +19,8 @@
19 */19 */
2020
21import QtQuick 2.021import QtQuick 2.0
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Ubuntu.Components.ListItems 0.1 as ListItem23import Ubuntu.Components.ListItems 1.3 as ListItem
24import "../.."24import "../.."
2525
26Page {26Page {
2727
=== modified file 'qml/Panel/Indicators/client/IndicatorsClient.qml'
--- qml/Panel/Indicators/client/IndicatorsClient.qml 2014-07-25 17:52:39 +0000
+++ qml/Panel/Indicators/client/IndicatorsClient.qml 2015-07-22 14:32:16 +0000
@@ -18,15 +18,15 @@
18 */18 */
1919
20import QtQuick 2.020import QtQuick 2.0
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Ubuntu.Components.ListItems 0.1 as ListItem22import Ubuntu.Components.ListItems 1.3 as ListItem
2323
24Rectangle {24Rectangle {
25 color: "black"25 color: "black"
26 id: root26 id: root
2727
28 Component.onCompleted: {28 Component.onCompleted: {
29 Theme.name = "Ubuntu.Components.Themes.SuruGradient"29 theme.name = "Ubuntu.Components.Themes.SuruGradient"
30 }30 }
3131
32 PageStack {32 PageStack {
3333
=== modified file 'qml/Panel/Indicators/client/IndicatorsList.qml'
--- qml/Panel/Indicators/client/IndicatorsList.qml 2015-03-11 08:07:31 +0000
+++ qml/Panel/Indicators/client/IndicatorsList.qml 2015-07-22 14:32:16 +0000
@@ -18,8 +18,8 @@
18 */18 */
1919
20import QtQuick 2.020import QtQuick 2.0
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Ubuntu.Components.ListItems 0.1 as ListItem22import Ubuntu.Components.ListItems 1.3 as ListItem
23import Unity.Indicators 0.1 as Indicators23import Unity.Indicators 0.1 as Indicators
24import "../.."24import "../.."
2525
2626
=== modified file 'qml/Panel/Indicators/client/IndicatorsTree.qml'
--- qml/Panel/Indicators/client/IndicatorsTree.qml 2014-11-11 15:28:13 +0000
+++ qml/Panel/Indicators/client/IndicatorsTree.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18 */18 */
1919
20import QtQuick 2.020import QtQuick 2.0
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Indicators 0.1 as Indicators22import Unity.Indicators 0.1 as Indicators
23import ".."23import ".."
2424
2525
=== modified file 'qml/Panel/IndicatorsBar.qml'
--- qml/Panel/IndicatorsBar.qml 2014-12-03 10:57:01 +0000
+++ qml/Panel/IndicatorsBar.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
2222
=== modified file 'qml/Panel/IndicatorsMenu.qml'
--- qml/Panel/IndicatorsMenu.qml 2015-05-18 23:04:12 +0000
+++ qml/Panel/IndicatorsMenu.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import "../Components"20import "../Components"
21import "Indicators"21import "Indicators"
2222
=== modified file 'qml/Panel/MenuContent.qml'
--- qml/Panel/MenuContent.qml 2014-11-17 23:04:48 +0000
+++ qml/Panel/MenuContent.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.217import QtQuick 2.2
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Unity.Indicators 0.1 as Indicators20import Unity.Indicators 0.1 as Indicators
21import Utils 0.121import Utils 0.1
22import "../Components"22import "../Components"
2323
=== modified file 'qml/Panel/Panel.qml'
--- qml/Panel/Panel.qml 2015-04-15 11:37:00 +0000
+++ qml/Panel/Panel.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Unity.Application 0.119import Unity.Application 0.1
20import "../Components"20import "../Components"
21import "../Components/PanelState"21import "../Components/PanelState"
2222
=== modified file 'qml/Rotation/RotationStates.qml'
--- qml/Rotation/RotationStates.qml 2015-05-11 14:36:03 +0000
+++ qml/Rotation/RotationStates.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Powerd 0.119import Powerd 0.1
2020
21// Why the state machine is done that way:21// Why the state machine is done that way:
2222
=== modified file 'qml/ScopeTool.qml'
--- qml/ScopeTool.qml 2014-08-07 15:29:12 +0000
+++ qml/ScopeTool.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15*/15*/
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Components.Popups 0.119import Ubuntu.Components.Popups 1.3
20import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/20import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/
21import Utils 0.121import Utils 0.1
22import Unity 0.222import Unity 0.2
2323
=== modified file 'qml/Shell.qml'
--- qml/Shell.qml 2015-07-10 14:44:55 +0000
+++ qml/Shell.qml 2015-07-22 14:32:16 +0000
@@ -19,8 +19,8 @@
19import AccountsService 0.119import AccountsService 0.1
20import GSettings 1.020import GSettings 1.0
21import Unity.Application 0.121import Unity.Application 0.1
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Ubuntu.Components.Popups 1.023import Ubuntu.Components.Popups 1.3
24import Ubuntu.Gestures 0.124import Ubuntu.Gestures 0.1
25import Ubuntu.Telephony 0.1 as Telephony25import Ubuntu.Telephony 0.1 as Telephony
26import Unity.Connectivity 0.126import Unity.Connectivity 0.1
@@ -160,7 +160,7 @@
160 }160 }
161161
162 Component.onCompleted: {162 Component.onCompleted: {
163 Theme.name = "Ubuntu.Components.Themes.SuruGradient"163 theme.name = "Ubuntu.Components.Themes.SuruGradient"
164 if (ApplicationManager.count > 0) {164 if (ApplicationManager.count > 0) {
165 ApplicationManager.focusApplication(ApplicationManager.get(0).appId);165 ApplicationManager.focusApplication(ApplicationManager.get(0).appId);
166 }166 }
167167
=== modified file 'qml/Stages/Animations/SwipeFromBottomAnimation.qml'
--- qml/Stages/Animations/SwipeFromBottomAnimation.qml 2014-09-01 12:46:31 +0000
+++ qml/Stages/Animations/SwipeFromBottomAnimation.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20BaseSessionAnimation {20BaseSessionAnimation {
21 id: animation21 id: animation
2222
=== modified file 'qml/Stages/ApplicationWindow.qml'
--- qml/Stages/ApplicationWindow.qml 2015-07-10 15:55:50 +0000
+++ qml/Stages/ApplicationWindow.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Unity.Application 0.119import Unity.Application 0.1
2020
21FocusScope {21FocusScope {
2222
=== modified file 'qml/Stages/DecoratedWindow.qml'
--- qml/Stages/DecoratedWindow.qml 2015-04-24 17:42:11 +0000
+++ qml/Stages/DecoratedWindow.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.3
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Unity.Application 0.121import Unity.Application 0.1
2222
23FocusScope {23FocusScope {
2424
=== modified file 'qml/Stages/DesktopStage.qml'
--- qml/Stages/DesktopStage.qml 2015-06-12 16:07:43 +0000
+++ qml/Stages/DesktopStage.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.3
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Unity.Application 0.121import Unity.Application 0.1
22import "../Components/PanelState"22import "../Components/PanelState"
2323
2424
=== modified file 'qml/Stages/MainViewStyle.qml'
--- qml/Stages/MainViewStyle.qml 2014-09-12 20:16:54 +0000
+++ qml/Stages/MainViewStyle.qml 2015-07-22 14:32:16 +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 */
16import QtQuick 2.016import QtQuick 2.0
17import Ubuntu.Components 1.117import Ubuntu.Components 1.3
1818
19// FIXME: copied with slight modifications from Ubuntu UI Toolkit's Ambiance's theme19// FIXME: copied with slight modifications from Ubuntu UI Toolkit's Ambiance's theme
20Item {20Item {
@@ -65,8 +65,7 @@
6565
66 Qt bug: https://bugreports.qt-project.org/browse/QTBUG-1171266 Qt bug: https://bugreports.qt-project.org/browse/QTBUG-11712
67 */67 */
68 property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" :68 property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" : "SuruDark"
69 (isGradient ? "SuruGradient" : "SuruDark")
70 }69 }
7170
72 // automatically select the appropriate theme depending on the background colors71 // automatically select the appropriate theme depending on the background colors
7372
=== modified file 'qml/Stages/PageHeadStyle.qml'
--- qml/Stages/PageHeadStyle.qml 2014-08-27 18:50:43 +0000
+++ qml/Stages/PageHeadStyle.qml 2015-07-22 14:32:16 +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 */
16import QtQuick 2.216import QtQuick 2.2
17import Ubuntu.Components 1.117import Ubuntu.Components 1.3
18import Ubuntu.Components.Styles 1.1 as Style18import Ubuntu.Components.Styles 1.3 as Style
1919
20// FIXME: copied with large modifications from Ubuntu UI Toolkit's Ambiance's theme20// FIXME: copied with large modifications from Ubuntu UI Toolkit's Ambiance's theme
21Style.PageHeadStyle {21Style.PageHeadStyle {
2222
=== modified file 'qml/Stages/PhoneStage.qml'
--- qml/Stages/PhoneStage.qml 2015-07-10 14:44:55 +0000
+++ qml/Stages/PhoneStage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import Unity.Application 0.120import Unity.Application 0.1
21import Unity.Session 0.121import Unity.Session 0.1
2222
=== modified file 'qml/Stages/ShimStage.qml'
--- qml/Stages/ShimStage.qml 2015-04-21 19:43:25 +0000
+++ qml/Stages/ShimStage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
1919
20Rectangle {20Rectangle {
21 id: shimStage21 id: shimStage
2222
=== modified file 'qml/Stages/Splash.qml'
--- qml/Stages/Splash.qml 2015-07-10 15:55:50 +0000
+++ qml/Stages/Splash.qml 2015-07-22 14:32:16 +0000
@@ -15,11 +15,11 @@
15*/15*/
1616
17import QtQuick 2.217import QtQuick 2.2
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.Themes 0.119import Ubuntu.Components.Themes 1.3
20import "../Components"20import "../Components"
2121
22import Ubuntu.Components.Themes.Ambiance 1.1 as Ambiance22import Ubuntu.Components.Themes.Ambiance 1.3 as Ambiance
2323
24Item {24Item {
25 id: root25 id: root
@@ -62,17 +62,17 @@
62 : root.footerColor62 : root.footerColor
6363
64 // FIXME: fake a Theme object as to expose the Palette corresponding to the backgroundColor (see MainViewStyle.qml)64 // FIXME: fake a Theme object as to expose the Palette corresponding to the backgroundColor (see MainViewStyle.qml)
65 property var theme: QtObject {65 readonly property var fakeTheme: QtObject {
66 property string name66 property string name
67 property Palette palette: Qt.createQmlObject("import QtQuick 2.2;\67 property Palette palette: Qt.createQmlObject("import QtQuick 2.2;\
68 import Ubuntu.Components.Themes.%1 1.1;\68 import Ubuntu.Components.Themes.%1 1.3;\
69 Palette {}".arg(styledItem.theme.name),69 Palette {}".arg(styledItem.fakeTheme.name),
70 styledItem, "dynamicPalette");70 styledItem, "dynamicPalette");
71 }71 }
7272
73 // FIXME: should instead use future toolkit API:73 // FIXME: should instead use future toolkit API:
74 // style: theme.createStyleComponent("MainViewStyle.qml", styledItem)74 // style: theme.createStyleComponent("MainViewStyle.qml", styledItem)
75 style: Component { MainViewStyle {theme: styledItem.theme} }75 style: Component { MainViewStyle {theme: styledItem.fakeTheme} }
76 }76 }
7777
78 StyledItem {78 StyledItem {
@@ -89,13 +89,13 @@
89 property string title89 property string title
90 property var tabsModel90 property var tabsModel
91 property var config: QtObject {91 property var config: QtObject {
92 property color foregroundColor: styledItem.theme.palette.selected.backgroundText92 property color foregroundColor: styledItem.fakeTheme.palette.selected.backgroundText
93 property var sections: QtObject {}93 property var sections: QtObject {}
94 }94 }
9595
96 // FIXME: should instead use future toolkit API:96 // FIXME: should instead use future toolkit API:
97 // style: theme.createStyleComponent("PageHeadStyle.qml", header)97 // style: theme.createStyleComponent("PageHeadStyle.qml", header)
98 style: Component { PageHeadStyle {theme: styledItem.theme} }98 style: Component { PageHeadStyle {theme: styledItem.fakeTheme} }
99 }99 }
100100
101 Image {101 Image {
@@ -139,7 +139,7 @@
139 anchors.topMargin: units.gu(2)139 anchors.topMargin: units.gu(2)
140 fontSize: "large"140 fontSize: "large"
141141
142 color: styledItem.theme.palette.selected.backgroundText142 color: styledItem.fakeTheme.palette.selected.backgroundText
143 visible: d.showIcon143 visible: d.showIcon
144 }144 }
145145
146146
=== modified file 'qml/Stages/SpreadDelegate.qml'
--- qml/Stages/SpreadDelegate.qml 2015-07-10 15:55:50 +0000
+++ qml/Stages/SpreadDelegate.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
1919
20import QtQuick 2.020import QtQuick 2.0
21import QtQuick.Window 2.021import QtQuick.Window 2.0
22import Ubuntu.Components 1.122import Ubuntu.Components 1.3
23import "../Components"23import "../Components"
2424
25FocusScope {25FocusScope {
2626
=== modified file 'qml/Stages/SurfaceContainer.qml'
--- qml/Stages/SurfaceContainer.qml 2015-04-15 11:37:00 +0000
+++ qml/Stages/SurfaceContainer.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15*/15*/
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.1 // For TouchGate19import Ubuntu.Gestures 0.1 // For TouchGate
20import Utils 0.1 // for InputWatcher20import Utils 0.1 // for InputWatcher
2121
2222
=== modified file 'qml/Stages/TabletStage.qml'
--- qml/Stages/TabletStage.qml 2015-06-23 14:20:23 +0000
+++ qml/Stages/TabletStage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import Unity.Application 0.120import Unity.Application 0.1
21import Utils 0.121import Utils 0.1
2222
=== modified file 'qml/Stages/TransformedSpreadDelegate.qml'
--- qml/Stages/TransformedSpreadDelegate.qml 2015-04-28 20:20:23 +0000
+++ qml/Stages/TransformedSpreadDelegate.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
1818
19import QtQuick 2.019import QtQuick 2.0
20import Utils 0.120import Utils 0.1
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
2222
23SpreadDelegate {23SpreadDelegate {
24 id: root24 id: root
2525
=== modified file 'qml/Stages/TransformedTabletSpreadDelegate.qml'
--- qml/Stages/TransformedTabletSpreadDelegate.qml 2015-03-06 04:44:11 +0000
+++ qml/Stages/TransformedTabletSpreadDelegate.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
1818
19import QtQuick 2.019import QtQuick 2.0
20import Utils 0.120import Utils 0.1
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Application 0.122import Unity.Application 0.1
2323
24SpreadDelegate {24SpreadDelegate {
2525
=== modified file 'qml/Stages/WindowDecoration.qml'
--- qml/Stages/WindowDecoration.qml 2015-03-13 19:18:35 +0000
+++ qml/Stages/WindowDecoration.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.3
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import "../Components"21import "../Components"
2222
23Item {23Item {
2424
=== modified file 'qml/Stages/WindowMoveResizeArea.qml'
--- qml/Stages/WindowMoveResizeArea.qml 2015-03-13 19:01:32 +0000
+++ qml/Stages/WindowMoveResizeArea.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.3
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Utils 0.121import Utils 0.1
2222
23MouseArea {23MouseArea {
2424
=== modified file 'qml/Tutorial/Arrow.qml'
--- qml/Tutorial/Arrow.qml 2014-12-18 23:32:42 +0000
+++ qml/Tutorial/Arrow.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Tutorial/Slider.qml'
--- qml/Tutorial/Slider.qml 2015-01-09 21:51:24 +0000
+++ qml/Tutorial/Slider.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Tutorial/Tick.qml'
--- qml/Tutorial/Tick.qml 2015-01-06 14:46:52 +0000
+++ qml/Tutorial/Tick.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20MouseArea {20MouseArea {
21 implicitHeight: tick.height21 implicitHeight: tick.height
2222
=== modified file 'qml/Tutorial/Tutorial.qml'
--- qml/Tutorial/Tutorial.qml 2015-04-03 14:23:02 +0000
+++ qml/Tutorial/Tutorial.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Tutorial/TutorialBottom.qml'
--- qml/Tutorial/TutorialBottom.qml 2015-04-10 21:16:37 +0000
+++ qml/Tutorial/TutorialBottom.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import "../Components"20import "../Components"
21import "." as LocalComponents21import "." as LocalComponents
2222
=== modified file 'qml/Tutorial/TutorialBottomFinish.qml'
--- qml/Tutorial/TutorialBottomFinish.qml 2015-01-06 14:46:52 +0000
+++ qml/Tutorial/TutorialBottomFinish.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "." as LocalComponents19import "." as LocalComponents
2020
21TutorialPage {21TutorialPage {
2222
=== modified file 'qml/Tutorial/TutorialContent.qml'
--- qml/Tutorial/TutorialContent.qml 2015-04-03 14:23:02 +0000
+++ qml/Tutorial/TutorialContent.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 id: root21 id: root
2222
=== modified file 'qml/Tutorial/TutorialLeft.qml'
--- qml/Tutorial/TutorialLeft.qml 2015-06-16 22:25:29 +0000
+++ qml/Tutorial/TutorialLeft.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "." as LocalComponents19import "." as LocalComponents
2020
21TutorialPage {21TutorialPage {
2222
=== modified file 'qml/Tutorial/TutorialLeftFinish.qml'
--- qml/Tutorial/TutorialLeftFinish.qml 2015-01-06 14:46:52 +0000
+++ qml/Tutorial/TutorialLeftFinish.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "." as LocalComponents19import "." as LocalComponents
2020
21TutorialPage {21TutorialPage {
2222
=== modified file 'qml/Tutorial/TutorialPage.qml'
--- qml/Tutorial/TutorialPage.qml 2015-01-09 21:51:24 +0000
+++ qml/Tutorial/TutorialPage.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Showable {21Showable {
2222
=== modified file 'qml/Tutorial/TutorialRight.qml'
--- qml/Tutorial/TutorialRight.qml 2015-02-18 21:31:54 +0000
+++ qml/Tutorial/TutorialRight.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import Unity.Application 0.120import Unity.Application 0.1
21import "../Components"21import "../Components"
2222
=== modified file 'qml/Wizard/CheckableSetting.qml'
--- qml/Wizard/CheckableSetting.qml 2014-11-14 17:47:00 +0000
+++ qml/Wizard/CheckableSetting.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItem19import Ubuntu.Components.ListItems 1.3 as ListItem
2020
21ListItem.Empty {21ListItem.Empty {
22 id: listItem22 id: listItem
@@ -77,7 +77,7 @@
77 rightMargin: listItem.rightMargin77 rightMargin: listItem.rightMargin
78 }78 }
79 wrapMode: Text.Wrap79 wrapMode: Text.Wrap
80 linkColor: Theme.palette.normal.foregroundText80 linkColor: theme.palette.normal.foregroundText
81 onLinkActivated: listItem.linkActivated(link)81 onLinkActivated: listItem.linkActivated(link)
82 }82 }
83 }83 }
8484
=== modified file 'qml/Wizard/Page.qml'
--- qml/Wizard/Page.qml 2015-03-13 10:07:57 +0000
+++ qml/Wizard/Page.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013 Canonical, Ltd.2 * Copyright (C) 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20Item {20Item {
21 readonly property real buttonMargin: units.gu(2)21 readonly property real buttonMargin: units.gu(2)
@@ -57,7 +57,7 @@
57 }57 }
58 wrapMode: Text.Wrap58 wrapMode: Text.Wrap
59 text: title59 text: title
60 color: Theme.palette.normal.baseText60 color: theme.palette.normal.baseText
61 font.pixelSize: units.gu(4)61 font.pixelSize: units.gu(4)
62 }62 }
6363
6464
=== modified file 'qml/Wizard/Pages.qml'
--- qml/Wizard/Pages.qml 2015-03-03 14:42:10 +0000
+++ qml/Wizard/Pages.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.SystemSettings.SecurityPrivacy 1.019import Ubuntu.SystemSettings.SecurityPrivacy 1.0
20import Wizard 0.120import Wizard 0.1
21import "../Components"21import "../Components"
2222
=== modified file 'qml/Wizard/Pages/10-welcome.qml'
--- qml/Wizard/Pages/10-welcome.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/10-welcome.qml 2015-07-22 14:32:16 +0000
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 0.119import Ubuntu.Components.ListItems 1.3
20import Ubuntu.SystemSettings.LanguagePlugin 1.020import Ubuntu.SystemSettings.LanguagePlugin 1.0
21import Wizard 0.121import Wizard 0.1
22import ".." as LocalComponents22import ".." as LocalComponents
2323
=== modified file 'qml/Wizard/Pages/20-sim.qml'
--- qml/Wizard/Pages/20-sim.qml 2015-05-19 18:56:17 +0000
+++ qml/Wizard/Pages/20-sim.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import MeeGo.QOfono 0.218import MeeGo.QOfono 0.2
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import ".." as LocalComponents20import ".." as LocalComponents
2121
22LocalComponents.Page {22LocalComponents.Page {
2323
=== modified file 'qml/Wizard/Pages/30-passwd-type.qml'
--- qml/Wizard/Pages/30-passwd-type.qml 2015-03-13 10:07:57 +0000
+++ qml/Wizard/Pages/30-passwd-type.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,8 +15,8 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.019import Ubuntu.Components.ListItems 1.3
20import Ubuntu.SystemSettings.SecurityPrivacy 1.020import Ubuntu.SystemSettings.SecurityPrivacy 1.0
21import ".." as LocalComponents21import ".." as LocalComponents
2222
@@ -111,13 +111,13 @@
111111
112 Component.onCompleted: {112 Component.onCompleted: {
113 // A visible selected background looks bad in ListItem widgets with our theme113 // A visible selected background looks bad in ListItem widgets with our theme
114 originalBackground = Theme.palette.selected.background114 originalBackground = theme.palette.selected.background
115 Theme.palette.selected.background = "transparent"115 theme.palette.selected.background = "transparent"
116 }116 }
117117
118 Component.onDestruction: {118 Component.onDestruction: {
119 // Restore original theme background119 // Restore original theme background
120 Theme.palette.selected.background = originalBackground120 theme.palette.selected.background = originalBackground
121 }121 }
122 }122 }
123 }123 }
124124
=== modified file 'qml/Wizard/Pages/40-wifi.qml'
--- qml/Wizard/Pages/40-wifi.qml 2015-02-03 15:00:26 +0000
+++ qml/Wizard/Pages/40-wifi.qml 2015-07-22 14:32:16 +0000
@@ -17,8 +17,8 @@
17import QtQuick 2.017import QtQuick 2.0
18import QMenuModel 0.1 as QMenuModel18import QMenuModel 0.1 as QMenuModel
19import QtSystemInfo 5.019import QtSystemInfo 5.0
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Ubuntu.Components.ListItems 0.1 as ListItem21import Ubuntu.Components.ListItems 1.3 as ListItem
22import Ubuntu.Settings.Menus 0.1 as Menus22import Ubuntu.Settings.Menus 0.1 as Menus
23import ".." as LocalComponents23import ".." as LocalComponents
2424
2525
=== modified file 'qml/Wizard/Pages/50-location.qml'
--- qml/Wizard/Pages/50-location.qml 2015-06-22 10:01:15 +0000
+++ qml/Wizard/Pages/50-location.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013,2014 Canonical, Ltd.2 * Copyright (C) 2013-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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
18import AccountsService 0.118import AccountsService 0.1
19import QMenuModel 0.1 as QMenuModel19import QMenuModel 0.1 as QMenuModel
20import Qt.labs.folderlistmodel 2.120import Qt.labs.folderlistmodel 2.1
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import ".." as LocalComponents22import ".." as LocalComponents
2323
24LocalComponents.Page {24LocalComponents.Page {
@@ -98,7 +98,7 @@
98 anchors.leftMargin: hereCheck.labelOffset98 anchors.leftMargin: hereCheck.labelOffset
99 anchors.right: parent.right99 anchors.right: parent.right
100 wrapMode: Text.Wrap100 wrapMode: Text.Wrap
101 linkColor: Theme.palette.normal.foregroundText101 linkColor: theme.palette.normal.foregroundText
102 // Translators: HERE is a trademark for Nokia's location service, you probably shouldn't translate it102 // Translators: HERE is a trademark for Nokia's location service, you probably shouldn't translate it
103 text: i18n.tr("By selecting this option you agree to the Nokia HERE <a href='#'>terms and conditions</a>.")103 text: i18n.tr("By selecting this option you agree to the Nokia HERE <a href='#'>terms and conditions</a>.")
104 onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml"))104 onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml"))
105105
=== modified file 'qml/Wizard/Pages/60-reporting.qml'
--- qml/Wizard/Pages/60-reporting.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/60-reporting.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import ".." as LocalComponents19import ".." as LocalComponents
2020
21LocalComponents.Page {21LocalComponents.Page {
2222
=== modified file 'qml/Wizard/Pages/80-finished.qml'
--- qml/Wizard/Pages/80-finished.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/80-finished.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import ".." as LocalComponents19import ".." as LocalComponents
2020
21LocalComponents.Page {21LocalComponents.Page {
2222
=== modified file 'qml/Wizard/Pages/here-terms.qml'
--- qml/Wizard/Pages/here-terms.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/here-terms.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
17import QtQuick 2.317import QtQuick 2.3
18import AccountsService 0.118import AccountsService 0.1
19import Qt.labs.folderlistmodel 2.119import Qt.labs.folderlistmodel 2.1
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.Web 0.221import Ubuntu.Web 0.2
22import ".." as LocalComponents22import ".." as LocalComponents
2323
@@ -102,7 +102,7 @@
102 anchors.left: parent.left102 anchors.left: parent.left
103 anchors.right: parent.right103 anchors.right: parent.right
104 wrapMode: Text.Wrap104 wrapMode: Text.Wrap
105 linkColor: Theme.palette.normal.foregroundText105 linkColor: theme.palette.normal.foregroundText
106 onLinkActivated: {106 onLinkActivated: {
107 webview.url = link107 webview.url = link
108 termsLabel.visible = false108 termsLabel.visible = false
109109
=== modified file 'qml/Wizard/Pages/passwd-confirm.qml'
--- qml/Wizard/Pages/passwd-confirm.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/passwd-confirm.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.SystemSettings.SecurityPrivacy 1.019import Ubuntu.SystemSettings.SecurityPrivacy 1.0
20import ".." as LocalComponents20import ".." as LocalComponents
21import "../../Components" as UnityComponents21import "../../Components" as UnityComponents
2222
=== modified file 'qml/Wizard/Pages/passwd-set.qml'
--- qml/Wizard/Pages/passwd-set.qml 2014-11-21 19:28:16 +0000
+++ qml/Wizard/Pages/passwd-set.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.SystemSettings.SecurityPrivacy 1.019import Ubuntu.SystemSettings.SecurityPrivacy 1.0
20import ".." as LocalComponents20import ".." as LocalComponents
21import "../../Components" as UnityComponents21import "../../Components" as UnityComponents
2222
=== modified file 'qml/Wizard/StackButton.qml'
--- qml/Wizard/StackButton.qml 2014-11-14 17:47:00 +0000
+++ qml/Wizard/StackButton.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2014 Canonical, Ltd.2 * Copyright (C) 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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
1919
20AbstractButton {20AbstractButton {
21 id: stackButton21 id: stackButton
@@ -32,7 +32,7 @@
32 anchors.verticalCenter: parent.verticalCenter32 anchors.verticalCenter: parent.verticalCenter
33 anchors.left: parent.left33 anchors.left: parent.left
34 anchors.right: parent.right34 anchors.right: parent.right
35 color: enabled ? Theme.palette.selected.backgroundText : Qt.darker(Theme.palette.selected.backgroundText, 1.5)35 color: enabled ? theme.palette.selected.backgroundText : Qt.darker(theme.palette.selected.backgroundText, 1.5)
36 text: {36 text: {
37 if (backArrow) {37 if (backArrow) {
38 // Translators: This is the arrow for "Back" buttons38 // Translators: This is the arrow for "Back" buttons
3939
=== modified file 'qml/Wizard/Wizard.qml'
--- qml/Wizard/Wizard.qml 2015-03-11 14:48:45 +0000
+++ qml/Wizard/Wizard.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Wizard 0.119import Wizard 0.1
20import "../Components"20import "../Components"
2121
2222
=== modified file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt 2015-07-09 20:22:36 +0000
+++ tests/CMakeLists.txt 2015-07-22 14:32:16 +0000
@@ -126,3 +126,4 @@
126add_subdirectory(plugins)126add_subdirectory(plugins)
127add_subdirectory(qmltests)127add_subdirectory(qmltests)
128add_subdirectory(whitespace)128add_subdirectory(whitespace)
129add_subdirectory(sdk)
129130
=== modified file 'tests/plugins/Dash/cardcreator/1.res'
--- tests/plugins/Dash/cardcreator/1.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/1.res 2015-07-22 14:32:16 +0000
@@ -87,7 +87,7 @@
87 wrapMode: Text.Wrap; 87 wrapMode: Text.Wrap;
88 maximumLineCount: 2; 88 maximumLineCount: 2;
89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
90 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;90 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
91 visible: showHeader ; 91 visible: showHeader ;
92 width: undefined;92 width: undefined;
93 text: root.title; 93 text: root.title;
9494
=== modified file 'tests/plugins/Dash/cardcreator/2.res'
--- tests/plugins/Dash/cardcreator/2.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/2.res 2015-07-22 14:32:16 +0000
@@ -88,7 +88,7 @@
88 wrapMode: Text.Wrap; 88 wrapMode: Text.Wrap;
89 maximumLineCount: 2; 89 maximumLineCount: 2;
90 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 90 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
91 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");91 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
92 visible: showHeader ; 92 visible: showHeader ;
93 width: undefined;93 width: undefined;
94 text: root.title; 94 text: root.title;
@@ -108,7 +108,7 @@
108 maximumLineCount: 1; 108 maximumLineCount: 1;
109 fontSize: "x-small"; 109 fontSize: "x-small";
110 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 110 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
111 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");111 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
112 visible: titleLabel.visible && titleLabel.text; 112 visible: titleLabel.visible && titleLabel.text;
113 text: cardData && cardData["subtitle"] || ""; 113 text: cardData && cardData["subtitle"] || "";
114 font.weight: Font.Light; 114 font.weight: Font.Light;
115115
=== modified file 'tests/plugins/Dash/cardcreator/3.res'
--- tests/plugins/Dash/cardcreator/3.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/3.res 2015-07-22 14:32:16 +0000
@@ -87,7 +87,7 @@
87 wrapMode: Text.Wrap; 87 wrapMode: Text.Wrap;
88 maximumLineCount: 2; 88 maximumLineCount: 2;
89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
90 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;90 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
91 visible: showHeader ; 91 visible: showHeader ;
92 width: undefined;92 width: undefined;
93 text: root.title; 93 text: root.title;
@@ -107,7 +107,7 @@
107 maximumLineCount: 1; 107 maximumLineCount: 1;
108 fontSize: "x-small"; 108 fontSize: "x-small";
109 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 109 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
110 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;110 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
111 visible: titleLabel.visible && titleLabel.text; 111 visible: titleLabel.visible && titleLabel.text;
112 text: cardData && cardData["subtitle"] || ""; 112 text: cardData && cardData["subtitle"] || "";
113 font.weight: Font.Light; 113 font.weight: Font.Light;
114114
=== modified file 'tests/plugins/Dash/cardcreator/4.res'
--- tests/plugins/Dash/cardcreator/4.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/4.res 2015-07-22 14:32:16 +0000
@@ -72,7 +72,7 @@
72 wrapMode: Text.Wrap; 72 wrapMode: Text.Wrap;
73 maximumLineCount: 2; 73 maximumLineCount: 2;
74 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 74 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
75 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;75 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
76 visible: showHeader ; 76 visible: showHeader ;
77 width: undefined;77 width: undefined;
78 text: root.title; 78 text: root.title;
@@ -92,7 +92,7 @@
92 maximumLineCount: 1; 92 maximumLineCount: 1;
93 fontSize: "x-small"; 93 fontSize: "x-small";
94 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 94 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
95 color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;95 color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
96 visible: titleLabel.visible && titleLabel.text; 96 visible: titleLabel.visible && titleLabel.text;
97 text: cardData && cardData["subtitle"] || ""; 97 text: cardData && cardData["subtitle"] || "";
98 font.weight: Font.Light; 98 font.weight: Font.Light;
9999
=== modified file 'tests/plugins/Dash/cardcreator/5.res'
--- tests/plugins/Dash/cardcreator/5.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/5.res 2015-07-22 14:32:16 +0000
@@ -131,7 +131,7 @@
131 wrapMode: Text.Wrap; 131 wrapMode: Text.Wrap;
132 maximumLineCount: 2; 132 maximumLineCount: 2;
133 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 133 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
134 color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");134 color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
135 visible: showHeader && overlayLoader.active; 135 visible: showHeader && overlayLoader.active;
136 width: undefined;136 width: undefined;
137 text: root.title; 137 text: root.title;
@@ -152,7 +152,7 @@
152 maximumLineCount: 1; 152 maximumLineCount: 1;
153 fontSize: "x-small"; 153 fontSize: "x-small";
154 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 154 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
155 color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");155 color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
156 visible: titleLabel.visible && titleLabel.text; 156 visible: titleLabel.visible && titleLabel.text;
157 text: cardData && cardData["subtitle"] || ""; 157 text: cardData && cardData["subtitle"] || "";
158 font.weight: Font.Light; 158 font.weight: Font.Light;
159159
=== modified file 'tests/plugins/Dash/cardcreator/6.res'
--- tests/plugins/Dash/cardcreator/6.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/6.res 2015-07-22 14:32:16 +0000
@@ -67,7 +67,7 @@
67 wrapMode: Text.Wrap; 67 wrapMode: Text.Wrap;
68 maximumLineCount: 2; 68 maximumLineCount: 2;
69 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 69 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
70 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");70 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
71 visible: showHeader ; 71 visible: showHeader ;
72 width: undefined;72 width: undefined;
73 text: root.title; 73 text: root.title;
@@ -87,7 +87,7 @@
87 maximumLineCount: 1; 87 maximumLineCount: 1;
88 fontSize: "x-small"; 88 fontSize: "x-small";
89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 89 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
90 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");90 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
91 visible: titleLabel.visible && titleLabel.text; 91 visible: titleLabel.visible && titleLabel.text;
92 text: cardData && cardData["subtitle"] || ""; 92 text: cardData && cardData["subtitle"] || "";
93 font.weight: Font.Light; 93 font.weight: Font.Light;
@@ -101,7 +101,7 @@
101 rightMargin: units.gu(1); 101 rightMargin: units.gu(1);
102 } 102 }
103 source: cardData && cardData["emblem"] || ""; 103 source: cardData && cardData["emblem"] || "";
104 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");104 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
105 height: source != "" ? titleLabel.font.pixelSize : 0; 105 height: source != "" ? titleLabel.font.pixelSize : 0;
106 width: implicitWidth > 0 && implicitHeight > 0 ? (implicitWidth / implicitHeight * height) : implicitWidth;106 width: implicitWidth > 0 && implicitHeight > 0 ? (implicitWidth / implicitHeight * height) : implicitWidth;
107 }107 }
108108
=== modified file 'tests/plugins/Dash/cardcreator/7.res'
--- tests/plugins/Dash/cardcreator/7.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/7.res 2015-07-22 14:32:16 +0000
@@ -89,7 +89,7 @@
89 wrapMode: Text.Wrap; 89 wrapMode: Text.Wrap;
90 maximumLineCount: 2; 90 maximumLineCount: 2;
91 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 91 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
92 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");92 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
93 visible: showHeader ; 93 visible: showHeader ;
94 width: undefined;94 width: undefined;
95 text: root.title; 95 text: root.title;
@@ -109,7 +109,7 @@
109 maximumLineCount: 1; 109 maximumLineCount: 1;
110 fontSize: "x-small"; 110 fontSize: "x-small";
111 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 111 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
112 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");112 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
113 visible: titleLabel.visible && titleLabel.text; 113 visible: titleLabel.visible && titleLabel.text;
114 text: cardData && cardData["subtitle"] || ""; 114 text: cardData && cardData["subtitle"] || "";
115 font.weight: Font.Light; 115 font.weight: Font.Light;
@@ -122,7 +122,7 @@
122 rightMargin: units.gu(1);122 rightMargin: units.gu(1);
123 top: subtitleLabel.bottom; 123 top: subtitleLabel.bottom;
124 } 124 }
125 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");125 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
126 fontScale: root.fontScale; 126 fontScale: root.fontScale;
127 model: cardData && cardData["attributes"]; 127 model: cardData && cardData["attributes"];
128 }128 }
129129
=== modified file 'tests/plugins/Dash/cardcreator/8.res'
--- tests/plugins/Dash/cardcreator/8.res 2015-06-22 08:29:55 +0000
+++ tests/plugins/Dash/cardcreator/8.res 2015-07-22 14:32:16 +0000
@@ -80,7 +80,7 @@
80 wrapMode: Text.Wrap; 80 wrapMode: Text.Wrap;
81 maximumLineCount: 2; 81 maximumLineCount: 2;
82 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale); 82 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
83 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white"); 83 color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
84 visible: showHeader ; 84 visible: showHeader ;
85 width: parent.width - x; 85 width: parent.width - x;
86 text: root.title; 86 text: root.title;
8787
=== modified file 'tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml'
--- tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml 2014-10-31 15:13:24 +0000
+++ tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.317import QtQuick 2.3
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Dash 0.120import Dash 0.1
2121
22Rectangle {22Rectangle {
2323
=== modified file 'tests/plugins/Dash/tst_ScopeStyle.qml'
--- tests/plugins/Dash/tst_ScopeStyle.qml 2014-11-20 11:44:44 +0000
+++ tests/plugins/Dash/tst_ScopeStyle.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import QtQuick 2.217import QtQuick 2.2
18import QtTest 1.018import QtTest 1.0
19import Dash 0.119import Dash 0.1
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Utils 0.121import Utils 0.1
2222
23Rectangle {23Rectangle {
2424
=== modified file 'tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml'
--- tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml 2015-04-10 21:16:37 +0000
+++ tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Gestures 0.118import Ubuntu.Gestures 0.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21Item {21Item {
2222
2323
=== modified file 'tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml'
--- tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml 2015-04-10 21:16:37 +0000
+++ tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Gestures 0.118import Ubuntu.Gestures 0.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21Item {21Item {
22 id: root22 id: root
2323
=== modified file 'tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml'
--- tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml 2015-04-10 21:16:37 +0000
+++ tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Gestures 0.118import Ubuntu.Gestures 0.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21Item {21Item {
22 objectName: "rightwardsLauncher"22 objectName: "rightwardsLauncher"
2323
=== modified file 'tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml'
--- tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml 2015-04-10 21:16:37 +0000
+++ tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Gestures 0.118import Ubuntu.Gestures 0.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
2020
21Item {21Item {
22 id: root22 id: root
2323
=== modified file 'tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml'
--- tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml 2015-04-10 21:16:37 +0000
+++ tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Unity.Test 0.119import Unity.Test 0.1
2020
21Rectangle {21Rectangle {
2222
=== modified file 'tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml'
--- tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml 2015-04-17 14:21:43 +0000
+++ tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
20import Unity.Test 0.120import Unity.Test 0.1
2121
2222
=== modified file 'tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml'
--- tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml 2013-11-22 13:43:40 +0000
+++ tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import Ubuntu.Gestures 0.119import Ubuntu.Gestures 0.1
2020
21/*21/*
2222
=== modified file 'tests/qmltests/Components/tst_Dialogs.qml'
--- tests/qmltests/Components/tst_Dialogs.qml 2015-03-26 15:39:30 +0000
+++ tests/qmltests/Components/tst_Dialogs.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.217import QtQuick 2.2
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Unity.Test 0.120import Unity.Test 0.1
2121
22import "../../../qml/Components"22import "../../../qml/Components"
2323
=== modified file 'tests/qmltests/Components/tst_DragHandle.qml'
--- tests/qmltests/Components/tst_DragHandle.qml 2015-04-10 21:16:37 +0000
+++ tests/qmltests/Components/tst_DragHandle.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import QtQuick 2.017import QtQuick 2.0
18import "../../../qml/Components"18import "../../../qml/Components"
19import "tst_DragHandle"19import "tst_DragHandle"
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Ubuntu.Gestures 0.121import Ubuntu.Gestures 0.1
22import Unity.Test 0.122import Unity.Test 0.1
2323
2424
=== modified file 'tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml'
--- tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml 2015-04-10 21:16:37 +0000
+++ tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import "../../../../qml/Components"18import "../../../../qml/Components"
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Gestures 0.120import Ubuntu.Gestures 0.1
2121
22Item {22Item {
2323
=== modified file 'tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml'
--- tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml 2015-04-10 21:16:37 +0000
+++ tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import "../../../../qml/Components"18import "../../../../qml/Components"
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Gestures 0.120import Ubuntu.Gestures 0.1
2121
22Showable {22Showable {
2323
=== modified file 'tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml'
--- tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml 2015-04-10 21:16:37 +0000
+++ tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import "../../../../qml/Components"18import "../../../../qml/Components"
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Ubuntu.Gestures 0.120import Ubuntu.Gestures 0.1
2121
22Showable {22Showable {
2323
=== modified file 'tests/qmltests/Components/tst_LazyImage.qml'
--- tests/qmltests/Components/tst_LazyImage.qml 2014-08-13 10:29:21 +0000
+++ tests/qmltests/Components/tst_LazyImage.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2013 Canonical Ltd.2 * Copyright 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import "../../../qml/Components"19import "../../../qml/Components"
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
22import "tst_LazyImage"22import "tst_LazyImage"
2323
@@ -32,7 +32,7 @@
32 rightMargin: 2 * parent.width / 332 rightMargin: 2 * parent.width / 3
33 }33 }
3434
35 color: Theme.palette.normal.baseText35 color: theme.palette.normal.baseText
3636
37 Column {37 Column {
38 anchors { fill: parent; margins: units.gu(5) }38 anchors { fill: parent; margins: units.gu(5) }
3939
=== modified file 'tests/qmltests/Components/tst_LazyImage/ImageControls.qml'
--- tests/qmltests/Components/tst_LazyImage/ImageControls.qml 2013-12-17 16:04:47 +0000
+++ tests/qmltests/Components/tst_LazyImage/ImageControls.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 0.118import Ubuntu.Components 1.3
19import "../../../../qml/Components"19import "../../../../qml/Components"
2020
21Row {21Row {
2222
=== modified file 'tests/qmltests/Components/tst_Lockscreen.qml'
--- tests/qmltests/Components/tst_Lockscreen.qml 2015-03-18 12:32:08 +0000
+++ tests/qmltests/Components/tst_Lockscreen.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Components"20import "../../../qml/Components"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
2323
24Rectangle {24Rectangle {
2525
=== modified file 'tests/qmltests/Components/tst_Rating.qml'
--- tests/qmltests/Components/tst_Rating.qml 2014-02-13 17:00:06 +0000
+++ tests/qmltests/Components/tst_Rating.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2013 Canonical Ltd.2 * Copyright 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -17,14 +17,14 @@
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import "../../../qml/Components"19import "../../../qml/Components"
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
23Rectangle {23Rectangle {
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(10)26 height: units.gu(10)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 Rating {29 Rating {
30 id: rating30 id: rating
3131
=== modified file 'tests/qmltests/Components/tst_ResponsiveGridView.qml'
--- tests/qmltests/Components/tst_ResponsiveGridView.qml 2014-01-27 18:03:45 +0000
+++ tests/qmltests/Components/tst_ResponsiveGridView.qml 2015-07-22 14:32:16 +0000
@@ -18,8 +18,8 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Components"20import "../../../qml/Components"
21import Ubuntu.Components.ListItems 0.1 as ListItem21import Ubuntu.Components.ListItems 1.3 as ListItem
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
25Item {25Item {
2626
=== modified file 'tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml'
--- tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml 2014-12-19 14:51:35 +0000
+++ tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml 2015-07-22 14:32:16 +0000
@@ -18,8 +18,8 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Components"20import "../../../qml/Components"
21import Ubuntu.Components.ListItems 0.1 as ListItem21import Ubuntu.Components.ListItems 1.3 as ListItem
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Utils 0.123import Utils 0.1
24import Unity.Test 0.1 as UT24import Unity.Test 0.1 as UT
2525
2626
=== modified file 'tests/qmltests/Components/tst_Showable.qml'
--- tests/qmltests/Components/tst_Showable.qml 2015-04-10 15:10:51 +0000
+++ tests/qmltests/Components/tst_Showable.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import ".."21import ".."
22import "../../../qml/Components"22import "../../../qml/Components"
2323
=== modified file 'tests/qmltests/Dash/Previews/tst_Preview.qml'
--- tests/qmltests/Dash/Previews/tst_Preview.qml 2015-03-12 16:08:14 +0000
+++ tests/qmltests/Dash/Previews/tst_Preview.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(60)25 width: units.gu(60)
26 height: units.gu(60)26 height: units.gu(60)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 Item {29 Item {
30 id: shell30 id: shell
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewActions.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewActions.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewActions.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import "../../../../qml/Dash/Previews"19import "../../../../qml/Dash/Previews"
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
2222
2323
24Rectangle {24Rectangle {
2525
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
22import QtMultimedia 5.022import QtMultimedia 5.0
@@ -25,7 +25,7 @@
25 id: root25 id: root
26 width: units.gu(60)26 width: units.gu(60)
27 height: units.gu(80)27 height: units.gu(80)
28 color: Theme.palette.selected.background28 color: theme.palette.selected.background
2929
30 property var tracksModel0: {30 property var tracksModel0: {
31 "tracks": [ ]31 "tracks": [ ]
3232
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewComment.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewComment.qml 2015-07-01 15:48:29 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewComment.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
2323
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml 2015-07-06 11:15:25 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
2323
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property string longText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh.\nLorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh."29 property string longText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh.\nLorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh."
30 property string longText2: "This is a very very very long text. 1 This is a very very very long text. 2 This is a very very very long text. 3 This is a very very very long text. 4 This is a very very very long text. 5 This is a very very very long text. 6 This is a very very very long text. 7 This is a very very very long text. 8 This is a very very very long text. 9 This is a very very very long text. 10 This is a very very very long text. 11 This is a very very very long text."30 property string longText2: "This is a very very very long text. 1 This is a very very very long text. 2 This is a very very very long text. 3 This is a very very very long text. 4 This is a very very very long text. 5 This is a very very very long text. 6 This is a very very very long text. 7 This is a very very very long text. 8 This is a very very very long text. 9 This is a very very very long text. 10 This is a very very very long text. 11 This is a very very very long text."
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewPayments.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewPayments.qml 2015-01-09 09:40:52 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewPayments.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import "../../../../qml/Dash/Previews"19import "../../../../qml/Dash/Previews"
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
2222
23Rectangle {23Rectangle {
24 id: root24 id: root
2525
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewProgress.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewProgress.qml 2014-02-12 16:28:08 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewProgress.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import "../../../../qml/Dash/Previews"19import "../../../../qml/Dash/Previews"
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
2222
23Rectangle {23Rectangle {
24 id: root24 id: root
2525
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property var reviewsModel0: {29 property var reviewsModel0: {
30 "reviews": [ ]30 "reviews": [ ]
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml 2015-05-08 13:12:02 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property var widgetData0: { "visible": "both", "required": "both", author: "Some dude", rating: 4.5, review: "Very cool app" }29 property var widgetData0: { "visible": "both", "required": "both", author: "Some dude", rating: 4.5, review: "Very cool app" }
3030
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml 2015-02-17 15:06:33 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property real validInputRating: 129 property real validInputRating: 1
30 property real invalidInputRating: -130 property real invalidInputRating: -1
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewTable.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewTable.qml 2015-04-13 11:08:53 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewTable.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property var widgetDataComplete: {29 property var widgetDataComplete: {
30 "title": "Title here longa long long long long long long long long long long",30 "title": "Title here longa long long long long long long long long long long",
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml 2014-08-01 09:55:04 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import "../../../../qml/Dash/Previews"20import "../../../../qml/Dash/Previews"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
@@ -24,7 +24,7 @@
24 id: root24 id: root
25 width: units.gu(40)25 width: units.gu(40)
26 height: units.gu(80)26 height: units.gu(80)
27 color: Theme.palette.selected.background27 color: theme.palette.selected.background
2828
29 property var widgetDataComplete: {29 property var widgetDataComplete: {
30 "title": "Title here",30 "title": "Title here",
3131
=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml'
--- tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml 2015-07-01 15:48:29 +0000
+++ tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
23 id: root23 id: root
24 width: units.gu(60)24 width: units.gu(60)
25 height: units.gu(80)25 height: units.gu(80)
26 color: Theme.palette.selected.background26 color: theme.palette.selected.background
2727
28 PreviewWidgetFactory {28 PreviewWidgetFactory {
29 id: factory29 id: factory
3030
=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml'
--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import "../../../../qml/Dash/ScopeSettings"20import "../../../../qml/Dash/ScopeSettings"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml'
--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml 2014-08-27 08:07:33 +0000
+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import "../../../../qml/Dash/ScopeSettings"20import "../../../../qml/Dash/ScopeSettings"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml'
--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import "../../../../qml/Dash/ScopeSettings"20import "../../../../qml/Dash/ScopeSettings"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml'
--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import "../../../../qml/Dash/ScopeSettings"20import "../../../../qml/Dash/ScopeSettings"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml'
--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml 2014-08-26 14:21:29 +0000
+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import "../../../../qml/Dash/ScopeSettings"20import "../../../../qml/Dash/ScopeSettings"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
=== modified file 'tests/qmltests/Dash/tst_Card.qml'
--- tests/qmltests/Dash/tst_Card.qml 2015-07-08 09:11:50 +0000
+++ tests/qmltests/Dash/tst_Card.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (C) 2013 Canonical, Ltd.2 * Copyright (C) 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import "../../../qml/Dash"21import "../../../qml/Dash"
22import "CardHelpers.js" as Helpers22import "CardHelpers.js" as Helpers
@@ -522,7 +522,7 @@
522522
523 background.color = data.tag;523 background.color = data.tag;
524524
525 var fontColor = data.dark ? Theme.palette.normal.baseText : "white";525 var fontColor = data.dark ? theme.palette.normal.baseText : "white";
526526
527 tryCompareFunction(function() { return Qt.colorEqual(summary.color, fontColor); }, true);527 tryCompareFunction(function() { return Qt.colorEqual(summary.color, fontColor); }, true);
528 tryCompareFunction(function() { return Qt.colorEqual(title.color, fontColor); }, true);528 tryCompareFunction(function() { return Qt.colorEqual(title.color, fontColor); }, true);
529529
=== modified file 'tests/qmltests/Dash/tst_CardBenchmark.qml'
--- tests/qmltests/Dash/tst_CardBenchmark.qml 2014-05-02 14:57:27 +0000
+++ tests/qmltests/Dash/tst_CardBenchmark.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import "../../../qml/Dash"21import "../../../qml/Dash"
22import "CardHelpers.js" as Helpers22import "CardHelpers.js" as Helpers
2323
=== modified file 'tests/qmltests/Dash/tst_CardTool.qml'
--- tests/qmltests/Dash/tst_CardTool.qml 2015-07-08 09:00:00 +0000
+++ tests/qmltests/Dash/tst_CardTool.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import "../../../qml/Dash"21import "../../../qml/Dash"
22import "CardHelpers.js" as Helpers22import "CardHelpers.js" as Helpers
2323
=== modified file 'tests/qmltests/Dash/tst_Dash.qml'
--- tests/qmltests/Dash/tst_Dash.qml 2015-03-27 12:30:24 +0000
+++ tests/qmltests/Dash/tst_Dash.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import "../../../qml/Dash"19import "../../../qml/Dash"
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
2222
23Item {23Item {
@@ -319,7 +319,7 @@
319319
320 // Click on the store320 // Click on the store
321 var scopesListPageHeader = findChild(scopesList, "pageHeader");321 var scopesListPageHeader = findChild(scopesList, "pageHeader");
322 var searchButton = findChild(scopesListPageHeader, "store_header_button");322 var searchButton = findChild(scopesListPageHeader, "store_action_button");
323 mouseClick(searchButton);323 mouseClick(searchButton);
324324
325 spy.wait();325 spy.wait();
326326
=== modified file 'tests/qmltests/Dash/tst_DashContent.qml'
--- tests/qmltests/Dash/tst_DashContent.qml 2015-05-07 10:32:17 +0000
+++ tests/qmltests/Dash/tst_DashContent.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import "../../../qml/Dash"19import "../../../qml/Dash"
20import "../../../qml/Components"20import "../../../qml/Components"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity 0.222import Unity 0.2
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
24import Utils 0.124import Utils 0.1
2525
=== modified file 'tests/qmltests/Dash/tst_GenericScopeView.qml'
--- tests/qmltests/Dash/tst_GenericScopeView.qml 2015-07-08 09:24:12 +0000
+++ tests/qmltests/Dash/tst_GenericScopeView.qml 2015-07-22 14:32:16 +0000
@@ -20,7 +20,7 @@
20import ".."20import ".."
21import "../../../qml/Dash"21import "../../../qml/Dash"
22import "../../../qml/Components"22import "../../../qml/Components"
23import Ubuntu.Components 1.123import Ubuntu.Components 1.3
24import Unity.Test 0.1 as UT24import Unity.Test 0.1 as UT
2525
26Item {26Item {
@@ -429,7 +429,7 @@
429 // open429 // open
430 tryCompare(testCase.subPageLoader, "open", false);430 tryCompare(testCase.subPageLoader, "open", false);
431 tryCompare(testCase.subPageLoader, "visible", false);431 tryCompare(testCase.subPageLoader, "visible", false);
432 var settings = findChild(innerHeader, "settings_header_button");432 var settings = findChild(innerHeader, "settings_action_button");
433 mouseClick(settings);433 mouseClick(settings);
434 tryCompare(testCase.subPageLoader, "open", true);434 tryCompare(testCase.subPageLoader, "open", true);
435 tryCompareFunction(function() { return (String(subPageLoader.source)).indexOf("ScopeSettingsPage.qml") != -1; }, true);435 tryCompareFunction(function() { return (String(subPageLoader.source)).indexOf("ScopeSettingsPage.qml") != -1; }, true);
@@ -500,7 +500,7 @@
500 mouseClick(seeAll0);500 mouseClick(seeAll0);
501 verify(category0.expanded);501 verify(category0.expanded);
502 tryCompare(category0, "height", category0.item.expandedHeight + seeAll0.height);502 tryCompare(category0, "height", category0.item.expandedHeight + seeAll0.height);
503 tryCompare(genericScopeView.categoryView, "contentY", units.gu(14));503 tryCompare(genericScopeView.categoryView, "contentY", units.gu(13));
504504
505 scrollToEnd();505 scrollToEnd();
506506
@@ -577,7 +577,7 @@
577 verify(innerHeader, "Could not find the inner header");577 verify(innerHeader, "Could not find the inner header");
578578
579 expectFail("Apps", "Click scope should not have a favorite button");579 expectFail("Apps", "Click scope should not have a favorite button");
580 var favoriteAction = findChild(innerHeader, "favorite_header_button");580 var favoriteAction = findChild(innerHeader, "favorite_action_button");
581 verify(favoriteAction, "Could not find the favorite action.");581 verify(favoriteAction, "Could not find the favorite action.");
582 mouseClick(favoriteAction);582 mouseClick(favoriteAction);
583583
584584
=== modified file 'tests/qmltests/Dash/tst_PageHeader.qml'
--- tests/qmltests/Dash/tst_PageHeader.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Dash/tst_PageHeader.qml 2015-07-22 14:32:16 +0000
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright 2013 Canonical Ltd.2 * Copyright 2013,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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Dash"20import "../../../qml/Dash"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity 0.222import Unity 0.2
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
@@ -244,7 +244,7 @@
244 searchEntryEnabled: true244 searchEntryEnabled: true
245 title: "%^$%^%^&%^&%^$%GHR%"245 title: "%^$%^%^&%^&%^$%GHR%"
246 scopeStyle: QtObject {246 scopeStyle: QtObject {
247 readonly property color foreground: Theme.palette.normal.baseText247 readonly property color foreground: theme.palette.normal.baseText
248 readonly property url headerLogo: showImageCheckBox.checked ? pageHeader.titleImageSource : ""248 readonly property url headerLogo: showImageCheckBox.checked ? pageHeader.titleImageSource : ""
249 }249 }
250 showBackButton: showBackButtonCheckBox.checked250 showBackButton: showBackButtonCheckBox.checked
251251
=== modified file 'tests/qmltests/Dash/tst_PreviewListView.qml'
--- tests/qmltests/Dash/tst_PreviewListView.qml 2015-03-20 17:31:23 +0000
+++ tests/qmltests/Dash/tst_PreviewListView.qml 2015-07-22 14:32:16 +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 General Public License as published by5 * it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import "../../../qml/Dash"20import "../../../qml/Dash"
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
22import Unity 0.2 as Unity22import Unity 0.2 as Unity
@@ -26,7 +26,7 @@
26 id: root26 id: root
27 width: units.gu(60)27 width: units.gu(60)
28 height: units.gu(60)28 height: units.gu(60)
29 color: Theme.palette.selected.background29 color: theme.palette.selected.background
3030
31 Unity.MockScope {31 Unity.MockScope {
32 id: mockScope32 id: mockScope
3333
=== modified file 'tests/qmltests/Greeter/TestView.qml'
--- tests/qmltests/Greeter/TestView.qml 2015-02-23 15:43:41 +0000
+++ tests/qmltests/Greeter/TestView.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.317import QtQuick 2.3
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import "../Components"19import "../Components"
2020
21Item {21Item {
2222
=== modified file 'tests/qmltests/Greeter/tst_Clock.qml'
--- tests/qmltests/Greeter/tst_Clock.qml 2014-10-17 14:55:35 +0000
+++ tests/qmltests/Greeter/tst_Clock.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Greeter"20import "../../../qml/Greeter"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Indicators 0.1 as Indicators22import Unity.Indicators 0.1 as Indicators
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
2525
=== modified file 'tests/qmltests/Greeter/tst_Greeter.qml'
--- tests/qmltests/Greeter/tst_Greeter.qml 2015-03-02 21:34:02 +0000
+++ tests/qmltests/Greeter/tst_Greeter.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Greeter"20import "../../../qml/Greeter"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import AccountsService 0.122import AccountsService 0.1
23import LightDM 0.1 as LightDM23import LightDM 0.1 as LightDM
24import Unity.Test 0.1 as UT24import Unity.Test 0.1 as UT
2525
=== modified file 'tests/qmltests/Greeter/tst_Infographics.qml'
--- tests/qmltests/Greeter/tst_Infographics.qml 2015-01-20 11:50:19 +0000
+++ tests/qmltests/Greeter/tst_Infographics.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Greeter"20import "../../../qml/Greeter"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
23import LightDM 0.1 as LightDM23import LightDM 0.1 as LightDM
2424
2525
=== modified file 'tests/qmltests/Greeter/tst_NarrowView.qml'
--- tests/qmltests/Greeter/tst_NarrowView.qml 2015-02-23 15:43:41 +0000
+++ tests/qmltests/Greeter/tst_NarrowView.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import ".."19import ".."
20import "../../../qml/Greeter"20import "../../../qml/Greeter"
21import LightDM 0.1 as LightDM21import LightDM 0.1 as LightDM
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
25Item {25Item {
2626
=== modified file 'tests/qmltests/Greeter/tst_WideView.qml'
--- tests/qmltests/Greeter/tst_WideView.qml 2015-03-10 17:59:41 +0000
+++ tests/qmltests/Greeter/tst_WideView.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import ".."19import ".."
20import "../../../qml/Greeter"20import "../../../qml/Greeter"
21import LightDM 0.1 as LightDM21import LightDM 0.1 as LightDM
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
25Item {25Item {
2626
=== modified file 'tests/qmltests/Launcher/tst_Launcher.qml'
--- tests/qmltests/Launcher/tst_Launcher.qml 2015-04-24 09:53:37 +0000
+++ tests/qmltests/Launcher/tst_Launcher.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import Unity.Test 0.120import Unity.Test 0.1
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import ".."22import ".."
23import "../../../qml/Launcher"23import "../../../qml/Launcher"
24import Unity.Launcher 0.124import Unity.Launcher 0.1
2525
=== modified file 'tests/qmltests/Notifications/tst_Notifications.qml'
--- tests/qmltests/Notifications/tst_Notifications.qml 2015-02-13 11:40:07 +0000
+++ tests/qmltests/Notifications/tst_Notifications.qml 2015-07-22 14:32:16 +0000
@@ -21,7 +21,7 @@
21import QtTest 1.021import QtTest 1.0
22import ".."22import ".."
23import "../../../qml/Notifications"23import "../../../qml/Notifications"
24import Ubuntu.Components 0.124import Ubuntu.Components 1.3
25import Unity.Test 0.125import Unity.Test 0.1
26import Unity.Notifications 1.026import Unity.Notifications 1.0
27import QtMultimedia 5.027import QtMultimedia 5.0
2828
=== modified file 'tests/qmltests/Notifications/tst_OptionToggle.qml'
--- tests/qmltests/Notifications/tst_OptionToggle.qml 2015-01-26 14:25:29 +0000
+++ tests/qmltests/Notifications/tst_OptionToggle.qml 2015-07-22 14:32:16 +0000
@@ -21,7 +21,7 @@
21import QtTest 1.021import QtTest 1.0
22import ".."22import ".."
23import "../../../qml/Notifications"23import "../../../qml/Notifications"
24import Ubuntu.Components 0.124import Ubuntu.Components 1.3
25import Unity.Test 0.125import Unity.Test 0.1
26import Unity.Notifications 1.026import Unity.Notifications 1.0
27import QtMultimedia 5.027import QtMultimedia 5.0
2828
=== modified file 'tests/qmltests/Notifications/tst_SwipeToAct.qml'
--- tests/qmltests/Notifications/tst_SwipeToAct.qml 2015-01-26 12:16:11 +0000
+++ tests/qmltests/Notifications/tst_SwipeToAct.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Notifications"20import "../../../qml/Notifications"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.122import Unity.Test 0.1
23import Unity.Notifications 1.023import Unity.Notifications 1.0
2424
2525
=== modified file 'tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml'
--- tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import ".."19import ".."
20import "../../../qml/Notifications"20import "../../../qml/Notifications"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.122import Unity.Test 0.1
23import Unity.Notifications 1.023import Unity.Notifications 1.0
2424
2525
=== modified file 'tests/qmltests/Panel/IndicatorTest.qml'
--- tests/qmltests/Panel/IndicatorTest.qml 2015-01-20 16:21:07 +0000
+++ tests/qmltests/Panel/IndicatorTest.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import "../../../qml/Panel"20import "../../../qml/Panel"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
23import Unity.Indicators 0.1 as Indicators23import Unity.Indicators 0.1 as Indicators
2424
2525
=== modified file 'tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml'
--- tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml 2014-12-11 14:10:18 +0000
+++ tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Unity.Test 0.1 as UT19import Unity.Test 0.1 as UT
20import Unity.Indicators 0.1 as Indicators20import Unity.Indicators 0.1 as Indicators
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Powerd 0.122import Powerd 0.1
23import Lights 0.123import Lights 0.1
24import QMenuModel 0.124import QMenuModel 0.1
2525
=== modified file 'tests/qmltests/Panel/tst_IndicatorItem.qml'
--- tests/qmltests/Panel/tst_IndicatorItem.qml 2014-10-06 09:17:49 +0000
+++ tests/qmltests/Panel/tst_IndicatorItem.qml 2015-07-22 14:32:16 +0000
@@ -17,7 +17,7 @@
17import QtQuick 2.117import QtQuick 2.1
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import Ubuntu.Components 0.120import Ubuntu.Components 1.3
21import Unity.Test 0.1 as UT21import Unity.Test 0.1 as UT
22import "../../../qml/Panel"22import "../../../qml/Panel"
2323
2424
=== modified file 'tests/qmltests/Panel/tst_IndicatorItemRow.qml'
--- tests/qmltests/Panel/tst_IndicatorItemRow.qml 2014-10-17 14:55:35 +0000
+++ tests/qmltests/Panel/tst_IndicatorItemRow.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import "../../../qml/Panel"20import "../../../qml/Panel"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
23import Unity.Indicators 0.1 as Indicators23import Unity.Indicators 0.1 as Indicators
2424
2525
=== modified file 'tests/qmltests/Panel/tst_IndicatorsBar.qml'
--- tests/qmltests/Panel/tst_IndicatorsBar.qml 2015-01-09 09:15:45 +0000
+++ tests/qmltests/Panel/tst_IndicatorsBar.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import "../../../qml/Panel"20import "../../../qml/Panel"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
23import Unity.Indicators 0.1 as Indicators23import Unity.Indicators 0.1 as Indicators
2424
2525
=== modified file 'tests/qmltests/Panel/tst_IndicatorsMenu.qml'
--- tests/qmltests/Panel/tst_IndicatorsMenu.qml 2015-03-06 04:44:11 +0000
+++ tests/qmltests/Panel/tst_IndicatorsMenu.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import "../../../qml/Panel"20import "../../../qml/Panel"
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Test 0.1 as UT22import Unity.Test 0.1 as UT
23import Unity.Indicators 0.1 as Indicators23import Unity.Indicators 0.1 as Indicators
2424
2525
=== modified file 'tests/qmltests/Panel/tst_Panel.qml'
--- tests/qmltests/Panel/tst_Panel.qml 2015-04-15 11:37:00 +0000
+++ tests/qmltests/Panel/tst_Panel.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import Unity.Test 0.120import Unity.Test 0.1
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Indicators 0.1 as Indicators22import Unity.Indicators 0.1 as Indicators
23import Ubuntu.Telephony 0.1 as Telephony23import Ubuntu.Telephony 0.1 as Telephony
24import "../../../qml/Panel"24import "../../../qml/Panel"
2525
=== modified file 'tests/qmltests/Stages/ApplicationCheckBox.qml'
--- tests/qmltests/Stages/ApplicationCheckBox.qml 2015-06-12 16:07:43 +0000
+++ tests/qmltests/Stages/ApplicationCheckBox.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Unity.Application 0.120import Unity.Application 0.1
2121
22RowLayout {22RowLayout {
2323
=== modified file 'tests/qmltests/Stages/RecursingChildSessionControl.qml'
--- tests/qmltests/Stages/RecursingChildSessionControl.qml 2015-02-12 18:58:35 +0000
+++ tests/qmltests/Stages/RecursingChildSessionControl.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.117import QtQuick 2.1
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Application 0.120import Unity.Application 0.1
2121
22ColumnLayout {22ColumnLayout {
2323
=== modified file 'tests/qmltests/Stages/tst_ApplicationWindow.qml'
--- tests/qmltests/Stages/tst_ApplicationWindow.qml 2015-07-10 15:55:50 +0000
+++ tests/qmltests/Stages/tst_ApplicationWindow.qml 2015-07-22 14:32:16 +0000
@@ -20,8 +20,8 @@
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import ".."21import ".."
22import "../../../qml/Stages"22import "../../../qml/Stages"
23import Ubuntu.Components 0.123import Ubuntu.Components 1.3
24import Ubuntu.Components.ListItems 1.0 as ListItem24import Ubuntu.Components.ListItems 1.3 as ListItem
25import Unity.Application 0.125import Unity.Application 0.1
2626
27Rectangle {27Rectangle {
2828
=== modified file 'tests/qmltests/Stages/tst_DesktopStage.qml'
--- tests/qmltests/Stages/tst_DesktopStage.qml 2015-05-01 13:21:30 +0000
+++ tests/qmltests/Stages/tst_DesktopStage.qml 2015-07-22 14:32:16 +0000
@@ -16,8 +16,8 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.ListItems 1.0 as ListItem20import Ubuntu.Components.ListItems 1.3 as ListItem
21import Unity.Application 0.121import Unity.Application 0.1
22import Unity.Test 0.122import Unity.Test 0.1
23import Utils 0.123import Utils 0.1
2424
=== modified file 'tests/qmltests/Stages/tst_PhoneStage.qml'
--- tests/qmltests/Stages/tst_PhoneStage.qml 2015-06-23 14:20:23 +0000
+++ tests/qmltests/Stages/tst_PhoneStage.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import Unity.Test 0.1 as UT19import Unity.Test 0.1 as UT
20import ".."20import ".."
21import "../../../qml/Stages"21import "../../../qml/Stages"
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Application 0.123import Unity.Application 0.1
2424
25Item {25Item {
2626
=== modified file 'tests/qmltests/Stages/tst_SessionContainer.qml'
--- tests/qmltests/Stages/tst_SessionContainer.qml 2015-03-06 04:44:11 +0000
+++ tests/qmltests/Stages/tst_SessionContainer.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import Ubuntu.Components 0.121import Ubuntu.Components 1.3
22import Unity.Application 0.122import Unity.Application 0.1
23import "../../../qml/Stages"23import "../../../qml/Stages"
2424
2525
=== modified file 'tests/qmltests/Stages/tst_Splash.qml'
--- tests/qmltests/Stages/tst_Splash.qml 2014-09-15 19:05:32 +0000
+++ tests/qmltests/Stages/tst_Splash.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import Unity.Test 0.1 as UT19import Unity.Test 0.1 as UT
20import ".."20import ".."
21import "../../../qml/Stages"21import "../../../qml/Stages"
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Application 0.123import Unity.Application 0.1
2424
25Rectangle {25Rectangle {
2626
=== modified file 'tests/qmltests/Stages/tst_SpreadDelegate.qml'
--- tests/qmltests/Stages/tst_SpreadDelegate.qml 2015-03-06 04:44:11 +0000
+++ tests/qmltests/Stages/tst_SpreadDelegate.qml 2015-07-22 14:32:16 +0000
@@ -19,8 +19,8 @@
19import Unity.Test 0.1 as UT19import Unity.Test 0.1 as UT
20import ".."20import ".."
21import "../../../qml/Stages"21import "../../../qml/Stages"
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Ubuntu.Components.ListItems 1.0 as ListItem23import Ubuntu.Components.ListItems 1.3 as ListItem
24import Unity.Application 0.124import Unity.Application 0.1
2525
26Rectangle {26Rectangle {
2727
=== modified file 'tests/qmltests/Stages/tst_SurfaceContainer.qml'
--- tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-06-25 19:24:41 +0000
+++ tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import Unity.Test 0.119import Unity.Test 0.1
20import ".."20import ".."
21import "../../../qml/Stages"21import "../../../qml/Stages"
22import Ubuntu.Components 0.122import Ubuntu.Components 1.3
23import Unity.Application 0.123import Unity.Application 0.1
2424
25Rectangle {25Rectangle {
2626
=== modified file 'tests/qmltests/Stages/tst_TabletStage.qml'
--- tests/qmltests/Stages/tst_TabletStage.qml 2015-06-12 16:07:43 +0000
+++ tests/qmltests/Stages/tst_TabletStage.qml 2015-07-22 14:32:16 +0000
@@ -16,8 +16,8 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.ListItems 1.0 as ListItem20import Ubuntu.Components.ListItems 1.3 as ListItem
21import Unity.Application 0.121import Unity.Application 0.1
22import Unity.Test 0.122import Unity.Test 0.1
2323
2424
=== modified file 'tests/qmltests/Stages/tst_WindowMoveResizeArea.qml'
--- tests/qmltests/Stages/tst_WindowMoveResizeArea.qml 2015-05-01 10:24:08 +0000
+++ tests/qmltests/Stages/tst_WindowMoveResizeArea.qml 2015-07-22 14:32:16 +0000
@@ -20,8 +20,8 @@
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
21import ".."21import ".."
22import "../../../qml/Stages"22import "../../../qml/Stages"
23import Ubuntu.Components 0.123import Ubuntu.Components 1.3
24import Ubuntu.Components.ListItems 1.0 as ListItem24import Ubuntu.Components.ListItems 1.3 as ListItem
25import Unity.Application 0.125import Unity.Application 0.1
2626
27Item {27Item {
2828
=== modified file 'tests/qmltests/Tutorial/tst_Tutorial.qml'
--- tests/qmltests/Tutorial/tst_Tutorial.qml 2015-07-09 12:44:35 +0000
+++ tests/qmltests/Tutorial/tst_Tutorial.qml 2015-07-22 14:32:16 +0000
@@ -18,7 +18,7 @@
18import QtTest 1.018import QtTest 1.0
19import AccountsService 0.119import AccountsService 0.1
20import LightDM 0.1 as LightDM20import LightDM 0.1 as LightDM
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Unity.Application 0.122import Unity.Application 0.1
23import Unity.Test 0.1 as UT23import Unity.Test 0.1 as UT
2424
2525
=== modified file 'tests/qmltests/Wizard/tst_Wizard.qml'
--- tests/qmltests/Wizard/tst_Wizard.qml 2015-03-03 14:42:10 +0000
+++ tests/qmltests/Wizard/tst_Wizard.qml 2015-07-22 14:32:16 +0000
@@ -19,7 +19,7 @@
19import AccountsService 0.119import AccountsService 0.1
20import MeeGo.QOfono 0.220import MeeGo.QOfono 0.2
21import QMenuModel 0.121import QMenuModel 0.1
22import Ubuntu.Components 1.122import Ubuntu.Components 1.3
23import Ubuntu.SystemSettings.SecurityPrivacy 1.023import Ubuntu.SystemSettings.SecurityPrivacy 1.0
24import Unity.Test 0.1 as UT24import Unity.Test 0.1 as UT
25import Wizard 0.125import Wizard 0.1
@@ -96,7 +96,7 @@
96 }96 }
9797
98 Component.onCompleted: {98 Component.onCompleted: {
99 Theme.name = "Ubuntu.Components.Themes.SuruGradient";99 theme.name = "Ubuntu.Components.Themes.SuruGradient";
100 setup();100 setup();
101 }101 }
102102
103103
=== modified file 'tests/qmltests/tst_OrientedShell.qml'
--- tests/qmltests/tst_OrientedShell.qml 2015-07-10 14:44:55 +0000
+++ tests/qmltests/tst_OrientedShell.qml 2015-07-22 14:32:16 +0000
@@ -17,8 +17,8 @@
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import QtTest 1.019import QtTest 1.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.Components.ListItems 1.0 as ListItem21import Ubuntu.Components.ListItems 1.3 as ListItem
22import Unity.Application 0.122import Unity.Application 0.1
23import Unity.Test 0.123import Unity.Test 0.1
24import LightDM 0.1 as LightDM24import LightDM 0.1 as LightDM
2525
=== modified file 'tests/qmltests/tst_Shell.qml'
--- tests/qmltests/tst_Shell.qml 2015-06-23 17:40:03 +0000
+++ tests/qmltests/tst_Shell.qml 2015-07-22 14:32:16 +0000
@@ -19,8 +19,8 @@
19import AccountsService 0.119import AccountsService 0.1
20import GSettings 1.020import GSettings 1.0
21import LightDM 0.1 as LightDM21import LightDM 0.1 as LightDM
22import Ubuntu.Components 1.122import Ubuntu.Components 1.3
23import Ubuntu.Components.ListItems 1.0 as ListItem23import Ubuntu.Components.ListItems 1.3 as ListItem
24import Ubuntu.Telephony 0.1 as Telephony24import Ubuntu.Telephony 0.1 as Telephony
25import Unity.Application 0.125import Unity.Application 0.1
26import Unity.Connectivity 0.126import Unity.Connectivity 0.1
2727
=== modified file 'tests/qmltests/tst_ShellWithPin.qml'
--- tests/qmltests/tst_ShellWithPin.qml 2015-07-14 14:46:16 +0000
+++ tests/qmltests/tst_ShellWithPin.qml 2015-07-22 14:32:16 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.0
18import Ubuntu.Components 1.018import Ubuntu.Components 1.3
19import QtTest 1.019import QtTest 1.0
20import AccountsService 0.120import AccountsService 0.1
21import GSettings 1.021import GSettings 1.0
2222
=== added directory 'tests/sdk'
=== added file 'tests/sdk/CMakeLists.txt'
--- tests/sdk/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ tests/sdk/CMakeLists.txt 2015-07-22 14:32:16 +0000
@@ -0,0 +1,6 @@
1
2#
3# Test that all imports for Ubuntu.Components use the wanted version
4#
5
6add_test(SDK ${CMAKE_CURRENT_SOURCE_DIR}/check_sdk.py ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
07
=== added file 'tests/sdk/check_sdk.py'
--- tests/sdk/check_sdk.py 1970-01-01 00:00:00 +0000
+++ tests/sdk/check_sdk.py 2015-07-22 14:32:16 +0000
@@ -0,0 +1,114 @@
1#! /usr/bin/env python3
2
3#
4# Copyright (C) 2015 Canonical Ltd
5#
6# This program is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License version 3 as
8# published by the Free Software Foundation.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18# Authored by: Michi Henning <michi.henning@canonical.com>
19#
20
21#
22# Little helper program to test that all source files import
23# the wanted SDK version
24#
25# Usage: check_sdk.py directory [ignore_prefix]
26#
27# The directory specifies the (recursive) location of the source files. Any
28# files with a path that starts with ignore_prefix are not checked. This is
29# useful to exclude files that are generated into the build directory.
30#
31# See the file_pat definition below for a list of files that are checked.
32#
33
34from __future__ import print_function
35
36import argparse
37import os
38import re
39import sys
40
41
42# Print msg on stderr, preceded by program name and followed by newline
43def error(msg):
44 print(os.path.basename(sys.argv[0]) + ": " + msg, file=sys.stderr)
45
46
47# Function to raise errors encountered by os.walk
48def raise_error(e):
49 raise e
50
51# Scan lines in file_path for bad SDK version. For each file,
52# print the line numbers that have SDK version issues
53
54ubuntu_components_pat = re.compile(r'.*import Ubuntu.Components.*')
55ubuntu_good_components_pat = re.compile(r'.*import Ubuntu.Components.*1\.3.*')
56
57def scan_for_bad_sdk(file_path):
58 global ubuntu_components_pat
59 errors = []
60 with open(file_path, 'rt', encoding='utf-8') as ifile:
61 for lino, line in enumerate(ifile, start=1):
62 if ubuntu_components_pat.match(line) and not ubuntu_good_components_pat.match(line):
63 errors.append(lino)
64 if 0 < len(errors) <= 10:
65 if len(errors) > 1:
66 plural = 's'
67 else:
68 plural = ''
69 print(
70 "%s: bad SDK Version in line%s %s" % (
71 file_path, plural, ", ".join((str(i) for i in errors))))
72 elif errors:
73 print("%s: bad SDK Version in multiple lines" % file_path)
74 return bool(errors)
75
76# Parse args
77
78parser = argparse.ArgumentParser(
79 description='Test that source files contain the wanted SDK version.')
80parser.add_argument(
81 'dir', nargs=1,
82 help='The directory to (recursively) search for source files')
83parser.add_argument(
84 'ignore_prefix', nargs='?', default=None,
85 help='Ignore source files with a path that starts with the given prefix.')
86args = parser.parse_args()
87
88# Files we want to check for SDK version.
89
90file_pat = (
91 r'(.*\.(js|qml)$)')
92pat = re.compile(file_pat)
93
94# Find all the files with matching file extension in the specified
95# directory and check them
96
97directory = os.path.abspath(args.dir[0])
98ignore = args.ignore_prefix and os.path.abspath(args.ignore_prefix) or None
99
100found_bad_sdk = False
101try:
102 for root, dirs, files in os.walk(directory, onerror=raise_error):
103 for file in files:
104 path = os.path.join(root, file)
105 if not (ignore and path.startswith(ignore)) and pat.match(file):
106 if scan_for_bad_sdk(path):
107 found_bad_sdk = True
108
109except OSError as e:
110 error("cannot create file list for \"" + dir + "\": " + e.strerror)
111 sys.exit(1)
112
113if found_bad_sdk:
114 sys.exit(1)
0115
=== modified file 'tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml'
--- tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml 2015-04-13 13:12:18 +0000
+++ tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtQuick.Layouts 1.118import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Unity.Test 0.120import Unity.Test 0.1
2121
22RowLayout {22RowLayout {
2323
=== modified file 'tests/utils/modules/Unity/Test/UnityTestCase.qml'
--- tests/utils/modules/Unity/Test/UnityTestCase.qml 2015-06-22 12:36:47 +0000
+++ tests/utils/modules/Unity/Test/UnityTestCase.qml 2015-07-22 14:32:16 +0000
@@ -16,7 +16,7 @@
1616
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import Ubuntu.Components 0.119import Ubuntu.Components 1.3
20import Unity.Test 0.1 as UT20import Unity.Test 0.1 as UT
2121
22TestCase {22TestCase {

Subscribers

People subscribed via source and target branches