Merge lp:~dpniel/ubuntu-calendar-app/uitk-1.3 into lp:ubuntu-calendar-app

Proposed by Dan Chapman ξƒΏ
Status: Rejected
Rejected by: Alan Pope 🍺🐧🐱 πŸ¦„
Proposed branch: lp:~dpniel/ubuntu-calendar-app/uitk-1.3
Merge into: lp:ubuntu-calendar-app
Diff against target: 1583 lines (+372/-337)
49 files modified
AgendaView.qml (+2/-2)
AllDayEventComponent.qml (+2/-2)
CalendarChoicePopup.qml (+56/-60)
CalendarListButtonDelegate.qml (+28/-30)
ColorPickerDialog.qml (+3/-3)
ContactChoicePopup.qml (+2/-2)
DayHeaderBackground.qml (+1/-1)
DayView.qml (+2/-2)
DeleteConfirmationDialog.qml (+2/-2)
EditEventConfirmationDialog.qml (+2/-2)
EventActions.qml (+2/-2)
EventBubble.qml (+2/-2)
EventDetails.qml (+41/-23)
EventListModel.qml (+2/-2)
EventReminder.qml (+2/-2)
EventRepetition.qml (+8/-9)
EventUtils.qml (+2/-2)
HeaderDateComponent.qml (+2/-2)
KeyboardRectangle.qml (+1/-1)
LimitLabelModel.qml (+1/-1)
MonthComponent.qml (+2/-2)
MonthComponentDateDelegate.qml (+1/-1)
MonthView.qml (+2/-2)
NewEvent.qml (+80/-68)
NewEventEntryField.qml (+2/-2)
NewEventTimePicker.qml (+2/-2)
OnlineAccountsHelper.qml (+1/-1)
PathViewBase.qml (+1/-1)
RecurrenceLabelDefines.qml (+2/-2)
RemindersModel.qml (+1/-1)
ScrollAnimation.qml (+1/-1)
Scroller.qml (+2/-2)
SectionHeader.qml (+23/-0)
Settings.qml (+20/-31)
TimeLineBackground.qml (+2/-2)
TimeLineBase.qml (+2/-2)
TimeLineBaseComponent.qml (+10/-9)
TimeLineHeader.qml (+1/-1)
TimeLineHeaderComponent.qml (+2/-2)
TimeLineTimeScale.qml (+1/-1)
TimeSeparator.qml (+1/-1)
ViewHeader.qml (+2/-2)
WeekView.qml (+2/-2)
YearView.qml (+2/-3)
YearViewDelegate.qml (+2/-2)
calendar.qml (+4/-4)
calendarTests.qml (+2/-2)
click/manifest.json.in (+1/-1)
po/com.ubuntu.calendar.pot (+35/-35)
To merge this branch: bzr merge lp:~dpniel/ubuntu-calendar-app/uitk-1.3
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Needs Fixing
Jenkins Bot continuous-integration Needs Fixing
Review via email: mp+283591@code.launchpad.net

Commit message

Update to UITK 1.3

Description of the change

Update Calendar to Ubuntu.Components 1.3

All imports have been changed to reflect newer uitk,
also switched all ListItems to use the new ListItem & ListItemLayouts

Not sure if the autopilot tests are working or not. I can't seem to get the environment setup correctly on xenial :-/

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

FAILED: Continuous integration, rev:745
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dpniel/ubuntu-calendar-app/uitk-1.3/+merge/283591/+edit-commit-message

https://core-apps-jenkins.ubuntu.com/job/run-ap-tests-ci/161/
Executed test runs:
    None: https://core-apps-jenkins.ubuntu.com/job/generic-update-mp/442/console

Click here to trigger a rebuild:
https://core-apps-jenkins.ubuntu.com/job/run-ap-tests-ci/161/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Build a click of this merge and installed on my device and it refuses to launch at all, which is odd.

review: Needs Fixing
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Also, this duplicates https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/Uitk1_3/+merge/276338, but this one appears to make further changes?

Revision history for this message
Dan Chapman ξƒΏ (dpniel) wrote :

Ooops sorry guys... I totally missed kunal's branch when I scanned the current branch list.

The further changes in this branch are from upgrading the listitems to the 1.3 ListItem & ListItemLayout and lose the old Ubuntu.Components.ListItems. I see kunal has made some other changes I didn't, so really we need to get them merged together. I'll rebase this and propose a merge against kunal's that updates the ListItems.

Not sure why the click wouldn't launch :-/ Was there anything in the log?

Unmerged revisions

745. By Dan Chapman ξƒΏ

Update Calendar to Ubuntu.Components 1.3

