projects
/
quandoparte
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d51d0c
)
Small fixes for sailfish os
author
Luciano Montanaro
<mikelima@cirulla.net>
Sun, 10 Nov 2013 13:58:52 +0000
(14:58 +0100)
committer
Luciano Montanaro
<mikelima@cirulla.net>
Sun, 10 Nov 2013 13:58:52 +0000
(14:58 +0100)
application/resources/sailfish/applications/quandoparte.desktop
[new file with mode: 0755]
patch
|
blob
application/resources/sailfish/qml/cover/CoverPage.qml
patch
|
blob
|
history
application/resources/sailfish/qml/pages/StationPage.qml
patch
|
blob
|
history
diff --git a/application/resources/sailfish/applications/quandoparte.desktop
b/application/resources/sailfish/applications/quandoparte.desktop
new file mode 100755
(executable)
index 0000000..
250e043
--- /dev/null
+++ b/
application/resources/sailfish/applications/quandoparte.desktop
@@ -0,0
+1,8
@@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Terminal=false
+Name=Quando Parte
+Exec=/usr/bin/invoker --type=silica-qt5 -s /usr/bin/quandoparte
+Icon=/usr/share/icons/hicolor/meegotouch/apps/quandoparte.png
diff --git
a/application/resources/sailfish/qml/cover/CoverPage.qml
b/application/resources/sailfish/qml/cover/CoverPage.qml
index
17ee438
..
181a54d
100644
(file)
--- a/
application/resources/sailfish/qml/cover/CoverPage.qml
+++ b/
application/resources/sailfish/qml/cover/CoverPage.qml
@@
-2,25
+2,11
@@
import QtQuick 2.0
import Sailfish.Silica 1.0
CoverBackground {
import Sailfish.Silica 1.0
CoverBackground {
- Label {
- id: label
+ CoverPlaceholder {
anchors.centerIn: parent
text: qsTr("Quando Parte")
anchors.centerIn: parent
text: qsTr("Quando Parte")
+ icon.source: "/usr/share/icons/hicolor/meegotouch/apps/quandoparte.png"
}
}
-
-/*
- CoverActionList {
- id: coverAction
-
- CoverAction {
- iconSource: "image://theme/icon-cover-next"
- }
-
- CoverAction {
- iconSource: "image://theme/icon-cover-pause"
- }
- }
-*/
}
}
diff --git
a/application/resources/sailfish/qml/pages/StationPage.qml
b/application/resources/sailfish/qml/pages/StationPage.qml
index
b1ea927
..
9d240d9
100644
(file)
--- a/
application/resources/sailfish/qml/pages/StationPage.qml
+++ b/
application/resources/sailfish/qml/pages/StationPage.qml
@@
-57,18
+57,14
@@
Page {
}
Item {
id: errorDisplay
}
Item {
id: errorDisplay
- anchors.centerIn: parent
+ anchors.fill: parent
Column {
Column {
- anchors.centerIn: parent
+ anchors.fill: parent
spacing: Theme.paddingLarge
Label {
spacing: Theme.paddingLarge
Label {
- text: qsTr("Error!")
- width: parent.width
- font.pixelSize: Theme.fontSizeHuge
- horizontalAlignment: Text.AlignHCenter
- }
- Label {
- text: schedule.error
+ textFormat: Text.StyledText
+ wrapMode: Text.WordWrap
+ text: "<p>" + qsTr("Error!") + "</p><p>" + schedule.error + "</p>"
width: parent.width
font.pixelSize: Theme.fontSizeHuge
horizontalAlignment: Text.AlignHCenter
width: parent.width
font.pixelSize: Theme.fontSizeHuge
horizontalAlignment: Text.AlignHCenter