AddContactView.qml 809 B

12345678910111213141516171819202122232425262728293031323334
  1. import QtQuick 2.0
  2. import QtQuick.Controls 2.4
  3. StackItem {
  4. id: root
  5. Flickable {
  6. anchors.fill: parent
  7. Column {
  8. width: root.width
  9. TextInputRow {
  10. id: firstName
  11. width: root.width
  12. label: qsTr("First name")
  13. }
  14. TextInputRow {
  15. width: root.width
  16. label: qsTr("Middle name")
  17. }
  18. TextInputRow {
  19. width: root.width
  20. label: qsTr("Last name")
  21. }
  22. }
  23. }
  24. FloatingRoundButton {
  25. id: addContactButton
  26. enabled: firstName.text.length > 0
  27. anchors.right: parent.right
  28. anchors.bottom: parent.bottom
  29. anchors.margins: 10
  30. icon: "qrc:/images/check.png"
  31. }
  32. }