timewidget.ui 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TimeWidget</class>
  4. <widget class="QFrame" name="TimeWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>190</width>
  10. <height>43</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <layout class="QHBoxLayout" name="horizontalLayout_2">
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>8</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="QLabel" name="lbl_tip">
  34. <property name="styleSheet">
  35. <string notr="true"/>
  36. </property>
  37. <property name="text">
  38. <string>请选择</string>
  39. </property>
  40. </widget>
  41. </item>
  42. <item>
  43. <widget class="QDateTimeEdit" name="dateTimeEdit">
  44. <property name="styleSheet">
  45. <string notr="true"/>
  46. </property>
  47. <property name="buttonSymbols">
  48. <enum>QAbstractSpinBox::NoButtons</enum>
  49. </property>
  50. <property name="displayFormat">
  51. <string>hh:mm:ss</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item>
  56. <widget class="QPushButton" name="btn_tip">
  57. <property name="minimumSize">
  58. <size>
  59. <width>18</width>
  60. <height>18</height>
  61. </size>
  62. </property>
  63. <property name="maximumSize">
  64. <size>
  65. <width>18</width>
  66. <height>18</height>
  67. </size>
  68. </property>
  69. <property name="styleSheet">
  70. <string notr="true">QPushButton
  71. {
  72. border-image: url(:/images/datetime.png);
  73. }
  74. QPushButton[selected=true]
  75. {
  76. border-image: url(:/images/datetime.png);
  77. }
  78. QPushButton::hover[selected=true]
  79. {
  80. border-image: url(:/images/cancle.png);
  81. }</string>
  82. </property>
  83. <property name="text">
  84. <string/>
  85. </property>
  86. </widget>
  87. </item>
  88. </layout>
  89. </widget>
  90. <resources/>
  91. <connections/>
  92. </ui>