widget.ui 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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>800</width>
  10. <height>600</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Widget</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QWidget
  18. {
  19. background-color: #FFFFFF;
  20. }</string>
  21. </property>
  22. <widget class="TimeWidget" name="timeEdit">
  23. <property name="geometry">
  24. <rect>
  25. <x>120</x>
  26. <y>110</y>
  27. <width>191</width>
  28. <height>26</height>
  29. </rect>
  30. </property>
  31. </widget>
  32. <widget class="QPushButton" name="pBtn_disable">
  33. <property name="geometry">
  34. <rect>
  35. <x>400</x>
  36. <y>110</y>
  37. <width>80</width>
  38. <height>26</height>
  39. </rect>
  40. </property>
  41. <property name="text">
  42. <string>禁用</string>
  43. </property>
  44. </widget>
  45. <widget class="QPushButton" name="pBtn_enable">
  46. <property name="geometry">
  47. <rect>
  48. <x>510</x>
  49. <y>110</y>
  50. <width>80</width>
  51. <height>26</height>
  52. </rect>
  53. </property>
  54. <property name="text">
  55. <string>启用</string>
  56. </property>
  57. </widget>
  58. </widget>
  59. <customwidgets>
  60. <customwidget>
  61. <class>TimeWidget</class>
  62. <extends>QTimeEdit</extends>
  63. <header location="global">timewidget.h</header>
  64. </customwidget>
  65. </customwidgets>
  66. <resources/>
  67. <connections/>
  68. </ui>