~dpniel/+junk/sync_devel

« back to all changes in this revision

Viewing changes to qml/Components/DekkoPage.qml

  • Committer: Boren Zhang
  • Date: 2015-03-12 06:40:48 UTC
  • mfrom: (326.1.1 devel)
  • Revision ID: bobo1993324@gmail.com-20150312064048-vbnltzmxmovvar49
Merged in DEK-84-filter-bar (pull request #12)

DEK-84 Implements filter bar component

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    property alias secondaryActions: header.secondaryActions
40
40
    property alias multiSelectActions: header.multiSelectActionList
41
41
    property alias enableSearching: header.enableSearching
 
42
    property alias showDivider: header.showDivider
 
43
    property alias filters: header.filterSections
 
44
    property alias selectedFilterIndex: header.selectedIndex
 
45
    readonly property bool isMultiSelect: header.isMultiSelect
 
46
    property alias pageFlickable: header.pageFlickable
42
47
 
43
48
    signal searchActivated(string searchString)
44
49
    signal searchCanceled()
51
56
    DekkoHeader {
52
57
        id: header
53
58
        width: parent.width
54
 
        height: units.gu(7)
55
59
        backAction: accountsDrawerVisible ? drawerAction : bkAction
56
60
        onSearchActivated: dekkoPage.searchActivated(searchString)
57
61
        onSearchCanceled: dekkoPage.searchCanceled()
172
176
                dekko.currentAccount = mboxProxy.getAccountAndSetMailbox(index, mailboxName)
173
177
                accountsDrawer.close()
174
178
                if (dekkoPageState.state === "msgList") {
175
 
                    dekkoPage.pageTitle = mboxName
 
179
                    dekkoPage.updatePageTitle()
176
180
                } else if (dekkoPageState.state === "mbox") {
177
181
                    pageStack.clear()
178
182
                    pageStack.push(Qt.resolvedUrl("../MessageListView/MessageListPage.qml"))