修改EditText富文本支持
This commit is contained in:
parent
9246ca7fb6
commit
8ce6984336
@ -33,6 +33,10 @@ padding-left:1px;
|
|||||||
padding-top:1px;
|
padding-top:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QGroupBox {
|
||||||
|
color: #F2F2F2;
|
||||||
|
}
|
||||||
|
|
||||||
QTableView#GAME_INFO_TABLE::item:selected {
|
QTableView#GAME_INFO_TABLE::item:selected {
|
||||||
background-color: #0078d4;
|
background-color: #0078d4;
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
作者申明
|
# 作者申明
|
||||||
本软件仅供学习和研究,软件内置数据仅限于测试.
|
本软件仅供学习和研究,软件内置数据仅限于测试<br/>
|
||||||
开发者不对本软件所造成的计算机软件侵权法律问题承担任何法律责任.
|
开发者不对本软件所造成的计算机软件侵权法律问题承担任何法律责任<br/>
|
||||||
禁止本软件源码和软件用于任何商业用途.
|
禁止本软件源码和软件用于任何商业用途<br/>
|
||||||
禁止任何人恶意举报本软件
|
禁止任何人恶意举报本软件<br/>
|
||||||
禁止任何人恶意盗窃本软件测试数据
|
禁止任何人恶意盗窃本软件测试数据<br/>
|
||||||
|
|
||||||
鸣谢列表
|
# 鸣谢列表
|
||||||
皓月代码托管平台
|
皓月代码托管平台<br/>
|
||||||
|
|
||||||
About XSteam
|
# About XSteam
|
||||||
software name:XSteam
|
software name:XSteam<br/>
|
||||||
builder:JackLee_CN
|
builder:JackLee_CN<br/>
|
||||||
github:vek-zvo
|
github:vek-zvo<br/>
|
||||||
src github(don't open)
|
src github(don't open)<br/>
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ xsteam_about_ui::xsteam_about_ui()
|
|||||||
copyright_tips_txt=new QLabel(tr("Copyright © 2024 JackLee_CN. All rights reserved."));
|
copyright_tips_txt=new QLabel(tr("Copyright © 2024 JackLee_CN. All rights reserved."));
|
||||||
info = new QTextEdit();
|
info = new QTextEdit();
|
||||||
info->setReadOnly(true);
|
info->setReadOnly(true);
|
||||||
|
info->toMarkdown(QTextDocument::MarkdownDialectGitHub);
|
||||||
m_Layout->addWidget(info);
|
m_Layout->addWidget(info);
|
||||||
f_Layout->addItem(sparcer_item);
|
f_Layout->addItem(sparcer_item);
|
||||||
f_Layout->addWidget(copyright_tips_txt);
|
f_Layout->addWidget(copyright_tips_txt);
|
||||||
@ -34,12 +35,12 @@ void xsteam_about_ui::load_about()
|
|||||||
QByteArray line = file.readLine();
|
QByteArray line = file.readLine();
|
||||||
strs.append(QString::fromStdString(line.data()));
|
strs.append(QString::fromStdString(line.data()));
|
||||||
}
|
}
|
||||||
strs.append(QString::fromStdString("编译环境")+"\n");
|
strs.append("# "+QString::fromStdString("编译环境")+"<br/>");
|
||||||
strs.append("qt_version:"+QString::fromStdString(QT_VERSION_STR)+"\n");
|
strs.append("qt_version:"+QString::fromStdString(QT_VERSION_STR)+"<br/>");
|
||||||
strs.append("gcc_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"\n");
|
strs.append("gcc_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"<br/>");
|
||||||
strs.append("g++_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"\n");
|
strs.append("g++_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"<br/>");
|
||||||
strs.append("libcurl_version:"+QString::fromStdString(LIBCURL_VERSION_STR)+"\n");
|
strs.append("libcurl_version:"+QString::fromStdString(LIBCURL_VERSION_STR)+"<br/>");
|
||||||
strs.append("libgit2_version:"+QString::fromStdString(LIBGIT2_VERSION_STR)+"\n");
|
strs.append("libgit2_version:"+QString::fromStdString(LIBGIT2_VERSION_STR)+"<br/>");
|
||||||
info->setPlainText(strs);
|
info->setMarkdown(strs);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -64,7 +64,7 @@ void xsteam_ui::xsteam_init_mind_layout()
|
|||||||
btn_run_steamdb->setObjectName("STEAM_DB");
|
btn_run_steamdb->setObjectName("STEAM_DB");
|
||||||
btn_push_manifest = new QPushButton(tr("清单分享"));
|
btn_push_manifest = new QPushButton(tr("清单分享"));
|
||||||
btn_push_manifest->setObjectName("PUSH_MANIFEST");
|
btn_push_manifest->setObjectName("PUSH_MANIFEST");
|
||||||
//btn_push_manifest->setVisible(false);
|
btn_push_manifest->setVisible(false);
|
||||||
|
|
||||||
server_layout->addWidget(server_tag);
|
server_layout->addWidget(server_tag);
|
||||||
server_layout->addWidget(server_txt);
|
server_layout->addWidget(server_txt);
|
||||||
@ -492,7 +492,7 @@ void xsteam_ui::slots_push_manifest()
|
|||||||
void xsteam_ui::slots_open_server_edit()
|
void xsteam_ui::slots_open_server_edit()
|
||||||
{
|
{
|
||||||
xs_src_edit_ui = xsteam_src_edit_ui::Instance();
|
xs_src_edit_ui = xsteam_src_edit_ui::Instance();
|
||||||
xs_src_edit_ui->setMaximumSize(660, 580);
|
xs_src_edit_ui->setMaximumSize(width(), height());
|
||||||
xs_src_edit_ui->setGeometry(geometry());
|
xs_src_edit_ui->setGeometry(geometry());
|
||||||
connect(xs_src_edit_ui, SIGNAL(signals_update()), this, SLOT(slots_server_combobox_load_data()));
|
connect(xs_src_edit_ui, SIGNAL(signals_update()), this, SLOT(slots_server_combobox_load_data()));
|
||||||
xs_src_edit_ui->title()->set_font_style();
|
xs_src_edit_ui->title()->set_font_style();
|
||||||
@ -501,7 +501,7 @@ void xsteam_ui::slots_open_server_edit()
|
|||||||
void xsteam_ui::slots_open_update()
|
void xsteam_ui::slots_open_update()
|
||||||
{
|
{
|
||||||
xs_update_ui = xsteam_update_ui::Instance();
|
xs_update_ui = xsteam_update_ui::Instance();
|
||||||
xs_update_ui->setMaximumSize(440, 580);
|
xs_update_ui->setMaximumSize(width(), height());
|
||||||
xs_update_ui->setGeometry(geometry());
|
xs_update_ui->setGeometry(geometry());
|
||||||
xs_update_ui->title()->set_font_style();
|
xs_update_ui->title()->set_font_style();
|
||||||
xs_update_ui->exec();
|
xs_update_ui->exec();
|
||||||
@ -509,7 +509,7 @@ void xsteam_ui::slots_open_update()
|
|||||||
void xsteam_ui::slots_open_setting()
|
void xsteam_ui::slots_open_setting()
|
||||||
{
|
{
|
||||||
xs_sets_ui = xsteam_set_ui::Instance();
|
xs_sets_ui = xsteam_set_ui::Instance();
|
||||||
xs_sets_ui->setMaximumSize(660, 580);
|
xs_sets_ui->setMaximumSize(width(), height());
|
||||||
xs_sets_ui->setGeometry(geometry());
|
xs_sets_ui->setGeometry(geometry());
|
||||||
xs_sets_ui->title()->set_font_style();
|
xs_sets_ui->title()->set_font_style();
|
||||||
xs_sets_ui->exec();
|
xs_sets_ui->exec();
|
||||||
@ -517,7 +517,7 @@ void xsteam_ui::slots_open_setting()
|
|||||||
void xsteam_ui::slots_open_about()
|
void xsteam_ui::slots_open_about()
|
||||||
{
|
{
|
||||||
xs_about_ui = xsteam_about_ui::Instance();
|
xs_about_ui = xsteam_about_ui::Instance();
|
||||||
xs_about_ui->setMaximumSize(440, 580);
|
xs_about_ui->setMaximumSize(width(), height());
|
||||||
xs_about_ui->setGeometry(geometry());
|
xs_about_ui->setGeometry(geometry());
|
||||||
xs_about_ui->title()->set_font_style();
|
xs_about_ui->title()->set_font_style();
|
||||||
xs_about_ui->exec();
|
xs_about_ui->exec();
|
||||||
|
Loading…
Reference in New Issue
Block a user