添加图标

This commit is contained in:
2024-04-24 20:09:37 +08:00
parent 4c4cb578eb
commit 060fbf810b
13 changed files with 209 additions and 32 deletions

View File

@@ -15,7 +15,13 @@ KernelInstaller::KernelInstaller(QStringList kernelList, QWidget *parent) :
ui(new Ui::KernelInstaller)
{
ui->setupUi(this);
ui->m_installerStatus->setHidden(true);
// 修改提示文本
QString kernel = "";
foreach (QString name, kernelList) {
kernel += name + " ";
}
ui->m_status->setText(tr("Try to install ") + kernel);
this->kernelList = kernelList;
terminal = new QTermWidget(0);
terminal->setColorScheme("DarkPastels");