diff --git a/mobile/sailfishos/ChangeLog b/mobile/sailfishos/ChangeLog
index 7d35df7a..314503b3 100644
--- a/mobile/sailfishos/ChangeLog
+++ b/mobile/sailfishos/ChangeLog
@@ -1,28 +1,32 @@
ChangeLog for BibSearch
+Version 0.6 (2019-0x-xx)
+ * Cover page includes app icon and an action to open the
+ search form page.
+
Version 0.5 (2018-12-31)
* Migrating BibSearch to reside in KBibTeX's code repository.
* Latest code fixes from KBibTeX's 'master' branch.
Version 0.4 (2018-08-04)
* Fixing various issues with search engines.
* Various minor UI improvements.
* Matching code between KBibTeX and BibSearch to increase
code sharing.
Version 0.3 (2017-09-04)
* Support search in PubMed.
* User can enable/select which search engines to search in.
* Refactoring UI to follow more closely the Silica style.
* Matching code between KBibTeX and BibSearch to increase
code sharing
Version 0.2 (2017-02-03)
* Search results can be sorted by various combinations of
publication date and first author's name.
* Various minor usability changes.
Version 0.1 (2016-10-21)
* Support searching in ACM Digital Library, arXiv, Bibsonomy,
Google Scholar, IEEE Xplore, Ingenta Connect, JStor, Science
Direct, and Springer Link.
diff --git a/mobile/sailfishos/icons/kbibtex.svg b/mobile/sailfishos/icons/kbibtex.svg
new file mode 100644
index 00000000..60a0665f
--- /dev/null
+++ b/mobile/sailfishos/icons/kbibtex.svg
@@ -0,0 +1,330 @@
+
+
+
+
+
diff --git a/mobile/sailfishos/qml/BibSearch.qml b/mobile/sailfishos/qml/BibSearch.qml
index d2bd1baa..b04ce838 100644
--- a/mobile/sailfishos/qml/BibSearch.qml
+++ b/mobile/sailfishos/qml/BibSearch.qml
@@ -1,37 +1,39 @@
/***************************************************************************
* Copyright (C) 2016-2017 by Thomas Fischer *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, see . *
***************************************************************************/
import QtQuick 2.0
import Sailfish.Silica 1.0
import harbour.bibsearch 1.0
import "pages"
ApplicationWindow
{
+ id: mainWindow
+
SortedBibliographyModel {
id: bibliographyModel
}
SearchEngineList {
id: searchEngineList
}
initialPage: Component { BibliographyListView { } }
cover: Qt.resolvedUrl("cover/CoverPage.qml")
}
diff --git a/mobile/sailfishos/qml/cover/CoverPage.qml b/mobile/sailfishos/qml/cover/CoverPage.qml
index 5a6c008b..57e8f53c 100644
--- a/mobile/sailfishos/qml/cover/CoverPage.qml
+++ b/mobile/sailfishos/qml/cover/CoverPage.qml
@@ -1,29 +1,52 @@
/***************************************************************************
- * Copyright (C) 2016-2017 by Thomas Fischer *
+ * Copyright (C) 2016-2019 by Thomas Fischer *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, see . *
***************************************************************************/
import QtQuick 2.0
import Sailfish.Silica 1.0
CoverBackground {
- Label {
- id: label
+ Column {
+ id: cover
anchors.centerIn: parent
- text: qsTr("BibSearch")
+
+ Image {
+ id: logo
+ source: 'qrc:/icons/kbibtex.svg'
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: parent.width
+ height: sourceSize.height * width / sourceSize.width
+ }
+
+ Label {
+ id: label
+ text: qsTr("BibSearch")
+ }
}
-}
+ CoverActionList {
+ CoverAction {
+ iconSource: "image://theme/icon-cover-search"
+ onTriggered: {
+ pageStack.clear()
+ pageStack.push(Qt.resolvedUrl("../pages/BibliographyListView.qml"))
+ pageStack.push(Qt.resolvedUrl("../pages/SearchForm.qml"))
+ mainWindow.activate()
+ }
+ }
+ }
+}
diff --git a/mobile/sailfishos/sailfishos_res.qrc b/mobile/sailfishos/sailfishos_res.qrc
index 89091b2f..fda83004 100644
--- a/mobile/sailfishos/sailfishos_res.qrc
+++ b/mobile/sailfishos/sailfishos_res.qrc
@@ -1,5 +1,6 @@
icons/128/harbour-bibsearch.png
+ icons/kbibtex.svg