MainForm.ui.qml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import QtQuick 2.5
  2. import QtQuick.Controls 1.4
  3. import QtQuick.Layouts 1.2
  4. Item {
  5. id: item1
  6. width: 640
  7. height: 480
  8. property alias gridLayout1: gridLayout1
  9. property alias button4: button4
  10. property alias mouseArea1: mouseArea1
  11. property alias button2: button2
  12. property alias button3: button3
  13. property alias button1: button1
  14. GridLayout {
  15. id: gridLayout1
  16. y: 0
  17. height: 480
  18. anchors.leftMargin: 337
  19. transformOrigin: Item.Center
  20. anchors.verticalCenter: parent.verticalCenter
  21. anchors.top: parent.top
  22. anchors.right: parent.right
  23. anchors.left: parent.left
  24. rows: 1
  25. columns: 8
  26. columnSpacing: 5
  27. ColumnLayout {
  28. id: columnLayout1
  29. width: 100
  30. height: 100
  31. Layout.columnSpan: 3
  32. Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
  33. Layout.maximumWidth: 5000
  34. Button {
  35. id: button2
  36. text: qsTr("Anterior")
  37. Layout.fillWidth: true
  38. }
  39. Button {
  40. id: button1
  41. text: qsTr("Siguiente")
  42. Layout.fillWidth: true
  43. }
  44. Button {
  45. id: button4
  46. x: 133
  47. y: 75
  48. text: qsTr("Limpiar")
  49. Layout.fillWidth: true
  50. }
  51. Button {
  52. id: button3
  53. text: qsTr("Break")
  54. Layout.rowSpan: 11
  55. Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
  56. Layout.fillWidth: true
  57. }
  58. }
  59. }
  60. MouseArea {
  61. id: mouseArea1
  62. x: 0
  63. y: 0
  64. width: 320
  65. height: 250
  66. }
  67. }