以Dialog为例 setStyleSheet("QDialog {border: 1px solid #CCCCCC;}");
以LineEdit为例 setStyleSheet("color:white");
以日历为例 setStyleSheet(
"QCalendarWidget QTableView "
"{ "
"alternate-background-color:rgb(184, 184, 184);"
"background-color:rgb(184, 184, 184);"
"} "
" QCalendarWidget QAbstractItemView:enabled "
"{ "
" selection-color:black;"
" selection-background-color: white; "
"};"
);