AboutSheet.qml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /****************************************************************************
  2. **
  3. ** Copyright (C) 2012 Róbert Márki
  4. **
  5. ** This file is part of Web Feeds.
  6. **
  7. ** Web Feeds is free software: you can redistribute it and/or modify
  8. ** it under the terms of the GNU General Public License as published by
  9. ** the Free Software Foundation, either version 3 of the License, or
  10. ** (at your option) any later version.
  11. **
  12. ** Web Feeds is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ** GNU General Public License for more details.
  16. **
  17. ** You should have received a copy of the GNU General Public License
  18. ** along with Web Feeds. If not, see <http://www.gnu.org/licenses/>.
  19. ****************************************************************************/
  20. import QtQuick 1.1
  21. import com.nokia.meego 1.0
  22. import com.nokia.extras 1.1
  23. import WebFeeds 1.0
  24. import "../../../shared/qml" as Shared
  25. import "../../../shared/qml/UIConstants.js" as UIConstants
  26. Shared.CommonSheet {
  27. id: root
  28. rejectButtonText: qsTr("Close")
  29. title: qsTr("Web Feeds")
  30. iconSource: "qrc:/app/webfeeds_64.png"
  31. contentItem: Item {
  32. anchors.fill: parent
  33. Label {
  34. width: parent.width
  35. font.family: UIConstants.FONT_FAMILY_LIGHT
  36. anchors.top: parent.top
  37. anchors.topMargin: UIConstants.DEFAULT_MARGIN * 3
  38. horizontalAlignment: Text.AlignHCenter
  39. textFormat: Text.RichText
  40. text: "Client for various Web-based feed aggregator services.<br />"
  41. + "Version: 0.3.0<br />"
  42. + "Copyright (C) 2012 <a href=\"mailto:gsmiko@gmail.com?subject=Web Feeds\">Róbert Márki</a>";
  43. onLinkActivated: Qt.openUrlExternally(link);
  44. }
  45. Label {
  46. width: parent.width
  47. font.family: UIConstants.FONT_FAMILY_LIGHT
  48. anchors.bottom: parent.bottom
  49. anchors.bottomMargin: UIConstants.DEFAULT_MARGIN * 2
  50. horizontalAlignment: Text.AlignHCenter
  51. textFormat: Text.RichText
  52. text: "<a href=\"http://projects.developer.nokia.com/feed_reader\">Web Feeds project</a><br />"
  53. + "<a href=\"http://www.gnu.org/licenses/gpl-3.0.html\">GNU General Public License Version 3</a>";
  54. onLinkActivated: Qt.openUrlExternally(link);
  55. }
  56. }
  57. }