widget.ui 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Widget</class>
  4. <widget class="QWidget" name="Widget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1920</width>
  10. <height>1080</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QWidget" name="widget_content" native="true"/>
  19. </item>
  20. <item>
  21. <widget class="QWidget" name="widget_control" native="true">
  22. <property name="sizePolicy">
  23. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  24. <horstretch>0</horstretch>
  25. <verstretch>0</verstretch>
  26. </sizepolicy>
  27. </property>
  28. <property name="minimumSize">
  29. <size>
  30. <width>0</width>
  31. <height>80</height>
  32. </size>
  33. </property>
  34. <layout class="QHBoxLayout" name="horizontalLayout">
  35. <item>
  36. <widget class="QPushButton" name="pBtn_getData">
  37. <property name="minimumSize">
  38. <size>
  39. <width>120</width>
  40. <height>32</height>
  41. </size>
  42. </property>
  43. <property name="text">
  44. <string>获取数据</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item>
  49. <widget class="QPushButton" name="pBtn_saveData">
  50. <property name="minimumSize">
  51. <size>
  52. <width>120</width>
  53. <height>32</height>
  54. </size>
  55. </property>
  56. <property name="text">
  57. <string>写入数据库</string>
  58. </property>
  59. </widget>
  60. </item>
  61. <item>
  62. <widget class="QPushButton" name="pBtn_light_dark">
  63. <property name="minimumSize">
  64. <size>
  65. <width>120</width>
  66. <height>32</height>
  67. </size>
  68. </property>
  69. <property name="text">
  70. <string>亮/暗</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <spacer name="horizontalSpacer">
  76. <property name="orientation">
  77. <enum>Qt::Horizontal</enum>
  78. </property>
  79. <property name="sizeHint" stdset="0">
  80. <size>
  81. <width>1619</width>
  82. <height>20</height>
  83. </size>
  84. </property>
  85. </spacer>
  86. </item>
  87. </layout>
  88. </widget>
  89. </item>
  90. </layout>
  91. </widget>
  92. <resources/>
  93. <connections/>
  94. </ui>