AddressBookForm.ui.qml 734 B

123456789101112131415161718192021222324252627282930
  1. import QtQuick 2.7
  2. import QtQuick.Controls 2.0
  3. Item {
  4. width: 400
  5. height: 400
  6. Item {
  7. id: pageNameLayout
  8. height: 40
  9. anchors.right: parent.right
  10. anchors.rightMargin: 0
  11. anchors.left: parent.left
  12. anchors.leftMargin: 0
  13. anchors.bottom: parent.bottom
  14. anchors.bottomMargin: 0
  15. Text {
  16. id: pageName
  17. text: qsTr("Адресная книга")
  18. font.pixelSize: parent.width > 300 ? 24 : 12
  19. verticalAlignment: Text.AlignVCenter
  20. horizontalAlignment: Text.AlignHCenter
  21. renderType: Text.QtRendering
  22. font.capitalization: Font.MixedCase
  23. anchors.fill: parent
  24. }
  25. }
  26. }