123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
- import QtQuick 1.1
- import "../parts/"
- KPage {
- id: karmaHelp
- property bool firstExecution: false
- //tools: helpTools
- Rectangle{
- anchors.fill: parent
- color: "#e1ecef"
- }
- Flickable{
- id: flickhelp
- width: parent.width; height: parent.height-titlebar.height
- contentWidth: parent.width;
- contentHeight: textHelp.height+100
- anchors.top: titlebar.bottom
- anchors.right: parent.right
- Text {
- id: textHelp
- anchors.margins: 10
- font.pixelSize: 22
- width: parent.width
- wrapMode: Text.WordWrap
- textFormat: Text.RichText
- text: qsTr("<b>The Karma Way</b><p><b>The Karma Way</b> is a simple app to keep track of your karma</p>\
- <p>Edit your profile in settings to add your photo and name</p>\
- <p>In the karma actions list you can add your good and bad actions, then you will see them refelcted in the main page's line graph.\
- The blue line represents your current karma status</p>")
- }
- }
- TitleBar{
- id: titlebar
- }
- KToolBar{
- KButton { text: "toolbar-back";
- onClicked: {
- if (firstExecution)
- pageStack.push(Qt.resolvedUrl("SettingsForm.qml"),{firstExecution:true})
- else
- pageStack.pop()
- }
- }
- }
- }
|