~gary-wzl77/ubuntu-calendar-app/fix_1515722

« back to all changes in this revision

Viewing changes to EventActions.qml

  • Committer: Gary.Wzl
  • Date: 2015-07-11 02:18:03 UTC
  • mto: (706.2.1 ubuntu-calendar-app)
  • mto: This revision was merged to the branch mainline in revision 726.
  • Revision ID: gary.wang@canonical.com-20150711021803-tcwwurtevjocum9y
1.UI fine-tuned for week number display in monthly view(bug #1464407)
3.Record last session to tab index(bug #1473067)
2.Add settings page for optional week number display

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    property alias newEventAction: _newEventAction
27
27
    property alias showCalendarAction: _showCalendarAction
28
28
    property alias syncCalendarAction: _syncCalendarAction
 
29
    property alias settingsAction: _settingsAction
29
30
 
30
31
    Action {
31
32
        id: _syncCalendarAction
63
64
            pageStack.currentPage.collectionUpdated.connect(eventModel.delayedApplyFilter);
64
65
        }
65
66
    }
 
67
 
 
68
    Action{
 
69
        id: _settingsAction
 
70
        objectName: "settingsbutton"
 
71
        iconName: "settings"
 
72
        text: i18n.tr("Settings")
 
73
        onTriggered: {
 
74
            pageStack.push(Qt.resolvedUrl("Settings.qml"));
 
75
        }
 
76
    }
66
77
}