metavis.ui 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>metavisClass</class>
  4. <widget class="QMainWindow" name="metavisClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>744</width>
  10. <height>560</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>metavis</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout">
  18. <property name="spacing">
  19. <number>0</number>
  20. </property>
  21. <property name="leftMargin">
  22. <number>0</number>
  23. </property>
  24. <property name="topMargin">
  25. <number>0</number>
  26. </property>
  27. <property name="rightMargin">
  28. <number>0</number>
  29. </property>
  30. <property name="bottomMargin">
  31. <number>0</number>
  32. </property>
  33. <item>
  34. <widget class="QTabWidget" name="tabWidget">
  35. <property name="styleSheet">
  36. <string notr="true"/>
  37. </property>
  38. <property name="currentIndex">
  39. <number>0</number>
  40. </property>
  41. <widget class="QWidget" name="BitFieldWidget">
  42. <attribute name="title">
  43. <string>BitField</string>
  44. </attribute>
  45. </widget>
  46. </widget>
  47. </item>
  48. </layout>
  49. </widget>
  50. <widget class="QMenuBar" name="menuBar">
  51. <property name="geometry">
  52. <rect>
  53. <x>0</x>
  54. <y>0</y>
  55. <width>744</width>
  56. <height>21</height>
  57. </rect>
  58. </property>
  59. <property name="nativeMenuBar">
  60. <bool>true</bool>
  61. </property>
  62. <widget class="QMenu" name="menuFile">
  63. <property name="title">
  64. <string>File</string>
  65. </property>
  66. <addaction name="actionOpen"/>
  67. <addaction name="separator"/>
  68. <addaction name="actionSettings"/>
  69. </widget>
  70. <widget class="QMenu" name="menuView">
  71. <property name="title">
  72. <string>View</string>
  73. </property>
  74. </widget>
  75. <widget class="QMenu" name="menuProject">
  76. <property name="title">
  77. <string>Project</string>
  78. </property>
  79. <addaction name="ActionAddMetalogFile"/>
  80. </widget>
  81. <addaction name="menuFile"/>
  82. <addaction name="menuView"/>
  83. <addaction name="menuProject"/>
  84. </widget>
  85. <widget class="QToolBar" name="mainToolBar">
  86. <attribute name="toolBarArea">
  87. <enum>TopToolBarArea</enum>
  88. </attribute>
  89. <attribute name="toolBarBreak">
  90. <bool>false</bool>
  91. </attribute>
  92. </widget>
  93. <action name="actionOpen">
  94. <property name="text">
  95. <string>Open..</string>
  96. </property>
  97. <property name="shortcut">
  98. <string>Ctrl+O</string>
  99. </property>
  100. </action>
  101. <action name="actionSettings">
  102. <property name="text">
  103. <string>Settings</string>
  104. </property>
  105. <property name="shortcut">
  106. <string>Ctrl+P</string>
  107. </property>
  108. </action>
  109. <action name="ActionAddMetalogFile">
  110. <property name="text">
  111. <string>Add .metalog-File..</string>
  112. </property>
  113. </action>
  114. </widget>
  115. <layoutdefault spacing="6" margin="11"/>
  116. <resources>
  117. <include location="metavis.qrc"/>
  118. </resources>
  119. <connections>
  120. <connection>
  121. <sender>actionSettings</sender>
  122. <signal>triggered()</signal>
  123. <receiver>metavisClass</receiver>
  124. <slot>openSetting()</slot>
  125. <hints>
  126. <hint type="sourcelabel">
  127. <x>-1</x>
  128. <y>-1</y>
  129. </hint>
  130. <hint type="destinationlabel">
  131. <x>299</x>
  132. <y>158</y>
  133. </hint>
  134. </hints>
  135. </connection>
  136. <connection>
  137. <sender>actionOpen</sender>
  138. <signal>triggered()</signal>
  139. <receiver>metavisClass</receiver>
  140. <slot>openFile()</slot>
  141. <hints>
  142. <hint type="sourcelabel">
  143. <x>-1</x>
  144. <y>-1</y>
  145. </hint>
  146. <hint type="destinationlabel">
  147. <x>371</x>
  148. <y>279</y>
  149. </hint>
  150. </hints>
  151. </connection>
  152. </connections>
  153. <slots>
  154. <slot>openSetting()</slot>
  155. <slot>openFile()</slot>
  156. </slots>
  157. </ui>