记录qt的一些案例,以后方便查找
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
3.5 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MenuDialog</class>
  4. <widget class="QDialog" name="MenuDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>276</width>
  10. <height>258</height>
  11. </rect>
  12. </property>
  13. <property name="mouseTracking">
  14. <bool>false</bool>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Dialog</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout_2">
  20. <item>
  21. <layout class="QHBoxLayout" name="horizontalLayout">
  22. <item>
  23. <widget class="QLabel" name="label_Image">
  24. <property name="minimumSize">
  25. <size>
  26. <width>200</width>
  27. <height>200</height>
  28. </size>
  29. </property>
  30. <property name="maximumSize">
  31. <size>
  32. <width>200</width>
  33. <height>200</height>
  34. </size>
  35. </property>
  36. <property name="text">
  37. <string/>
  38. </property>
  39. </widget>
  40. </item>
  41. <item>
  42. <layout class="QVBoxLayout" name="verticalLayout">
  43. <item>
  44. <widget class="QWidget" name="widget_2" native="true">
  45. <layout class="QGridLayout" name="gridLayout">
  46. <item row="0" column="0">
  47. <widget class="QLabel" name="label_number1">
  48. <property name="text">
  49. <string>数字1</string>
  50. </property>
  51. </widget>
  52. </item>
  53. </layout>
  54. </widget>
  55. </item>
  56. <item>
  57. <widget class="QWidget" name="widget_3" native="true">
  58. <layout class="QGridLayout" name="gridLayout_2">
  59. <item row="0" column="0">
  60. <widget class="QLabel" name="label_number2">
  61. <property name="text">
  62. <string>数字2</string>
  63. </property>
  64. </widget>
  65. </item>
  66. </layout>
  67. </widget>
  68. </item>
  69. <item>
  70. <widget class="QWidget" name="widget_4" native="true">
  71. <layout class="QGridLayout" name="gridLayout_3">
  72. <item row="0" column="0">
  73. <widget class="QLabel" name="label_number3">
  74. <property name="text">
  75. <string>数字3</string>
  76. </property>
  77. </widget>
  78. </item>
  79. </layout>
  80. </widget>
  81. </item>
  82. <item>
  83. <widget class="QWidget" name="widget_5" native="true">
  84. <layout class="QGridLayout" name="gridLayout_4">
  85. <item row="0" column="0">
  86. <widget class="QLabel" name="label_number4">
  87. <property name="text">
  88. <string>数字4</string>
  89. </property>
  90. </widget>
  91. </item>
  92. </layout>
  93. </widget>
  94. </item>
  95. <item>
  96. <widget class="QWidget" name="widget_6" native="true">
  97. <layout class="QGridLayout" name="gridLayout_5">
  98. <item row="0" column="0">
  99. <widget class="QLabel" name="label_number5">
  100. <property name="text">
  101. <string>数字5</string>
  102. </property>
  103. </widget>
  104. </item>
  105. </layout>
  106. </widget>
  107. </item>
  108. </layout>
  109. </item>
  110. </layout>
  111. </item>
  112. <item>
  113. <widget class="Line" name="line">
  114. <property name="orientation">
  115. <enum>Qt::Horizontal</enum>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <widget class="QPushButton" name="pushButton_exit">
  121. <property name="text">
  122. <string>退出</string>
  123. </property>
  124. </widget>
  125. </item>
  126. </layout>
  127. </widget>
  128. <resources/>
  129. <connections/>
  130. </ui>