Commit f23d705b authored by Martin Straka's avatar Martin Straka

Added zfo import qml page.

parent 31933226
......@@ -68,6 +68,7 @@ ApplicationWindow {
property Component pageContactList: PageContactList {}
property Component pageDataboxDetail: PageDataboxDetail {}
property Component pageDataboxSearch: PageDataboxSearch {}
property Component pageImportMessage: PageImportMessage {}
property Component pageMenuAccount: PageMenuAccount {}
property Component pageMenuDatovkaSettings: PageMenuDatovkaSettings {}
property Component pageMenuMessage: PageMenuMessage {}
......
This diff is collapsed.
......@@ -73,6 +73,15 @@ Component {
"action": "new"
}, StackView.Immediate)
},
"importMsg": function callImportMsg() {
pageView.replace(pageImportMessage, {
"pageView": pageView,
"statusBar": statusBar,
"acntName" : acntName,
"userName": userName,
"accountModel": accountModel
}, StackView.Immediate)
},
"findBox": function callFindBox() {
pageView.replace(pageDataboxSearch, {
"pageView": pageView,
......@@ -123,6 +132,13 @@ Component {
name: qsTr("Create message")
funcName: "createMsg"
}
ListElement {
image: "qrc:/ui/file-import.svg"
showEntry: true
showNext: true
name: qsTr("Import message")
funcName: "importMsg"
}
ListElement {
image: "qrc:/ui/account-search.svg"
showEntry: true
......
......@@ -68,6 +68,15 @@ Component {
"statusBar": statusBar
}, StackView.Immediate)
},
"importMsg": function callImportMsg() {
pageView.replace(pageImportMessage, {
"pageView": pageView,
"statusBar": statusBar,
"acntName" : "",
"userName": "",
"accountModel": accountModel
}, StackView.Immediate)
},
"settGeneral": function callSettGeneral() {
pageView.replace(pageSettingsGeneral, {
"pageView": pageView,
......@@ -118,6 +127,13 @@ Component {
name: qsTr("Search message")
funcName: "searchMsg"
}
ListElement {
image: "qrc:/ui/file-import.svg"
showEntry: true
showNext: true
name: qsTr("Import message")
funcName: "importMsg"
}
ListElement {
image: "qrc:/ui/settings.svg"
showEntry: true
......
......@@ -131,6 +131,7 @@
<file>../qml/pages/PageContactList.qml</file>
<file>../qml/pages/PageDataboxDetail.qml</file>
<file>../qml/pages/PageDataboxSearch.qml</file>
<file>../qml/pages/PageImportMessage.qml</file>
<file>../qml/pages/PageMenuAccount.qml</file>
<file>../qml/pages/PageMenuDatovkaSettings.qml</file>
<file>../qml/pages/PageMenuMessage.qml</file>
......
......@@ -100,6 +100,7 @@ const struct QmlTypeEntry qmlPages[] = {
{ "PageContactList", 1, 0 },
{ "PageDataboxDetail", 1, 0 },
{ "PageDataboxSearch", 1, 0 },
{ "PageImportMessage", 1, 0 },
{ "PageMenuAccount", 1, 0 },
{ "PageMenuDatovkaSettings", 1, 0 },
{ "PageMenuMessage", 1, 0 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment