frmMain 0 0 800 600 800 600 自定义UI演示(作者:刘典武 QQ:517216493) #widget_main{ border:1px solid rgb(100, 149, 237); } #widget_title{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(27, 137, 202, 255), stop:1 rgba(16, 119, 181, 255)); } #lab_Title{ font: 10pt "微软雅黑"; color: rgb(255, 255, 255); } #widget_menu .QPushButton{ color: rgb(183, 218, 238); background-color:rgba(0,0,0,0); border-style:none; } #widget_menu .QPushButton:hover{ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 rgba(72, 160, 212, 255)); } #widget_menu #btnMenu_Close:hover{ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255)); } #widget_main .QPushButton{ border-style:none; border: 0px; font: 10pt "微软雅黑"; color: rgb(255, 255, 255); padding: 4px; min-width: 45px; min-height: 25px; } #widget_main .QPushButton{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(92, 172, 238, 255), stop:1 rgba(100, 149, 237, 255)); } #widget_main .QPushButton:hover{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(27, 137, 202, 255), stop:1 rgba(16, 119, 181, 255)); } #widget_main .QPushButton:pressed{ background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(92, 172, 238, 255), stop:1 rgba(100, 149, 237, 255)); } 0 0 0 0 0 0 0 100 33 0 0 0 0 0 0 0 自定义UI演示 Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 0 0 0 0 0 0 0 0 0 31 0 ArrowCursor true 0 0 31 0 ArrowCursor true 0 0 31 0 ArrowCursor true 0 0 40 0 ArrowCursor true 0 0 0 0 0 0 0 btnMenu btnMenu_Min btnMenu_Max btnMenu_Close