campaigneditor.ui 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CampaignEditor</class>
  4. <widget class="QWidget" name="CampaignEditor">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>820</width>
  10. <height>720</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>VCMI Campaign Editor</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="rightMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="bottomMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="spacing">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="QMenuBar" name="menubar">
  34. <widget class="QMenu" name="menuFile">
  35. <property name="title">
  36. <string>File</string>
  37. </property>
  38. <addaction name="actionNew"/>
  39. <addaction name="actionOpen"/>
  40. <addaction name="actionOpenSet"/>
  41. <addaction name="actionSave"/>
  42. <addaction name="actionSave_as"/>
  43. </widget>
  44. <widget class="QMenu" name="menuEdit">
  45. <property name="title">
  46. <string>Edit</string>
  47. </property>
  48. <addaction name="actionCampaignProperties"/>
  49. <addaction name="actionScenarioProperties"/>
  50. </widget>
  51. <widget class="QMenu" name="menuView">
  52. <property name="title">
  53. <string>View</string>
  54. </property>
  55. <addaction name="actionShowFullBackground"/>
  56. </widget>
  57. <addaction name="menuFile"/>
  58. <addaction name="menuEdit"/>
  59. <addaction name="menuView"/>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QToolBar" name="toolBar">
  64. <property name="windowTitle">
  65. <string>Toolbar</string>
  66. </property>
  67. <property name="bottomMargin" stdset="0">
  68. <number>0</number>
  69. </property>
  70. <property name="topMargin" stdset="0">
  71. <number>0</number>
  72. </property>
  73. <addaction name="actionNew"/>
  74. <addaction name="actionOpen"/>
  75. <addaction name="actionSave"/>
  76. <addaction name="separator"/>
  77. <addaction name="actionCampaignProperties"/>
  78. <addaction name="actionScenarioProperties"/>
  79. <addaction name="separator"/>
  80. <addaction name="actionShowFullBackground"/>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="CampaignView" name="campaignView">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <property name="mouseTracking">
  92. <bool>true</bool>
  93. </property>
  94. <property name="sizeAdjustPolicy">
  95. <enum>QAbstractScrollArea::AdjustToContents</enum>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QStatusBar" name="statusbar"/>
  101. </item>
  102. </layout>
  103. <action name="actionOpen">
  104. <property name="text">
  105. <string>Open</string>
  106. </property>
  107. <property name="shortcut">
  108. <string notr="true">Ctrl+O</string>
  109. </property>
  110. </action>
  111. <action name="actionOpenSet">
  112. <property name="text">
  113. <string>Open Campaignset</string>
  114. </property>
  115. <property name="shortcut">
  116. <string notr="true">Ctrl+G</string>
  117. </property>
  118. </action>
  119. <action name="actionSave">
  120. <property name="text">
  121. <string>Save</string>
  122. </property>
  123. <property name="shortcut">
  124. <string notr="true">Ctrl+S</string>
  125. </property>
  126. </action>
  127. <action name="actionNew">
  128. <property name="text">
  129. <string>New</string>
  130. </property>
  131. <property name="shortcut">
  132. <string notr="true">Ctrl+N</string>
  133. </property>
  134. </action>
  135. <action name="actionSave_as">
  136. <property name="text">
  137. <string>Save as...</string>
  138. </property>
  139. <property name="shortcut">
  140. <string>Ctrl+Shift+S</string>
  141. </property>
  142. </action>
  143. <action name="actionCampaignProperties">
  144. <property name="text">
  145. <string>Campaign Properties</string>
  146. </property>
  147. <property name="toolTip">
  148. <string>Campaign Properties</string>
  149. </property>
  150. <property name="shortcut">
  151. <string notr="true">Ctrl+Return</string>
  152. </property>
  153. <property name="shortcutContext">
  154. <enum>Qt::ApplicationShortcut</enum>
  155. </property>
  156. </action>
  157. <action name="actionScenarioProperties">
  158. <property name="text">
  159. <string>Scenario Properties</string>
  160. </property>
  161. <property name="toolTip">
  162. <string>Scenario Properties</string>
  163. </property>
  164. <property name="shortcut">
  165. <string notr="true">Return</string>
  166. </property>
  167. <property name="shortcutContext">
  168. <enum>Qt::ApplicationShortcut</enum>
  169. </property>
  170. </action>
  171. <action name="actionShowFullBackground">
  172. <property name="text">
  173. <string>Show full background</string>
  174. </property>
  175. <property name="toolTip">
  176. <string>Show full background</string>
  177. </property>
  178. <property name="shortcut">
  179. <string notr="true">F</string>
  180. </property>
  181. </action>
  182. </widget>
  183. <customwidgets>
  184. <customwidget>
  185. <class>CampaignView</class>
  186. <extends>QGraphicsView</extends>
  187. <header>campaigneditor/campaignview.h</header>
  188. </customwidget>
  189. </customwidgets>
  190. <resources/>
  191. <connections/>
  192. </ui>