metavis.ui 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. <widget class="QMenuBar" name="menuBar">
  18. <property name="geometry">
  19. <rect>
  20. <x>0</x>
  21. <y>0</y>
  22. <width>744</width>
  23. <height>21</height>
  24. </rect>
  25. </property>
  26. <property name="nativeMenuBar">
  27. <bool>true</bool>
  28. </property>
  29. <widget class="QMenu" name="menuFile">
  30. <property name="title">
  31. <string>File</string>
  32. </property>
  33. <addaction name="actionOpen"/>
  34. <addaction name="separator"/>
  35. <addaction name="actionSettings"/>
  36. </widget>
  37. <widget class="QMenu" name="menuView">
  38. <property name="title">
  39. <string>View</string>
  40. </property>
  41. </widget>
  42. <addaction name="menuFile"/>
  43. <addaction name="menuView"/>
  44. </widget>
  45. <widget class="QToolBar" name="mainToolBar">
  46. <attribute name="toolBarArea">
  47. <enum>TopToolBarArea</enum>
  48. </attribute>
  49. <attribute name="toolBarBreak">
  50. <bool>false</bool>
  51. </attribute>
  52. </widget>
  53. <action name="actionOpen">
  54. <property name="text">
  55. <string>Open..</string>
  56. </property>
  57. <property name="shortcut">
  58. <string>Ctrl+O</string>
  59. </property>
  60. </action>
  61. <action name="actionSettings">
  62. <property name="text">
  63. <string>Settings</string>
  64. </property>
  65. <property name="shortcut">
  66. <string>Ctrl+P</string>
  67. </property>
  68. </action>
  69. </widget>
  70. <layoutdefault spacing="6" margin="11"/>
  71. <resources>
  72. <include location="metavis.qrc"/>
  73. </resources>
  74. <connections>
  75. <connection>
  76. <sender>actionSettings</sender>
  77. <signal>triggered()</signal>
  78. <receiver>metavisClass</receiver>
  79. <slot>openSetting()</slot>
  80. <hints>
  81. <hint type="sourcelabel">
  82. <x>-1</x>
  83. <y>-1</y>
  84. </hint>
  85. <hint type="destinationlabel">
  86. <x>299</x>
  87. <y>158</y>
  88. </hint>
  89. </hints>
  90. </connection>
  91. <connection>
  92. <sender>actionOpen</sender>
  93. <signal>triggered()</signal>
  94. <receiver>metavisClass</receiver>
  95. <slot>openFile()</slot>
  96. <hints>
  97. <hint type="sourcelabel">
  98. <x>-1</x>
  99. <y>-1</y>
  100. </hint>
  101. <hint type="destinationlabel">
  102. <x>371</x>
  103. <y>279</y>
  104. </hint>
  105. </hints>
  106. </connection>
  107. </connections>
  108. <slots>
  109. <slot>openSetting()</slot>
  110. <slot>openFile()</slot>
  111. </slots>
  112. </ui>