CoverPage.qml 955 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import QtQuick 2.0
  2. import Sailfish.Silica 1.0
  3. CoverBackground {
  4. Image {
  5. id: coverimg
  6. source: Qt.resolvedUrl("onvista-launcher-86.png")
  7. anchors.horizontalCenter: parent.horizontalCenter
  8. //aspect ration einhalten
  9. fillMode: Image.PreserveAspectFit
  10. anchors.top: parent.top
  11. anchors.topMargin: Theme.paddingLarge
  12. smooth: true
  13. }
  14. Label {
  15. id: coverlbl
  16. anchors.horizontalCenter: parent.horizontalCenter
  17. anchors.top: coverimg.bottom
  18. anchors.topMargin: Theme.paddingLarge
  19. font.pixelSize: Theme.fontSizeMedium
  20. color: Theme.primaryColor
  21. text: qsTr("OnVista (unofficial)")
  22. }
  23. // CoverActionList {
  24. // id: coverAction
  25. // CoverAction {
  26. // iconSource: "image://theme/icon-cover-next"
  27. // }
  28. // CoverAction {
  29. // iconSource: "image://theme/icon-cover-pause"
  30. // }
  31. // }
  32. }