MainForm.ui.qml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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: 3
  25. columns: 8
  26. columnSpacing: 5
  27. ColumnLayout {
  28. id: columnLayout1
  29. width: 100
  30. height: 100
  31. Layout.fillHeight: true
  32. Layout.columnSpan: 1
  33. Layout.alignment: Qt.AlignRight | Qt.AlignTop
  34. Layout.maximumWidth: 5000
  35. Button {
  36. id: button2
  37. text: qsTr("Anterior")
  38. Layout.fillWidth: true
  39. }
  40. Button {
  41. id: button1
  42. text: qsTr("Siguiente")
  43. Layout.fillWidth: true
  44. }
  45. Button {
  46. id: button4
  47. x: 133
  48. y: 75
  49. text: qsTr("Limpiar")
  50. Layout.fillWidth: true
  51. }
  52. }
  53. }
  54. MouseArea {
  55. id: mouseArea1
  56. x: 0
  57. y: 0
  58. width: 320
  59. height: 250
  60. }
  61. ColumnLayout {
  62. id: columnLayout2
  63. x: 337
  64. y: 108
  65. width: 100
  66. height: 100
  67. Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
  68. Button {
  69. id: button3
  70. text: qsTr("Break")
  71. isDefault: false
  72. checkable: false
  73. Layout.fillHeight: false
  74. Layout.rowSpan: 11
  75. Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
  76. Layout.fillWidth: true
  77. }
  78. }
  79. }