All imports have been changed to reflect newer uitk,
also switched all ListItems to use the new ListItem & ListItemLayouts

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AgendaView.qml'
--- AgendaView.qml 2015-07-11 02:18:03 +0000
+++ AgendaView.qml 2016-01-22 10:25:36 +0000
@@ -16,9 +16,9 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import QtOrganizer 5.020import QtOrganizer 5.0
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Ubuntu.Components.ListItems 1.0 as ListItem22import Ubuntu.Components.ListItems 1.0 as ListItem
23import "dateExt.js" as DateExt23import "dateExt.js" as DateExt
2424
2525
=== modified file 'AllDayEventComponent.qml'
--- AllDayEventComponent.qml 2015-08-07 06:20:23 +0000
+++ AllDayEventComponent.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.0
21import QtOrganizer 5.021import QtOrganizer 5.0
2222
2323
=== modified file 'CalendarChoicePopup.qml'
--- CalendarChoicePopup.qml 2015-05-28 13:56:12 +0000
+++ CalendarChoicePopup.qml 2016-01-22 10:25:36 +0000
@@ -15,10 +15,9 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.1
21import Ubuntu.Components.ListItems 1.0 as ListItem
22import QtOrganizer 5.021import QtOrganizer 5.0
23import Ubuntu.SyncMonitor 0.122import Ubuntu.SyncMonitor 0.1
2423
@@ -74,72 +73,69 @@
74 }73 }
7574
76 model : root.model.getCollections();75 model : root.model.getCollections();
77 delegate: ListItem.Standard {76 delegate: ListItem {
78 id: delegateComp77 id: delegateComp
79 objectName: "calendarItem"78 objectName: "calendarItem"
8079 height: layout.implicitHeight
81 Rectangle {80
82 id: calendarColorCode81 ListItemLayout {
83 objectName: "calendarColorCode"82 id: layout
8483 title.text: modelData.name
85 width: parent.height - units.gu(2)84 title.wrapMode: Text.WrapAnywhere
86 height: width85 title.color: UbuntuColors.midAubergine
8786
88 anchors {87 UbuntuShape {
89 left: parent.left88 id: calendarColorCode
90 leftMargin: units.gu(2)89 objectName: "calendarColorCode"
91 verticalCenter: parent.verticalCenter90 height: units.gu(3)
92 }91 width: height
9392 aspect: UbuntuShape.Flat
94 color: modelData.color93 radius: "small"
95 opacity: checkBox.checked ? 1.0 : 0.894 backgroundColor: modelData.color
9695 opacity: checkBox.checked ? 1.0 : 0.8
97 MouseArea{96
98 anchors.fill: parent97 SlotsLayout.position: SlotsLayout.Leading
99 onClicked: {98
100 //popup dialog99 MouseArea{
101 var dialog = PopupUtils.open(Qt.resolvedUrl("ColorPickerDialog.qml"),root);100 anchors.fill: parent
102 dialog.accepted.connect(function(color) {101 onClicked: {
103 var collection = root.model.collection(modelData.collectionId);102 //popup dialog
104 collection.color = color;103 var dialog = PopupUtils.open(Qt.resolvedUrl("ColorPickerDialog.qml"),root);
105 root.model.saveCollection(collection);104 dialog.accepted.connect(function(color) {
106 })105 var collection = root.model.collection(modelData.collectionId);
107 }106 collection.color = color;
108 }107 root.model.saveCollection(collection);
109 }108 })
110109 }
111 Label{110 }
112 objectName: "calendarName"111 }
113 text: modelData.name112
114 elide: Text.ElideRight113 CheckBox {
115 opacity: checkBox.checked ? 1.0 : 0.8114 id: checkBox
116 color: UbuntuColors.midAubergine115 objectName: "checkBox"
117 width: parent.width - calendarColorCode.width - checkBox.width - units.gu(6) /*margins*/116 checked: modelData.extendedMetaData("collection-selected")
118 anchors {117 enabled: !root.isInEditMode
119 left: calendarColorCode.right118 onCheckedChanged: {
120 margins: units.gu(2)119 modelData.setExtendedMetaData("collection-selected",checkBox.checked)
121 verticalCenter: parent.verticalCenter120 var collection = root.model.collection(modelData.collectionId);
122 }121 root.model.saveCollection(collection);
123 }122 }
124123 }
125 control: CheckBox {124 }
126 id: checkBox125 onClicked: {
127 objectName: "checkBox"126 //popup dialog
128 checked: modelData.extendedMetaData("collection-selected")127 var dialog = PopupUtils.open(Qt.resolvedUrl("ColorPickerDialog.qml"),root);
129 enabled: !root.isInEditMode128 dialog.accepted.connect(function(color) {
130 onCheckedChanged: {
131 modelData.setExtendedMetaData("collection-selected",checkBox.checked)
132 var collection = root.model.collection(modelData.collectionId);129 var collection = root.model.collection(modelData.collectionId);
130 collection.color = color;
133 root.model.saveCollection(collection);131 root.model.saveCollection(collection);
134 }132 })
135 }133 }
136
137 }134 }
138 }135 }
139136
140 Loader {137 Loader {
141 id: onlineAccountHelper138 id: onlineAccountHelper
142
143 // if running on test mode does not load online account modules139 // if running on test mode does not load online account modules
144 property string sourceFile: Qt.resolvedUrl("OnlineAccountsHelper.qml")140 property string sourceFile: Qt.resolvedUrl("OnlineAccountsHelper.qml")
145141
146142
=== modified file 'CalendarListButtonDelegate.qml'
--- CalendarListButtonDelegate.qml 2015-05-28 13:58:30 +0000
+++ CalendarListButtonDelegate.qml 2016-01-22 10:25:36 +0000
@@ -14,38 +14,36 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17import QtQuick 2.017import QtQuick 2.4
18import Ubuntu.Components 1.118import Ubuntu.Components 1.3
19import Ubuntu.Components.ListItems 1.0 as ListItem
2019
21ListItem.Standard {20ListItem {
22 id: root21 id: root
2322
24 property alias iconSource: uShape.source23 property alias iconSource: inner_image.source
25 property alias labelText: name.text24 property string labelText: ""
2625
27 Image {26 height: layout.implicitHeight
28 id: uShape27
2928 ListItemLayout {
30 width: parent.height - units.gu(2)29 id: layout
31 height: width30 title.text: labelText
3231 title.wrapMode: Text.NoWrap
33 anchors {32 title.color: UbuntuColors.midAubergine
34 left: parent.left33
35 leftMargin: units.gu(2)34 UbuntuShape {
36 verticalCenter: parent.verticalCenter35 aspect: UbuntuShape.Flat
37 }36 width: units.gu(5)
38 }37 height: width
3938 source: Image {
40 Label {39 id: inner_image
41 id: name40 anchors.fill: parent
4241 smooth: true
43 anchors {42 visible: false
44 left: uShape.right43 asynchronous: true
45 margins: units.gu(2)44 }
46 verticalCenter: parent.verticalCenter45
47 }46 SlotsLayout.position: SlotsLayout.Leading
48 color: UbuntuColors.midAubergine47 }
49 elide: Text.ElideRight
50 }48 }
51}49}
5250
=== modified file 'ColorPickerDialog.qml'
--- ColorPickerDialog.qml 2015-04-14 19:52:04 +0000
+++ ColorPickerDialog.qml 2016-01-22 10:25:36 +0000
@@ -15,9 +15,9 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.1
2121
22Dialog {22Dialog {
23 id: root23 id: root
2424
=== modified file 'ContactChoicePopup.qml'
--- ContactChoicePopup.qml 2015-05-14 03:36:22 +0000
+++ ContactChoicePopup.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.0
21import Ubuntu.Components.ListItems 1.021import Ubuntu.Components.ListItems 1.0
22import Ubuntu.Components.Themes.Ambiance 1.022import Ubuntu.Components.Themes.Ambiance 1.0
2323
=== modified file 'DayHeaderBackground.qml'
--- DayHeaderBackground.qml 2014-09-20 10:45:35 +0000
+++ DayHeaderBackground.qml 2016-01-22 10:25:36 +0000
@@ -15,7 +15,7 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
1919
20Item {20Item {
21 width: parent.width21 width: parent.width
2222
=== modified file 'DayView.qml'
--- DayView.qml 2015-11-23 07:15:20 +0000
+++ DayView.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import "dateExt.js" as DateExt21import "dateExt.js" as DateExt
22import "ViewType.js" as ViewType22import "ViewType.js" as ViewType
2323
2424
=== modified file 'DeleteConfirmationDialog.qml'
--- DeleteConfirmationDialog.qml 2014-10-14 17:20:13 +0000
+++ DeleteConfirmationDialog.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.0
2121
22Dialog {22Dialog {
2323
=== modified file 'EditEventConfirmationDialog.qml'
--- EditEventConfirmationDialog.qml 2014-10-14 17:20:13 +0000
+++ EditEventConfirmationDialog.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.0
2121
22Dialog {22Dialog {
2323
=== modified file 'EventActions.qml'
--- EventActions.qml 2015-07-11 02:18:03 +0000
+++ EventActions.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.SyncMonitor 0.121import Ubuntu.SyncMonitor 0.1
2222
23Item {23Item {
2424
=== modified file 'EventBubble.qml'
--- EventBubble.qml 2015-11-29 03:17:30 +0000
+++ EventBubble.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import QtOrganizer 5.021import QtOrganizer 5.0
2222
23Item{23Item{
2424
=== modified file 'EventDetails.qml'
--- EventDetails.qml 2015-08-03 04:47:59 +0000
+++ EventDetails.qml 2016-01-22 10:25:36 +0000
@@ -15,9 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.ListItems 1.0 as ListItem
21import Ubuntu.Components.Themes.Ambiance 1.020import Ubuntu.Components.Themes.Ambiance 1.0
22import Ubuntu.Components.Popups 1.021import Ubuntu.Components.Popups 1.0
23import QtOrganizer 5.022import QtOrganizer 5.0
@@ -350,9 +349,23 @@
350 margins: units.gu(-2)349 margins: units.gu(-2)
351 }350 }
352351
353 ListItem.Header {352 ListItem {
354 text: i18n.tr("Guests")353 height: sectionLabel.height
355 visible: contactModel.count !== 0354 Label {
355 id: sectionLabel
356 text: i18n.tr("Guests")
357 visible: contactModel.count !== 0
358 anchors {
359 left: parent.left
360 leftMargin: units.gu(2)
361 right: parent.right
362 rightMargin: units.gu(2)
363 }
364 height: units.gu(4)
365 fontSize: "medium"
366 font.weight: Font.DemiBold
367 verticalAlignment: Text.AlignVCenter
368 }
356 }369 }
357370
358 //Guest Entery Model starts371 //Guest Entery Model starts
@@ -371,30 +384,35 @@
371384
372 Repeater{385 Repeater{
373 model: contactModel386 model: contactModel
374 delegate: ListItem.Standard {387 delegate: ListItem {
375 Label {388 objectName: "eventGuest%1".arg(index)
376 text: name389 height: layout.implicitHeight
377 objectName: "eventGuest%1".arg(index)390 ListItemLayout {
378 color: UbuntuColors.midAubergine391 id: layout
379 anchors {392 title.text: name
380 left: parent.left393 title.color: UbuntuColors.midAubergine
381 leftMargin: units.gu(2)394 title.wrapMode: Text.NoWrap
382 verticalCenter: parent.verticalCenter395 CheckBox {
396 enabled: false
397 checked: participationStatus
383 }398 }
384 }399 }
385
386 control: CheckBox {
387 enabled: false
388 checked: participationStatus
389 }
390 }400 }
391 }401 }
392 }402 }
393 //Guest Entries ends403 //Guest Entries ends
394404 ListItem {
395 ListItem.Subtitled {
396 id: reminderHeader405 id: reminderHeader
397 text: i18n.tr("Reminder")406 height: layout2.implicitHeight
407 ListItemLayout {
408 id: layout2
409 title.text: i18n.tr("Reminder")
410 title.wrapMode: Text.NoWrap
411 CheckBox {
412 enabled: false
413 checked: participationStatus
414 }
415 }
398 }416 }
399 }417 }
400 }418 }
401419
=== modified file 'EventListModel.qml'
--- EventListModel.qml 2015-08-24 05:08:46 +0000
+++ EventListModel.qml 2016-01-22 10:25:36 +0000
@@ -15,7 +15,7 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import QtOrganizer 5.019import QtOrganizer 5.0
2020
21OrganizerModel {21OrganizerModel {
@@ -41,7 +41,7 @@
41 }41 }
4242
43 function startLoadingTimer() {43 function startLoadingTimer() {
44 var newObject = Qt.createQmlObject("import QtQuick 2.3; Timer {interval: 1000; running: true; repeat: false;}",44 var newObject = Qt.createQmlObject("import QtQuick 2.4; Timer {interval: 1000; running: true; repeat: false;}",
45 eventModel, "EventListMode.qml");45 eventModel, "EventListMode.qml");
46 newObject.onTriggered.connect( function(){46 newObject.onTriggered.connect( function(){
47 var items = itemsByTimePeriod(eventModel.startPeriod, eventModel.endPeriod);47 var items = itemsByTimePeriod(eventModel.startPeriod, eventModel.endPeriod);
4848
=== modified file 'EventReminder.qml'
--- EventReminder.qml 2015-07-12 03:39:07 +0000
+++ EventReminder.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.Components.ListItems 1.0 as ListItem21import Ubuntu.Components.ListItems 1.0 as ListItem
2222
23Page{23Page{
2424
=== modified file 'EventRepetition.qml'
--- EventRepetition.qml 2015-07-11 11:33:00 +0000
+++ EventRepetition.qml 2016-01-22 10:25:36 +0000
@@ -16,11 +16,10 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import QtOrganizer 5.020import QtOrganizer 5.0
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Ubuntu.Components.ListItems 1.0 as ListItem22import Ubuntu.Components.Pickers 1.1
23import Ubuntu.Components.Pickers 1.0
24import QtOrganizer 5.023import QtOrganizer 5.0
25import "Defines.js" as Defines24import "Defines.js" as Defines
26import "Recurrence.js" as Recurrence25import "Recurrence.js" as Recurrence
@@ -151,7 +150,7 @@
151 anchors.fill: parent150 anchors.fill: parent
152 spacing: units.gu(1)151 spacing: units.gu(1)
153152
154 ListItem.Header{153 SectionHeader{
155 text: i18n.tr("Repeat")154 text: i18n.tr("Repeat")
156 }155 }
157156
@@ -170,7 +169,7 @@
170 onExpandedChanged: Qt.inputMethod.hide();169 onExpandedChanged: Qt.inputMethod.hide();
171 }170 }
172171
173 ListItem.Header{172 SectionHeader{
174 text: i18n.tr("Repeats On:")173 text: i18n.tr("Repeats On:")
175 visible: recurrenceOption.selectedIndex == 5174 visible: recurrenceOption.selectedIndex == 5
176 }175 }
@@ -215,7 +214,7 @@
215 }214 }
216 }215 }
217216
218 ListItem.Header {217 SectionHeader {
219 text: i18n.tr("Recurring event ends")218 text: i18n.tr("Recurring event ends")
220 visible: recurrenceOption.selectedIndex != 0219 visible: recurrenceOption.selectedIndex != 0
221 }220 }
@@ -235,7 +234,7 @@
235 onExpandedChanged: Qt.inputMethod.hide()234 onExpandedChanged: Qt.inputMethod.hide()
236 }235 }
237236
238 ListItem.Header{237 SectionHeader{
239 // TRANSLATORS: this refers to how often a recurrent event repeats238 // TRANSLATORS: this refers to how often a recurrent event repeats
240 // and it is shown as the header of the option selector to choose239 // and it is shown as the header of the option selector to choose
241 // its repetition240 // its repetition
@@ -263,7 +262,7 @@
263 }262 }
264 }263 }
265264
266 ListItem.Header{265 SectionHeader{
267 text:i18n.tr("Date")266 text:i18n.tr("Date")
268 visible: recurrenceOption.selectedIndex != 0 && limitOptions.selectedIndex == 2267 visible: recurrenceOption.selectedIndex != 0 && limitOptions.selectedIndex == 2
269 }268 }
270269
=== modified file 'EventUtils.qml'
--- EventUtils.qml 2014-10-04 04:37:34 +0000
+++ EventUtils.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import QtOrganizer 5.021import QtOrganizer 5.0
22import "Defines.js" as Defines22import "Defines.js" as Defines
23import "Recurrence.js" as Recurrence23import "Recurrence.js" as Recurrence
2424
=== modified file 'HeaderDateComponent.qml'
--- HeaderDateComponent.qml 2015-05-14 13:03:02 +0000
+++ HeaderDateComponent.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22Item {22Item {
23 id: root23 id: root
2424
=== modified file 'KeyboardRectangle.qml'
--- KeyboardRectangle.qml 2014-09-20 10:45:35 +0000
+++ KeyboardRectangle.qml 2016-01-22 10:25:36 +0000
@@ -16,7 +16,7 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
2020
21Item {21Item {
22 id: keyboardRect22 id: keyboardRect
2323
=== modified file 'LimitLabelModel.qml'
--- LimitLabelModel.qml 2014-10-22 17:32:15 +0000
+++ LimitLabelModel.qml 2016-01-22 10:25:36 +0000
@@ -15,7 +15,7 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.3;18import QtQuick 2.4;
1919
20ListModel {20ListModel {
21 id:limitLables21 id:limitLables
2222
=== modified file 'MonthComponent.qml'
--- MonthComponent.qml 2015-11-23 07:15:20 +0000
+++ MonthComponent.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import "dateExt.js" as DateExt20import "dateExt.js" as DateExt
21import "colorUtils.js" as Color21import "colorUtils.js" as Color
2222
2323
=== modified file 'MonthComponentDateDelegate.qml'
--- MonthComponentDateDelegate.qml 2015-09-05 05:30:23 +0000
+++ MonthComponentDateDelegate.qml 2016-01-22 10:25:36 +0000
@@ -1,5 +1,5 @@
1import QtQuick 2.01import QtQuick 2.0
2import Ubuntu.Components 1.12import Ubuntu.Components 1.3
33
4Item{4Item{
5 id: dateRootItem5 id: dateRootItem
66
=== modified file 'MonthView.qml'
--- MonthView.qml 2015-11-23 07:15:20 +0000
+++ MonthView.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import "dateExt.js" as DateExt20import "dateExt.js" as DateExt
21import "colorUtils.js" as Color21import "colorUtils.js" as Color
2222
2323
=== modified file 'NewEvent.qml'
--- NewEvent.qml 2015-08-24 05:08:46 +0000
+++ NewEvent.qml 2016-01-22 10:25:36 +0000
@@ -16,13 +16,12 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import QtOrganizer 5.020import QtOrganizer 5.0
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Ubuntu.Components.Popups 1.022import Ubuntu.Components.Popups 1.1
23import Ubuntu.Components.ListItems 1.0 as ListItem
24import Ubuntu.Components.Themes.Ambiance 1.023import Ubuntu.Components.Themes.Ambiance 1.0
25import Ubuntu.Components.Pickers 1.024import Ubuntu.Components.Pickers 1.1
26import QtOrganizer 5.025import QtOrganizer 5.0
27import "Defines.js" as Defines26import "Defines.js" as Defines
2827
@@ -410,29 +409,24 @@
410 endDate = dateTime;409 endDate = dateTime;
411 }410 }
412 }411 }
413412 ListItem {
414 ListItem.Standard {413 height: layout1.implicitHeight
415 anchors {414 ListItemLayout {
416 left: parent.left415 id: layout1
417 right: parent.right416 title.text: i18n.tr("All day event")
418 }417 CheckBox {
419418 objectName: "allDayEventCheckbox"
420 text: i18n.tr("All day event")419 id: allDayEventCheckbox
421 showDivider: false420 checked: false
422 control: CheckBox {421 }
423 objectName: "allDayEventCheckbox"
424 id: allDayEventCheckbox
425 checked: false
426 }422 }
427 }423 }
428424
429 ListItem.ThinDivider {}
430
431 Column {425 Column {
432 width: parent.width426 width: parent.width
433 spacing: units.gu(1)427 spacing: units.gu(1)
434428
435 ListItem.Header{429 SectionHeader{
436 text: i18n.tr("Event Details")430 text: i18n.tr("Event Details")
437 }431 }
438432
@@ -496,7 +490,7 @@
496 width: parent.width490 width: parent.width
497 spacing: units.gu(1)491 spacing: units.gu(1)
498492
499 ListItem.Header {493 SectionHeader {
500 text: i18n.tr("Calendar")494 text: i18n.tr("Calendar")
501 }495 }
502496
@@ -534,7 +528,7 @@
534 width: parent.width528 width: parent.width
535 spacing: units.gu(1)529 spacing: units.gu(1)
536530
537 ListItem.Header {531 SectionHeader {
538 text: i18n.tr("Guests")532 text: i18n.tr("Guests")
539 }533 }
540534
@@ -585,82 +579,100 @@
585579
586 Repeater{580 Repeater{
587 model: contactModel581 model: contactModel
588 delegate: ListItem.Standard {582 delegate: ListItem {
589 objectName: "eventGuest%1".arg(index)583 objectName: "eventGuest%1".arg(index)
590 height: units.gu(4)584 height: layout.implicitHeight
591 text: name585 ListItemLayout {
592 removable: true586 id: layout2
593 onItemRemoved: {587 title.text: name
594 contactList.array.splice(index, 1)588 }
595 contactModel.remove(index)589 leadingActions: ListItemActions {
590 actions: [
591 Action {
592 iconName: "delete"
593 onTriggered: {
594 contactList.array.splice(index, 1)
595 contactModel.remove(index)
596 }
597 }
598 ]
596 }599 }
597 }600 }
598 }601 }
599 }602 }
600 }603 }
601
602 ListItem.ThinDivider {
603 visible: event.itemType === Type.Event
604 }
605
606 }604 }
607605
608 ListItem.Subtitled{606 ListItem {
609 id:thisHappens607 id:thisHappens
610 objectName :"thisHappens"608 objectName :"thisHappens"
611609
612 anchors {610 height: layout3.height
613 left: parent.left611 divider.visible: event.itemType === Type.Event
612 visible: event.itemType === Type.Event
613 ListItemLayout {
614 id: layout3
615 title.text: i18n.tr("Repeats")
616 subtitle.text: event.itemType === Type.Event ? rule === null ? Defines.recurrenceLabel[0] : eventUtils.getRecurrenceString(rule) : ""
617 Item {
618 height: units.gu(4)
619 width: height
620 Icon {
621 name: "next"
622 height: units.gu(2.5)
623 width: height
624 anchors.centerIn: parent
625 }
626 }
614 }627 }
615
616 showDivider: false
617 progression: true
618 visible: event.itemType === Type.Event
619 text: i18n.tr("Repeats")
620 subText: event.itemType === Type.Event ? rule === null ? Defines.recurrenceLabel[0] : eventUtils.getRecurrenceString(rule) : ""
621 onClicked: pageStack.push(Qt.resolvedUrl("EventRepetition.qml"),{"eventRoot": root,"isEdit":isEdit});628 onClicked: pageStack.push(Qt.resolvedUrl("EventRepetition.qml"),{"eventRoot": root,"isEdit":isEdit});
622 }629 }
623630
624 ListItem.ThinDivider {631 ListItem {
625 visible: event.itemType === Type.Event
626 }
627
628 ListItem.Subtitled{
629 id:eventReminder632 id:eventReminder
630 objectName : "eventReminder"633 objectName :"eventReminder"
631634 height: layout4.height
632 anchors.left:parent.left635 divider.visible: true
633 showDivider: false636 visible: event.itemType === Type.Event
634 progression: true
635 text: i18n.tr("Reminder")
636637
637 RemindersModel {638 RemindersModel {
638 id: reminderModel639 id: reminderModel
639 }640 }
640641
641 subText:{642 ListItemLayout {
642 if(visualReminder.secondsBeforeStart !== -1) {643 id: layout4
643 for( var i=0; i<reminderModel.count; i++ ) {644 title.text: i18n.tr("Reminder")
644 if(visualReminder.secondsBeforeStart === reminderModel.get(i).value) {645 subtitle.text: {
645 return reminderModel.get(i).label646 if(visualReminder.secondsBeforeStart !== -1) {
647 for( var i=0; i<reminderModel.count; i++ ) {
648 if(visualReminder.secondsBeforeStart === reminderModel.get(i).value) {
649 return reminderModel.get(i).label
650 }
646 }651 }
647 }652 } else {
648 } else {653 return reminderModel.get(0).label
649 return reminderModel.get(0).label654 }
650 }655 }
651656 Item {
657 height: units.gu(4)
658 width: height
659 Icon {
660 name: "next"
661 height: units.gu(2.5)
662 width: height
663 anchors.centerIn: parent
664 }
665 }
652 }666 }
653
654 onClicked: pageStack.push(Qt.resolvedUrl("EventReminder.qml"),667 onClicked: pageStack.push(Qt.resolvedUrl("EventReminder.qml"),
655 {"visualReminder": visualReminder,668 {"visualReminder": visualReminder,
656 "audibleReminder": audibleReminder,669 "audibleReminder": audibleReminder,
657 "reminderModel": reminderModel,670 "reminderModel": reminderModel,
658 "eventTitle": titleEdit.text})671 "eventTitle": titleEdit.text})
659 }672 }
660
661 ListItem.ThinDivider {}
662 }673 }
663 }674 }
675
664 // used to keep the field visible when the keyboard appear or dismiss676 // used to keep the field visible when the keyboard appear or dismiss
665 KeyboardRectangle {677 KeyboardRectangle {
666 id: keyboard678 id: keyboard
667679
=== modified file 'NewEventEntryField.qml'
--- NewEventEntryField.qml 2015-02-17 05:53:42 +0000
+++ NewEventEntryField.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22Label {22Label {
23 id: root23 id: root
2424
=== modified file 'NewEventTimePicker.qml'
--- NewEventTimePicker.qml 2014-10-21 18:58:31 +0000
+++ NewEventTimePicker.qml 2016-01-22 10:25:36 +0000
@@ -1,4 +1,4 @@
1import QtQuick 2.31import QtQuick 2.4
2import Ubuntu.Components.ListItems 1.0 as ListItem2import Ubuntu.Components.ListItems 1.0 as ListItem
3import Ubuntu.Components.Themes.Ambiance 1.03import Ubuntu.Components.Themes.Ambiance 1.0
4import Ubuntu.Components.Pickers 1.04import Ubuntu.Components.Pickers 1.0
@@ -29,7 +29,7 @@
29 timeInput.text = Qt.formatTime(dateTime);29 timeInput.text = Qt.formatTime(dateTime);
30 }30 }
3131
32 ListItem.Header {32 SectionHeader {
33 id: listHeader33 id: listHeader
34 }34 }
3535
3636
=== modified file 'OnlineAccountsHelper.qml'
--- OnlineAccountsHelper.qml 2015-03-28 11:31:47 +0000
+++ OnlineAccountsHelper.qml 2016-01-22 10:25:36 +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.OnlineAccounts 0.119import Ubuntu.OnlineAccounts 0.1
20import Ubuntu.OnlineAccounts.Client 0.120import Ubuntu.OnlineAccounts.Client 0.1
2121
2222
=== modified file 'PathViewBase.qml'
--- PathViewBase.qml 2015-08-29 08:59:47 +0000
+++ PathViewBase.qml 2016-01-22 10:25:36 +0000
@@ -15,7 +15,7 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
1919
20PathView {20PathView {
21 id: root21 id: root
2222
=== modified file 'RecurrenceLabelDefines.qml'
--- RecurrenceLabelDefines.qml 2014-10-17 05:42:34 +0000
+++ RecurrenceLabelDefines.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22QtObject {22QtObject {
23 property var recurrenceLabel:[i18n.tr("Once"),23 property var recurrenceLabel:[i18n.tr("Once"),
2424
=== modified file 'RemindersModel.qml'
--- RemindersModel.qml 2014-10-17 05:42:34 +0000
+++ RemindersModel.qml 2016-01-22 10:25:36 +0000
@@ -16,7 +16,7 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
2020
21ListModel {21ListModel {
22 id: reminderModel22 id: reminderModel
2323
=== modified file 'ScrollAnimation.qml'
--- ScrollAnimation.qml 2014-09-20 10:45:35 +0000
+++ ScrollAnimation.qml 2016-01-22 10:25:36 +0000
@@ -1,4 +1,4 @@
1import QtQuick 2.31import QtQuick 2.4
22
3PropertyAnimation {3PropertyAnimation {
4 duration: 5004 duration: 500
55
=== modified file 'Scroller.qml'
--- Scroller.qml 2014-09-20 10:45:35 +0000
+++ Scroller.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import Ubuntu.Components.ListItems 1.0 as ListItems21import Ubuntu.Components.ListItems 1.0 as ListItems
2222
23Item {23Item {
2424
=== added file 'SectionHeader.qml'
--- SectionHeader.qml 1970-01-01 00:00:00 +0000
+++ SectionHeader.qml 2016-01-22 10:25:36 +0000
@@ -0,0 +1,23 @@
1import QtQuick 2.4
2import Ubuntu.Components 1.3
3
4ListItem {
5
6 property alias text: sectionLabel.text
7
8 height: sectionLabel.height
9 Label {
10 id: sectionLabel
11 anchors {
12 left: parent.left
13 leftMargin: units.gu(2)
14 right: parent.right
15 rightMargin: units.gu(2)
16 }
17 height: units.gu(4)
18 fontSize: "medium"
19 font.weight: Font.DemiBold
20 verticalAlignment: Text.AlignVCenter
21 }
22}
23
024
=== modified file 'Settings.qml'
--- Settings.qml 2015-11-23 07:15:20 +0000
+++ Settings.qml 2016-01-22 10:25:36 +0000
@@ -15,10 +15,9 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.1
21import Ubuntu.Components.ListItems 1.0 as ListItem
2221
23Page {22Page {
24 id: root23 id: root
@@ -46,40 +45,30 @@
46 objectName: "settingsColumn"45 objectName: "settingsColumn"
47 spacing: units.gu(0.5)46 spacing: units.gu(0.5)
48 anchors {47 anchors {
49 margins: units.gu(2)
50 fill: parent48 fill: parent
51 }49 }
5250
53 Item{51 ListItem{
52 id: weekNumber;
53 objectName: "weekNumber"
54 width: parent.width;54 width: parent.width;
55 height: Math.max(weekNumber.height, weekCheckBox.height)55 height: layout.implicitHeight
5656 opacity: weekCheckBox.checked ? 1.0 : 0.8
57 Label{57
58 id: weekNumber;58 ListItemLayout {
59 objectName: "weekNumber"59 id: layout
60 text: i18n.tr("Show week numbers");60 title.text: i18n.tr("Show week numbers");
61 elide: Text.ElideRight61 title.elide: Text.ElideRight
62 opacity: weekCheckBox.checked ? 1.0 : 0.862 title.color: UbuntuColors.midAubergine
63 color: UbuntuColors.midAubergine63 CheckBox {
64 anchors {64 id: weekCheckBox
65 left: parent.left65 objectName: "weekCheckBox"
66 right: weekCheckBox.left;66 onCheckedChanged: {
67 margins: units.gu(2)67 mainView.displayWeekNumber = weekCheckBox.checked;
68 verticalCenter: parent.verticalCenter68 }
69 }
70 }
71
72 CheckBox {
73 id: weekCheckBox
74 objectName: "weekCheckBox"
75 anchors.right:parent.right;
76 onCheckedChanged: {
77 mainView.displayWeekNumber = weekCheckBox.checked;
78 }69 }
79 }70 }
80 }71 }
81
82 ListItem.ThinDivider {}
83 }72 }
8473
85 Component.onCompleted: {74 Component.onCompleted: {
8675
=== modified file 'TimeLineBackground.qml'
--- TimeLineBackground.qml 2014-11-29 05:15:13 +0000
+++ TimeLineBackground.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22Column {22Column {
23 width: parent.width23 width: parent.width
2424
=== modified file 'TimeLineBase.qml'
--- TimeLineBase.qml 2015-08-20 12:27:59 +0000
+++ TimeLineBase.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import QtOrganizer 5.020import QtOrganizer 5.0
2121
22import "dateExt.js" as DateExt22import "dateExt.js" as DateExt
2323
=== modified file 'TimeLineBaseComponent.qml'
--- TimeLineBaseComponent.qml 2015-10-31 18:47:23 +0000
+++ TimeLineBaseComponent.qml 2016-01-22 10:25:36 +0000
@@ -16,9 +16,9 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import QtQuick.Layouts 1.120import QtQuick.Layouts 1.1
21import Ubuntu.Components 1.121import Ubuntu.Components 1.3
22import Ubuntu.Components.Popups 1.022import Ubuntu.Components.Popups 1.0
23import QtOrganizer 5.023import QtOrganizer 5.0
2424
@@ -112,11 +112,11 @@
112 }112 }
113113
114 Timer{114 Timer{
115 interval: 200; running: true; repeat: false115 interval: 200; running: true; repeat: false
116 onTriggered: {116 onTriggered: {
117 mainModel = modelComponent.createObject();117 mainModel = modelComponent.createObject();
118 activityLoader.running = Qt.binding( function (){ return mainModel.isLoading;});118 activityLoader.running = Qt.binding( function (){ return mainModel.isLoading;});
119 }119 }
120 }120 }
121121
122 Component {122 Component {
@@ -177,6 +177,7 @@
177 id: timeLineView177 id: timeLineView
178 objectName: "timelineview"178 objectName: "timelineview"
179179
180
180 height: parent.height181 height: parent.height
181 width: parent.width - units.gu(6)182 width: parent.width - units.gu(6)
182183
@@ -242,7 +243,7 @@
242 objectName: "mouseArea"243 objectName: "mouseArea"
243 anchors.fill: parent244 anchors.fill: parent
244245
245 function modifyEventForDrag(drag) {246 function modifyEventForDrag(drag) {
246 var event = drag.source.event;247 var event = drag.source.event;
247 var diff = event.endDateTime.getTime() - event.startDateTime.getTime();248 var diff = event.endDateTime.getTime() - event.startDateTime.getTime();
248249
@@ -252,7 +253,7 @@
252 event.startDateTime = startDate;253 event.startDateTime = startDate;
253 event.endDateTime = endDate;254 event.endDateTime = endDate;
254255
255 return event;256 return event;
256 }257 }
257258
258 onDropped: {259 onDropped: {
259260
=== modified file 'TimeLineHeader.qml'
--- TimeLineHeader.qml 2015-09-05 05:30:23 +0000
+++ TimeLineHeader.qml 2016-01-22 10:25:36 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import QtQuick.Layouts 1.121import QtQuick.Layouts 1.1
2222
23import "ViewType.js" as ViewType23import "ViewType.js" as ViewType
2424
=== modified file 'TimeLineHeaderComponent.qml'
--- TimeLineHeaderComponent.qml 2015-09-05 05:30:23 +0000
+++ TimeLineHeaderComponent.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import "dateExt.js" as DateExt21import "dateExt.js" as DateExt
22import "ViewType.js" as ViewType22import "ViewType.js" as ViewType
2323
2424
=== modified file 'TimeLineTimeScale.qml'
--- TimeLineTimeScale.qml 2014-12-11 20:29:27 +0000
+++ TimeLineTimeScale.qml 2016-01-22 10:25:36 +0000
@@ -17,7 +17,7 @@
17 */17 */
1818
19import QtQuick 2.019import QtQuick 2.0
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22Flickable{22Flickable{
23 id: timeFlickble23 id: timeFlickble
2424
=== modified file 'TimeSeparator.qml'
--- TimeSeparator.qml 2014-09-20 10:45:35 +0000
+++ TimeSeparator.qml 2016-01-22 10:25:36 +0000
@@ -15,7 +15,7 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
1919
20Rectangle {20Rectangle {
21 id: separator21 id: separator
2222
=== modified file 'ViewHeader.qml'
--- ViewHeader.qml 2014-11-29 09:40:53 +0000
+++ ViewHeader.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
2020
21Item{21Item{
22 id: header22 id: header
2323
=== modified file 'WeekView.qml'
--- WeekView.qml 2015-10-28 02:12:50 +0000
+++ WeekView.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
21import "dateExt.js" as DateExt21import "dateExt.js" as DateExt
22import "ViewType.js" as ViewType22import "ViewType.js" as ViewType
2323
2424
=== modified file 'YearView.qml'
--- YearView.qml 2015-11-23 07:15:20 +0000
+++ YearView.qml 2016-01-22 10:25:36 +0000
@@ -16,8 +16,8 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
1818
19import QtQuick 2.319import QtQuick 2.4
20import Ubuntu.Components 1.120import Ubuntu.Components 1.3
2121
22import "dateExt.js" as DateExt22import "dateExt.js" as DateExt
23Page {23Page {
@@ -86,7 +86,6 @@
8686
87 Component{87 Component{
88 id: delegateComponent88 id: delegateComponent
89
90 YearViewDelegate{89 YearViewDelegate{
91 focus: index == yearPathView.currentIndex90 focus: index == yearPathView.currentIndex
9291
9392
=== modified file 'YearViewDelegate.qml'
--- YearViewDelegate.qml 2015-11-23 07:15:20 +0000
+++ YearViewDelegate.qml 2016-01-22 10:25:36 +0000
@@ -1,5 +1,5 @@
1import QtQuick 2.01import QtQuick 2.4
2import Ubuntu.Components 1.12import Ubuntu.Components 1.3
33
4GridView{4GridView{
5 id: yearView5 id: yearView
66
=== modified file 'calendar.qml'
--- calendar.qml 2015-11-23 07:15:20 +0000
+++ calendar.qml 2016-01-22 10:25:36 +0000
@@ -15,9 +15,9 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
20import Ubuntu.Components.Popups 1.020import Ubuntu.Components.Popups 1.1
21import QtOrganizer 5.021import QtOrganizer 5.0
22import Qt.labs.settings 1.022import Qt.labs.settings 1.0
23import "dateExt.js" as DateExt23import "dateExt.js" as DateExt
@@ -27,7 +27,7 @@
2727
28 property bool displayWeekNumber: false;28 property bool displayWeekNumber: false;
2929
30 useDeprecatedToolbar: false30// useDeprecatedToolbar: false
3131
32 // Work-around until this branch lands:32 // Work-around until this branch lands:
33 // https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/optIn-tabsDrawer/+merge/21249633 // https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/optIn-tabsDrawer/+merge/212496
3434
=== modified file 'calendarTests.qml'
--- calendarTests.qml 2014-09-20 10:45:35 +0000
+++ calendarTests.qml 2016-01-22 10:25:36 +0000
@@ -15,8 +15,8 @@
15 * You should have received a copy of the GNU General Public License15 * 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/>.16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */17 */
18import QtQuick 2.318import QtQuick 2.4
19import Ubuntu.Components 1.119import Ubuntu.Components 1.3
2020
21MainView {21MainView {
22 width: units.gu(20)22 width: units.gu(20)
2323
=== modified file 'click/manifest.json.in'
--- click/manifest.json.in 2014-12-28 23:12:44 +0000
+++ click/manifest.json.in 2016-01-22 10:25:36 +0000
@@ -1,7 +1,7 @@
1{1{
2 "architecture": "all",2 "architecture": "all",
3 "description": "A calendar for Ubuntu which syncs with online accounts",3 "description": "A calendar for Ubuntu which syncs with online accounts",
4 "framework": "ubuntu-sdk-14.10-qml",4 "framework": "ubuntu-sdk-15.04.2-qml",
5 "hooks": {5 "hooks": {
6 "calendar": {6 "calendar": {
7 "account-application": "@PROJECT_NAME@_@APP_NAME@.application",7 "account-application": "@PROJECT_NAME@_@APP_NAME@.application",
88
=== modified file 'po/com.ubuntu.calendar.pot'
--- po/com.ubuntu.calendar.pot 2015-11-23 07:15:20 +0000
+++ po/com.ubuntu.calendar.pot 2016-01-22 10:25:36 +0000
@@ -1,6 +1,6 @@
1# SOME DESCRIPTIVE TITLE.1# SOME DESCRIPTIVE TITLE.
2# Copyright (C) YEAR Canonical Ltd.2# Copyright (C) YEAR Canonical Ltd.
3# This file is distributed under the same license as the PACKAGE package.3# This file is distributed under the same license as the package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5#5#
6#, fuzzy6#, fuzzy
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: \n"9"Project-Id-Version: \n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2015-11-23 15:14+0800\n"11"POT-Creation-Date: 2016-01-22 09:46+0000\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -59,25 +59,25 @@
59msgstr[0] ""59msgstr[0] ""
60msgstr[1] ""60msgstr[1] ""
6161
62#: ../CalendarChoicePopup.qml:33 ../EventActions.qml:6162#: ../CalendarChoicePopup.qml:32 ../EventActions.qml:61
63msgid "Calendars"63msgid "Calendars"
64msgstr ""64msgstr ""
6565
66#: ../CalendarChoicePopup.qml:37 ../Settings.qml:3266#: ../CalendarChoicePopup.qml:36 ../Settings.qml:31
67msgid "Back"67msgid "Back"
68msgstr ""68msgstr ""
6969
70#. TRANSLATORS: Please translate this string to 15 characters only.70#. TRANSLATORS: Please translate this string to 15 characters only.
71#. Currently ,there is no way we can increase width of action menu currently.71#. Currently ,there is no way we can increase width of action menu currently.
72#: ../CalendarChoicePopup.qml:51 ../EventActions.qml:3772#: ../CalendarChoicePopup.qml:50 ../EventActions.qml:37
73msgid "Sync"73msgid "Sync"
74msgstr ""74msgstr ""
7575
76#: ../CalendarChoicePopup.qml:51 ../EventActions.qml:3776#: ../CalendarChoicePopup.qml:50 ../EventActions.qml:37
77msgid "Syncing"77msgid "Syncing"
78msgstr ""78msgstr ""
7979
80#: ../CalendarChoicePopup.qml:7080#: ../CalendarChoicePopup.qml:69
81msgid "Add online Calendar"81msgid "Add online Calendar"
82msgstr ""82msgstr ""
8383
@@ -132,11 +132,11 @@
132msgid "Delete this"132msgid "Delete this"
133msgstr ""133msgstr ""
134134
135#: ../DeleteConfirmationDialog.qml:51 ../NewEvent.qml:68135#: ../DeleteConfirmationDialog.qml:51 ../NewEvent.qml:67
136msgid "Delete"136msgid "Delete"
137msgstr ""137msgstr ""
138138
139#: ../EditEventConfirmationDialog.qml:29 ../NewEvent.qml:325139#: ../EditEventConfirmationDialog.qml:29 ../NewEvent.qml:324
140msgid "Edit Event"140msgid "Edit Event"
141msgstr ""141msgstr ""
142142
@@ -154,11 +154,11 @@
154msgid "Edit this"154msgid "Edit this"
155msgstr ""155msgstr ""
156156
157#: ../EventActions.qml:51 ../NewEvent.qml:325157#: ../EventActions.qml:51 ../NewEvent.qml:324
158msgid "New Event"158msgid "New Event"
159msgstr ""159msgstr ""
160160
161#: ../EventActions.qml:72 ../Settings.qml:28161#: ../EventActions.qml:72 ../Settings.qml:27
162msgid "Settings"162msgid "Settings"
163msgstr ""163msgstr ""
164164
@@ -169,35 +169,35 @@
169msgid "%1 <b>%2</b>"169msgid "%1 <b>%2</b>"
170msgstr ""170msgstr ""
171171
172#: ../EventDetails.qml:43 ../NewEvent.qml:436172#: ../EventDetails.qml:42 ../NewEvent.qml:430
173msgid "Event Details"173msgid "Event Details"
174msgstr ""174msgstr ""
175175
176#. TRANSLATORS: the first parameter refers to the name of event calendar.176#. TRANSLATORS: the first parameter refers to the name of event calendar.
177#: ../EventDetails.qml:68177#: ../EventDetails.qml:67
178#, qt-format178#, qt-format
179msgid "%1 Calendar"179msgid "%1 Calendar"
180msgstr ""180msgstr ""
181181
182#: ../EventDetails.qml:129182#: ../EventDetails.qml:128
183#, qt-format183#, qt-format
184msgid "%1 - %2 (All Day)"184msgid "%1 - %2 (All Day)"
185msgstr ""185msgstr ""
186186
187#: ../EventDetails.qml:133187#: ../EventDetails.qml:132
188#, qt-format188#, qt-format
189msgid "%1 (All Day)"189msgid "%1 (All Day)"
190msgstr ""190msgstr ""
191191
192#: ../EventDetails.qml:203192#: ../EventDetails.qml:202
193msgid "Edit"193msgid "Edit"
194msgstr ""194msgstr ""
195195
196#: ../EventDetails.qml:354 ../NewEvent.qml:538196#: ../EventDetails.qml:356 ../NewEvent.qml:532
197msgid "Guests"197msgid "Guests"
198msgstr ""198msgstr ""
199199
200#: ../EventDetails.qml:397 ../EventReminder.qml:35 ../NewEvent.qml:635200#: ../EventDetails.qml:409 ../EventReminder.qml:35 ../NewEvent.qml:644
201msgid "Reminder"201msgid "Reminder"
202msgstr ""202msgstr ""
203203
@@ -205,26 +205,26 @@
205#. and it is shown as the header of the page to choose repetition205#. and it is shown as the header of the page to choose repetition
206#. and as the header of the list item that shows the repetition206#. and as the header of the list item that shows the repetition
207#. summary in the page that displays the event details207#. summary in the page that displays the event details
208#: ../EventRepetition.qml:40 ../EventRepetition.qml:155208#: ../EventRepetition.qml:39 ../EventRepetition.qml:154
209msgid "Repeat"209msgid "Repeat"
210msgstr ""210msgstr ""
211211
212#: ../EventRepetition.qml:174212#: ../EventRepetition.qml:173
213msgid "Repeats On:"213msgid "Repeats On:"
214msgstr ""214msgstr ""
215215
216#: ../EventRepetition.qml:219216#: ../EventRepetition.qml:218
217msgid "Recurring event ends"217msgid "Recurring event ends"
218msgstr ""218msgstr ""
219219
220#. TRANSLATORS: this refers to how often a recurrent event repeats220#. TRANSLATORS: this refers to how often a recurrent event repeats
221#. and it is shown as the header of the option selector to choose221#. and it is shown as the header of the option selector to choose
222#. its repetition222#. its repetition
223#: ../EventRepetition.qml:242 ../NewEvent.qml:619223#: ../EventRepetition.qml:241 ../NewEvent.qml:615
224msgid "Repeats"224msgid "Repeats"
225msgstr ""225msgstr ""
226226
227#: ../EventRepetition.qml:267227#: ../EventRepetition.qml:266
228msgid "Date"228msgid "Date"
229msgstr ""229msgstr ""
230230
@@ -267,51 +267,51 @@
267msgid "Wk"267msgid "Wk"
268msgstr ""268msgstr ""
269269
270#: ../NewEvent.qml:84270#: ../NewEvent.qml:83
271msgid "Save"271msgid "Save"
272msgstr ""272msgstr ""
273273
274#: ../NewEvent.qml:192274#: ../NewEvent.qml:191
275msgid "End time can't be before start time"275msgid "End time can't be before start time"
276msgstr ""276msgstr ""
277277
278#: ../NewEvent.qml:335278#: ../NewEvent.qml:334
279msgid "Error"279msgid "Error"
280msgstr ""280msgstr ""
281281
282#: ../NewEvent.qml:337282#: ../NewEvent.qml:336
283msgid "OK"283msgid "OK"
284msgstr ""284msgstr ""
285285
286#: ../NewEvent.qml:390286#: ../NewEvent.qml:389
287msgid "From"287msgid "From"
288msgstr ""288msgstr ""
289289
290#: ../NewEvent.qml:403290#: ../NewEvent.qml:402
291msgid "To"291msgid "To"
292msgstr ""292msgstr ""
293293
294#: ../NewEvent.qml:420294#: ../NewEvent.qml:416
295msgid "All day event"295msgid "All day event"
296msgstr ""296msgstr ""
297297
298#: ../NewEvent.qml:449298#: ../NewEvent.qml:443
299msgid "Event Name"299msgid "Event Name"
300msgstr ""300msgstr ""
301301
302#: ../NewEvent.qml:467302#: ../NewEvent.qml:461
303msgid "Description"303msgid "Description"
304msgstr ""304msgstr ""
305305
306#: ../NewEvent.qml:485306#: ../NewEvent.qml:479
307msgid "Location"307msgid "Location"
308msgstr ""308msgstr ""
309309
310#: ../NewEvent.qml:500 com.ubuntu.calendar_calendar.desktop.in.in.h:1310#: ../NewEvent.qml:494 com.ubuntu.calendar_calendar.desktop.in.in.h:1
311msgid "Calendar"311msgid "Calendar"
312msgstr ""312msgstr ""
313313
314#: ../NewEvent.qml:542314#: ../NewEvent.qml:536
315msgid "Add Guest"315msgid "Add Guest"
316msgstr ""316msgstr ""
317317

Subscribers

People subscribed via source and target branches

to status/vote changes: