mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-20 03:01:36 +08:00
update:更新输入框样式
This commit is contained in:
@@ -7,10 +7,18 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
{
|
{
|
||||||
checkUpdates();
|
checkUpdates();
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
initStyle();
|
||||||
}
|
}
|
||||||
//初始化控件样式
|
//初始化控件样式
|
||||||
void MainWindow::initStyle()
|
void MainWindow::initStyle()
|
||||||
{
|
{
|
||||||
|
ui->plainTextEdit->setStyleSheet(
|
||||||
|
"QPlainTextEdit {"
|
||||||
|
" background-color: #FFFFFF;"
|
||||||
|
" border: 1px solid #E5E7EB;"
|
||||||
|
" border-radius: 4px;"
|
||||||
|
"}"
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
void MainWindow::checkUpdates()
|
void MainWindow::checkUpdates()
|
||||||
|
|||||||
Reference in New Issue
Block a user