1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>TimeSetting</class> 4 <widget class="QDialog" name="TimeSetting"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>601</width> 10 <height>377</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Dialog</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout"> 17 <item row="0" column="0"> 18 <widget class="QPushButton" name="pushButton"> 19 <property name="enabled"> 20 <bool>false</bool> 21 </property> 22 <property name="minimumSize"> 23 <size> 24 <width>151</width> 25 <height>51</height> 26 </size> 27 </property> 28 <property name="maximumSize"> 29 <size> 30 <width>151</width> 31 <height>51</height> 32 </size> 33 </property> 34 <property name="styleSheet"> 35 <string notr="true">color:rgb(255,255,255)</string> 36 </property> 37 <property name="text"> 38 <string>系统时间和日期设置</string> 39 </property> 40 </widget> 41 </item> 42 <item row="1" column="0"> 43 <layout class="QGridLayout" name="gridLayout_2"> 44 <property name="leftMargin"> 45 <number>100</number> 46 </property> 47 <property name="rightMargin"> 48 <number>160</number> 49 </property> 50 <item row="0" column="0"> 51 <widget class="QDateEdit" name="dateEdit"> 52 <property name="sizePolicy"> 53 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 54 <horstretch>0</horstretch> 55 <verstretch>0</verstretch> 56 </sizepolicy> 57 </property> 58 <property name="minimumSize"> 59 <size> 60 <width>141</width> 61 <height>41</height> 62 </size> 63 </property> 64 <property name="maximumSize"> 65 <size> 66 <width>141</width> 67 <height>41</height> 68 </size> 69 </property> 70 <property name="styleSheet"> 71 <string notr="true">background-color:rgb(38, 112, 197); 72border-radius:0px; 73 74QComboBox::drop-down,QDateEdit::drop-down { 75 subcontrol-origin: padding; 76 subcontrol-position: top right; 77 width: 15px; 78 border-left-width: 1px; 79 border-left-style: solid; 80 border-top-right-radius: 3px; 81 border-bottom-right-radius: 3px; 82 border-left-color: #50A3F0; 83} 84 85QComboBox::down-arrow,QDateEdit::down-arrow { 86 image: url(:/icon/arrowdown.png); 87} 88color:rgb(255,255,255)</string> 89 </property> 90 </widget> 91 </item> 92 <item row="0" column="1"> 93 <spacer name="horizontalSpacer"> 94 <property name="orientation"> 95 <enum>Qt::Horizontal</enum> 96 </property> 97 <property name="sizeHint" stdset="0"> 98 <size> 99 <width>18</width> 100 <height>20</height> 101 </size> 102 </property> 103 </spacer> 104 </item> 105 <item row="0" column="2"> 106 <widget class="QTimeEdit" name="timeEdit"> 107 <property name="sizePolicy"> 108 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 109 <horstretch>0</horstretch> 110 <verstretch>0</verstretch> 111 </sizepolicy> 112 </property> 113 <property name="minimumSize"> 114 <size> 115 <width>131</width> 116 <height>41</height> 117 </size> 118 </property> 119 <property name="maximumSize"> 120 <size> 121 <width>131</width> 122 <height>41</height> 123 </size> 124 </property> 125 <property name="styleSheet"> 126 <string notr="true">background-color:rgb(38, 112, 197); 127border-radius:0px; 128 129QComboBox::drop-down,QDateEdit::drop-down { 130 subcontrol-origin: padding; 131 subcontrol-position: top right; 132 width: 15px; 133 border-left-width: 1px; 134 border-left-style: solid; 135 border-top-right-radius: 3px; 136 border-bottom-right-radius: 3px; 137 border-left-color: #50A3F0; 138} 139 140QComboBox::down-arrow,QDateEdit::down-arrow { 141 image: url(:/icon/arrowdown.png); 142} 143 144color:rgb(255,255,255)</string> 145 </property> 146 </widget> 147 </item> 148 </layout> 149 </item> 150 <item row="2" column="0"> 151 <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,1,1"> 152 <item> 153 <spacer name="horizontalSpacer_3"> 154 <property name="orientation"> 155 <enum>Qt::Horizontal</enum> 156 </property> 157 <property name="sizeHint" stdset="0"> 158 <size> 159 <width>40</width> 160 <height>20</height> 161 </size> 162 </property> 163 </spacer> 164 </item> 165 <item> 166 <widget class="QLabel" name="label"> 167 <property name="sizePolicy"> 168 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 169 <horstretch>0</horstretch> 170 <verstretch>0</verstretch> 171 </sizepolicy> 172 </property> 173 <property name="minimumSize"> 174 <size> 175 <width>221</width> 176 <height>41</height> 177 </size> 178 </property> 179 <property name="maximumSize"> 180 <size> 181 <width>221</width> 182 <height>41</height> 183 </size> 184 </property> 185 <property name="styleSheet"> 186 <string notr="true">font: 75 11pt "微软雅黑"; 187color:rgb(255,255,255)</string> 188 </property> 189 <property name="text"> 190 <string>当前日期:</string> 191 </property> 192 </widget> 193 </item> 194 <item> 195 <spacer name="horizontalSpacer_2"> 196 <property name="orientation"> 197 <enum>Qt::Horizontal</enum> 198 </property> 199 <property name="sizeHint" stdset="0"> 200 <size> 201 <width>268</width> 202 <height>20</height> 203 </size> 204 </property> 205 </spacer> 206 </item> 207 </layout> 208 </item> 209 <item row="3" column="0"> 210 <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,1,1"> 211 <item> 212 <spacer name="horizontalSpacer_5"> 213 <property name="orientation"> 214 <enum>Qt::Horizontal</enum> 215 </property> 216 <property name="sizeHint" stdset="0"> 217 <size> 218 <width>158</width> 219 <height>20</height> 220 </size> 221 </property> 222 </spacer> 223 </item> 224 <item> 225 <widget class="QPushButton" name="setButton"> 226 <property name="sizePolicy"> 227 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 228 <horstretch>0</horstretch> 229 <verstretch>0</verstretch> 230 </sizepolicy> 231 </property> 232 <property name="minimumSize"> 233 <size> 234 <width>111</width> 235 <height>41</height> 236 </size> 237 </property> 238 <property name="maximumSize"> 239 <size> 240 <width>111</width> 241 <height>41</height> 242 </size> 243 </property> 244 <property name="focusPolicy"> 245 <enum>Qt::NoFocus</enum> 246 </property> 247 <property name="styleSheet"> 248 <string notr="true">QPushButton{ 249 border-style: none; 250 border: 0px; 251 color: #F0F0F0; 252 padding: 5px; 253 border-radius:5px; 254 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 255} 256 257.QPushButton[focusPolicy="0"] { 258 border-style: none; 259 border: 0px; 260 color: #F0F0F0; 261 padding: 0px; 262 border-radius:3px; 263 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 264} 265 266.QPushButton:hover{ 267 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA); 268} 269 270.QPushButton:pressed{ 271 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 272}</string> 273 </property> 274 <property name="text"> 275 <string>设置</string> 276 </property> 277 </widget> 278 </item> 279 <item> 280 <spacer name="horizontalSpacer_4"> 281 <property name="orientation"> 282 <enum>Qt::Horizontal</enum> 283 </property> 284 <property name="sizeHint" stdset="0"> 285 <size> 286 <width>158</width> 287 <height>20</height> 288 </size> 289 </property> 290 </spacer> 291 </item> 292 </layout> 293 </item> 294 </layout> 295 </widget> 296 <resources/> 297 <connections/> 298</ui> 299