Main.qml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright (C) 2026 Siningsoft
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; version 3.
  7. *
  8. * utarchery is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. import QtQuick 2.7
  17. import Lomiri.Components 1.3
  18. //import QtQuick.Controls 2.2
  19. import QtQuick.Layouts 1.3
  20. import Qt.labs.settings 1.0
  21. MainView {
  22. id: root
  23. objectName: 'mainView'
  24. applicationName: 'utarchery.siningsoft.de'
  25. width: units.gu(45)
  26. height: units.gu(75)
  27. Page {
  28. anchors.fill: parent
  29. header: PageHeader {
  30. id: header
  31. title: i18n.tr('utArchery')
  32. }
  33. Label {
  34. anchors {
  35. top: header.bottom
  36. left: parent.left
  37. right: parent.right
  38. bottom: parent.bottom
  39. }
  40. text: i18n.tr('Hello World!')
  41. verticalAlignment: Label.AlignVCenter
  42. horizontalAlignment: Label.AlignHCenter
  43. }
  44. }
  45. }