mainwindow.ui 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>572</width>
  10. <height>444</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>TicTacToe</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QGridLayout" name="gridLayout">
  18. <item row="0" column="0">
  19. <widget class="QScrollArea" name="scrollArea">
  20. <widget class="QWidget" name="scrollAreaWidgetContents">
  21. <property name="geometry">
  22. <rect>
  23. <x>0</x>
  24. <y>0</y>
  25. <width>552</width>
  26. <height>360</height>
  27. </rect>
  28. </property>
  29. <layout class="QGridLayout" name="gridLayout_2"/>
  30. </widget>
  31. </widget>
  32. </item>
  33. </layout>
  34. </widget>
  35. <widget class="QMenuBar" name="menuBar">
  36. <property name="geometry">
  37. <rect>
  38. <x>0</x>
  39. <y>0</y>
  40. <width>572</width>
  41. <height>21</height>
  42. </rect>
  43. </property>
  44. <widget class="QMenu" name="menuGame">
  45. <property name="title">
  46. <string>Game</string>
  47. </property>
  48. <addaction name="actionNew_game"/>
  49. <addaction name="actionGame_settings"/>
  50. </widget>
  51. <widget class="QMenu" name="menuHelp">
  52. <property name="title">
  53. <string>Help</string>
  54. </property>
  55. <addaction name="actionAbout"/>
  56. </widget>
  57. <addaction name="menuGame"/>
  58. <addaction name="menuHelp"/>
  59. </widget>
  60. <widget class="QToolBar" name="mainToolBar">
  61. <attribute name="toolBarArea">
  62. <enum>TopToolBarArea</enum>
  63. </attribute>
  64. <attribute name="toolBarBreak">
  65. <bool>false</bool>
  66. </attribute>
  67. <addaction name="actionNew_game"/>
  68. <addaction name="actionGame_settings"/>
  69. <addaction name="actionStart_server"/>
  70. <addaction name="actionConnect_to_Server"/>
  71. <addaction name="actionDisconnect"/>
  72. </widget>
  73. <widget class="QStatusBar" name="statusBar"/>
  74. <action name="actionNew_game">
  75. <property name="text">
  76. <string>New game</string>
  77. </property>
  78. <property name="toolTip">
  79. <string>Start new game</string>
  80. </property>
  81. <property name="shortcut">
  82. <string>Ctrl+N</string>
  83. </property>
  84. </action>
  85. <action name="actionGame_settings">
  86. <property name="text">
  87. <string>Game settings</string>
  88. </property>
  89. <property name="toolTip">
  90. <string>Show game settings dialog</string>
  91. </property>
  92. <property name="shortcut">
  93. <string>Ctrl+P</string>
  94. </property>
  95. </action>
  96. <action name="actionStart_server">
  97. <property name="text">
  98. <string>Start server</string>
  99. </property>
  100. </action>
  101. <action name="actionConnect_to_Server">
  102. <property name="text">
  103. <string>Connect to Server</string>
  104. </property>
  105. </action>
  106. <action name="actionDisconnect">
  107. <property name="enabled">
  108. <bool>false</bool>
  109. </property>
  110. <property name="text">
  111. <string>Disconnect</string>
  112. </property>
  113. </action>
  114. <action name="actionAbout">
  115. <property name="text">
  116. <string>About</string>
  117. </property>
  118. </action>
  119. </widget>
  120. <layoutdefault spacing="6" margin="11"/>
  121. <resources/>
  122. <connections/>
  123. </ui>