更新文档

master
feiyangqingyun 2022-06-02 14:18:18 +08:00
parent 4c918566bf
commit be60a7a2fc
8 changed files with 30 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0.1;url=https://github.com/feiyangqingyun/QWidgetExe2/tree/master/snap_bigscreen">
<meta http-equiv="refresh" content="0.1;url=https://gitee.com/feiyangqingyun/QWidgetExe2/tree/master/snap_bigscreen">
<title></title>
</head>
</html>

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0.1;url=https://github.com/feiyangqingyun/QWidgetExe2/tree/master/snap_iotsystem">
<meta http-equiv="refresh" content="0.1;url=https://gitee.com/feiyangqingyun/QWidgetExe2/tree/master/snap_iotsystem">
<title></title>
</head>
</html>

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0.1;url=https://github.com/feiyangqingyun/QWidgetExe2/tree/master/snap_video_system">
<meta http-equiv="refresh" content="0.1;url=https://gitee.com/feiyangqingyun/QWidgetExe2/tree/master/snap_video_system">
<title></title>
</head>
</html>

View File

@ -102,7 +102,7 @@ border-radius:3px;
.QGroupBox{
border:1px solid #242424;
border-radius:5px;
margin-top:3ex;
margin-top:9px;
}
.QGroupBox::title{
@ -680,6 +680,10 @@ border-color:#484848;
color:#242424;
}
QLabel:disabled{
background:none;
}
/*TextColor:#DCDCDC*/
/*PanelColor:#444444*/
/*BorderColor:#242424*/

View File

@ -43,6 +43,10 @@ void frmMain::initForm()
void frmMain::loadStyle(const QString &qssFile)
{
//开启计时
QElapsedTimer time;
time.start();
//加载样式表
QString qss;
QFile file(qssFile);
@ -61,8 +65,11 @@ void frmMain::loadStyle(const QString &qssFile)
qss = list.join("\n");
QString paletteColor = qss.mid(20, 7);
qApp->setPalette(QPalette(paletteColor));
//用时主要在下面这句
qApp->setStyleSheet(qss);
}
qDebug() << "用时:" << time.elapsed();
}
void frmMain::on_btnStyle1_clicked()

View File

@ -102,7 +102,7 @@ border-radius:3px;
.QGroupBox{
border:1px solid #242424;
border-radius:5px;
margin-top:3ex;
margin-top:9px;
}
.QGroupBox::title{
@ -680,6 +680,10 @@ border-color:#484848;
color:#242424;
}
QLabel:disabled{
background:none;
}
/*TextColor:#DCDCDC*/
/*PanelColor:#444444*/
/*BorderColor:#242424*/

View File

@ -102,7 +102,7 @@ border-radius:3px;
.QGroupBox{
border:1px solid #B6B6B6;
border-radius:5px;
margin-top:3ex;
margin-top:9px;
}
.QGroupBox::title{
@ -680,6 +680,10 @@ border-color:#E4E4E4;
color:#B6B6B6;
}
QLabel:disabled{
background:none;
}
/*TextColor:#57595B*/
/*PanelColor:#FFFFFF*/
/*BorderColor:#B6B6B6*/

View File

@ -102,7 +102,7 @@ border-radius:3px;
.QGroupBox{
border:1px solid #C0DCF2;
border-radius:5px;
margin-top:3ex;
margin-top:9px;
}
.QGroupBox::title{
@ -680,6 +680,10 @@ border-color:#DEF0FE;
color:#C0DCF2;
}
QLabel:disabled{
background:none;
}
/*TextColor:#386487*/
/*PanelColor:#EAF7FF*/
/*BorderColor:#C0DCF2*/