12345678910111213141516171819202122232425262728293031 |
- import QtQuick 1.1
- import "../parts"
- KToolBar {
- KButton {
- text: qsTr("Pending votings")
- onClicked: pageStack.push(Qt.resolvedUrl("PendingVotings.qml"))
- }
- KButton {
- text:qsTr("My Karma")
- onClicked: pageStack.push(Qt.resolvedUrl("PersonPage.qml"))
- }
- KButton {
- text:qsTr("People")
- onClicked: pageStack.push(Qt.resolvedUrl("People.qml"))
- }
- KButton {
- text: qsTr("Heaven")
- onClicked: pageStack.push(Qt.resolvedUrl("Heaven.qml"))
- }
- KButton {
- text: qsTr("Hell")
- onClicked: karmaMenu.visible=true
- //onClicked: (karmaMenu.status === DialogStatus.Closed) ? karmaMenu.open() : karmaMenu.close()
- }
- }
|