metavis.ui 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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>600</width>
  10. <height>318</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>600</width>
  23. <height>21</height>
  24. </rect>
  25. </property>
  26. <widget class="QMenu" name="menuFile">
  27. <property name="title">
  28. <string>File</string>
  29. </property>
  30. <addaction name="actionOpen"/>
  31. <addaction name="separator"/>
  32. <addaction name="actionSettings"/>
  33. </widget>
  34. <widget class="QMenu" name="menuView">
  35. <property name="title">
  36. <string>View</string>
  37. </property>
  38. </widget>
  39. <addaction name="menuFile"/>
  40. <addaction name="menuView"/>
  41. </widget>
  42. <widget class="QToolBar" name="mainToolBar">
  43. <attribute name="toolBarArea">
  44. <enum>TopToolBarArea</enum>
  45. </attribute>
  46. <attribute name="toolBarBreak">
  47. <bool>false</bool>
  48. </attribute>
  49. </widget>
  50. <widget class="QStatusBar" name="statusBar"/>
  51. <action name="actionOpen">
  52. <property name="text">
  53. <string>Open..</string>
  54. </property>
  55. <property name="shortcut">
  56. <string>Ctrl+O</string>
  57. </property>
  58. </action>
  59. <action name="actionSettings">
  60. <property name="text">
  61. <string>Settings</string>
  62. </property>
  63. <property name="shortcut">
  64. <string>Ctrl+P</string>
  65. </property>
  66. </action>
  67. </widget>
  68. <layoutdefault spacing="6" margin="11"/>
  69. <resources>
  70. <include location="metavis.qrc"/>
  71. </resources>
  72. <connections>
  73. <connection>
  74. <sender>actionSettings</sender>
  75. <signal>triggered()</signal>
  76. <receiver>metavisClass</receiver>
  77. <slot>openSetting()</slot>
  78. <hints>
  79. <hint type="sourcelabel">
  80. <x>-1</x>
  81. <y>-1</y>
  82. </hint>
  83. <hint type="destinationlabel">
  84. <x>299</x>
  85. <y>158</y>
  86. </hint>
  87. </hints>
  88. </connection>
  89. </connections>
  90. <slots>
  91. <slot>openSetting()</slot>
  92. </slots>
  93. </ui>