No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

100 líneas
2.2 KiB

  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>1012</width>
  10. <height>656</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <widget class="QListWidget" name="listWidget">
  18. <property name="geometry">
  19. <rect>
  20. <x>20</x>
  21. <y>10</y>
  22. <width>171</width>
  23. <height>491</height>
  24. </rect>
  25. </property>
  26. </widget>
  27. <widget class="MyGraphicsView" name="graphicsView">
  28. <property name="geometry">
  29. <rect>
  30. <x>210</x>
  31. <y>10</y>
  32. <width>761</width>
  33. <height>491</height>
  34. </rect>
  35. </property>
  36. <property name="dragMode">
  37. <enum>QGraphicsView::NoDrag</enum>
  38. </property>
  39. </widget>
  40. <widget class="QPushButton" name="pushButton">
  41. <property name="geometry">
  42. <rect>
  43. <x>30</x>
  44. <y>510</y>
  45. <width>93</width>
  46. <height>28</height>
  47. </rect>
  48. </property>
  49. <property name="text">
  50. <string>插入</string>
  51. </property>
  52. </widget>
  53. </widget>
  54. <widget class="QMenuBar" name="menubar">
  55. <property name="geometry">
  56. <rect>
  57. <x>0</x>
  58. <y>0</y>
  59. <width>1012</width>
  60. <height>26</height>
  61. </rect>
  62. </property>
  63. <widget class="QMenu" name="menu">
  64. <property name="title">
  65. <string>文件</string>
  66. </property>
  67. <addaction name="actionnew"/>
  68. <addaction name="actionOpen"/>
  69. <addaction name="actionSave"/>
  70. </widget>
  71. <addaction name="menu"/>
  72. </widget>
  73. <widget class="QStatusBar" name="statusbar"/>
  74. <action name="actionnew">
  75. <property name="text">
  76. <string>New</string>
  77. </property>
  78. </action>
  79. <action name="actionOpen">
  80. <property name="text">
  81. <string>Open</string>
  82. </property>
  83. </action>
  84. <action name="actionSave">
  85. <property name="text">
  86. <string>Save</string>
  87. </property>
  88. </action>
  89. </widget>
  90. <customwidgets>
  91. <customwidget>
  92. <class>MyGraphicsView</class>
  93. <extends>QGraphicsView</extends>
  94. <header>mygraphicsview.h</header>
  95. </customwidget>
  96. </customwidgets>
  97. <resources/>
  98. <connections/>
  99. </ui>