Advertisement
karenaaa

Untitled

Jun 14th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. import QtQuick 2.12
  2. import QtQuick.Window 2.12
  3. import QtQuick.Controls 2.12
  4. import QtQuick.Layouts 1.12
  5. import QtQml.Models 2.12
  6.  
  7.  
  8. ApplicationWindow {
  9. visible: true
  10. menuBar: MenuBar {
  11. Menu {
  12. title: qsTr("&File")
  13. Action { text: qsTr("&New...") }
  14. Action { text: qsTr("&Open...") }
  15. Action { text: qsTr("&Save") }
  16. Action { text: qsTr("&Save As...") }
  17. MenuSeparator { }
  18. Action { text: qsTr("&Quit") }
  19. }
  20. Menu {
  21. title: qsTr("&Settings")
  22. Action { text: qsTr("&Theme") }
  23. Action { text: qsTr("&Grid") }
  24. }
  25. }
  26. header: ToolBar {
  27. RowLayout{
  28. id: buttons
  29. Button {
  30. text: "add 2d"
  31. }
  32. Button {
  33. text: "add 3d"
  34. }
  35. }
  36. }
  37. footer: TabBar {
  38. Text {
  39. // ...
  40. }
  41. }
  42. RowLayout{
  43. id: layout
  44. spacing: 250
  45. Text {
  46. text: "spaces"
  47. }
  48. Text {
  49. text: "screen"
  50. }
  51. }
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement