2026年5月23日暂存
This commit is contained in:
@@ -207,43 +207,43 @@ void FileManageWidget::copyFiles(QListWidget *from, QListWidget *to)
|
||||
|
||||
void FileManageWidget::applyStyleSheet()
|
||||
{
|
||||
QString styleSheet = R"(
|
||||
|
||||
QPushButton#closeBtn {
|
||||
QString styleSheet =
|
||||
R"(
|
||||
QPushButton#closeBtn {
|
||||
background-color: #E6F7FF;
|
||||
border: 1px solid #87CEEB;
|
||||
border-radius: 4px;
|
||||
font-size: 24px;
|
||||
color: #228B22;
|
||||
}
|
||||
QPushButton#closeBtn:hover{
|
||||
}
|
||||
QPushButton#closeBtn:hover{
|
||||
background-color: #D1E9FF;
|
||||
}
|
||||
}
|
||||
|
||||
QPushButton#closeBtn:pressed{
|
||||
QPushButton#closeBtn:pressed{
|
||||
background-color: #BAE7FF;
|
||||
}
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
QPushButton {
|
||||
background-color: #5396C1;
|
||||
color: #ffffff;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 3px;
|
||||
font-size: 18px;
|
||||
width: 100px;
|
||||
width: 150px;
|
||||
height: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
QPushButton:hover {
|
||||
background-color: #5396C1;
|
||||
}
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
QPushButton:disabled {
|
||||
background-color: #7C828E;
|
||||
color: #606060;
|
||||
border-color: #808080;
|
||||
}
|
||||
)";
|
||||
}
|
||||
)";
|
||||
|
||||
this->setStyleSheet(styleSheet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user