frmupload.ui 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>FrmUpload</class>
  4. <widget class="QWidget" name="FrmUpload">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>953</width>
  10. <height>560</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <item>
  21. <layout class="QHBoxLayout" name="horizontalLayout">
  22. <item>
  23. <widget class="QFrame" name="frmUpload">
  24. <property name="sizePolicy">
  25. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  26. <horstretch>0</horstretch>
  27. <verstretch>0</verstretch>
  28. </sizepolicy>
  29. </property>
  30. <property name="minimumSize">
  31. <size>
  32. <width>800</width>
  33. <height>450</height>
  34. </size>
  35. </property>
  36. <property name="maximumSize">
  37. <size>
  38. <width>800</width>
  39. <height>450</height>
  40. </size>
  41. </property>
  42. <property name="styleSheet">
  43. <string notr="true"/>
  44. </property>
  45. <property name="frameShape">
  46. <enum>QFrame::NoFrame</enum>
  47. </property>
  48. <layout class="QVBoxLayout" name="verticalLayout_2">
  49. <item>
  50. <spacer name="verticalSpacer">
  51. <property name="orientation">
  52. <enum>Qt::Vertical</enum>
  53. </property>
  54. <property name="sizeHint" stdset="0">
  55. <size>
  56. <width>20</width>
  57. <height>75</height>
  58. </size>
  59. </property>
  60. </spacer>
  61. </item>
  62. <item>
  63. <layout class="QHBoxLayout" name="horizontalLayout_2">
  64. <item>
  65. <spacer name="horizontalSpacer_2">
  66. <property name="orientation">
  67. <enum>Qt::Horizontal</enum>
  68. </property>
  69. <property name="sizeHint" stdset="0">
  70. <size>
  71. <width>40</width>
  72. <height>20</height>
  73. </size>
  74. </property>
  75. </spacer>
  76. </item>
  77. <item>
  78. <widget class="QLabel" name="labPixmap">
  79. <property name="text">
  80. <string/>
  81. </property>
  82. <property name="pixmap">
  83. <pixmap resource="../../image.qrc">:/qrc/image/upload_white.png</pixmap>
  84. </property>
  85. <property name="alignment">
  86. <set>Qt::AlignCenter</set>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <spacer name="horizontalSpacer_3">
  92. <property name="orientation">
  93. <enum>Qt::Horizontal</enum>
  94. </property>
  95. <property name="sizeHint" stdset="0">
  96. <size>
  97. <width>40</width>
  98. <height>20</height>
  99. </size>
  100. </property>
  101. </spacer>
  102. </item>
  103. </layout>
  104. </item>
  105. <item>
  106. <widget class="QLabel" name="labText">
  107. <property name="font">
  108. <font>
  109. <family>Microsoft YaHei UI</family>
  110. <pointsize>26</pointsize>
  111. </font>
  112. </property>
  113. <property name="text">
  114. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; color:white;&quot;&gt;将文件拖拽到此处,或&lt;/span&gt;&lt;span style=&quot; color:#407AB4;&quot;&gt;点击上传&lt;/span&gt;。&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <spacer name="verticalSpacer_2">
  120. <property name="orientation">
  121. <enum>Qt::Vertical</enum>
  122. </property>
  123. <property name="sizeHint" stdset="0">
  124. <size>
  125. <width>20</width>
  126. <height>74</height>
  127. </size>
  128. </property>
  129. </spacer>
  130. </item>
  131. </layout>
  132. </widget>
  133. </item>
  134. <item>
  135. <spacer name="horizontalSpacer">
  136. <property name="orientation">
  137. <enum>Qt::Horizontal</enum>
  138. </property>
  139. <property name="sizeType">
  140. <enum>QSizePolicy::Fixed</enum>
  141. </property>
  142. <property name="sizeHint" stdset="0">
  143. <size>
  144. <width>40</width>
  145. <height>20</height>
  146. </size>
  147. </property>
  148. </spacer>
  149. </item>
  150. </layout>
  151. </item>
  152. </layout>
  153. </widget>
  154. <resources>
  155. <include location="../../image.qrc"/>
  156. </resources>
  157. <connections/>
  158. </ui>