PostLog.qml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import Qt 4.7
  2. import "../colibri"
  3. import "../js/FutuHeia.js" as FutuHeia
  4. Item {
  5. width: screenWidth
  6. height: 80
  7. CLButton {
  8. anchors {
  9. top: parent.top
  10. left: parent.left
  11. bottom: parent.bottom
  12. margins: 20
  13. }
  14. width: (parent. width / 2) - 30
  15. text: appItem.postsButtonText
  16. onClicked: FutuHeia.showLog();
  17. hoveredStateOn: false
  18. borderColor: appItem.heiaFocusColorOuter
  19. color: appItem.heiaFocusColorInner
  20. colorWhenPressed: appItem.heiaOrange
  21. gradientDefaultOn: false
  22. gradientPressedOn: false
  23. gradientSelectedOn: false
  24. textColor: "black"
  25. borderWidth: 4
  26. }
  27. CLButton {
  28. anchors {
  29. top: parent.top
  30. right: parent.right
  31. bottom: parent.bottom
  32. margins: 20
  33. }
  34. width: (parent. width / 2) - 30
  35. text: qsTr("Submit")
  36. onClicked: FutuHeia.postEntry();
  37. hoveredStateOn: false
  38. borderColor: appItem.heiaFocusColorOuter
  39. color: appItem.heiaFocusColorInner
  40. colorWhenPressed: appItem.heiaOrange
  41. gradientDefaultOn: false
  42. gradientPressedOn: false
  43. gradientSelectedOn: false
  44. textColor: "black"
  45. borderWidth: 4
  46. }
  47. }