UI: Replace themeID and style hints with class property
This commit is contained in:
parent
71775e3619
commit
cb026964b0
33 changed files with 595 additions and 657 deletions
|
|
@ -54,12 +54,12 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
|
|||
ui->authors->setText("<a href='#'>" + QTStr("About.Authors") + "</a>");
|
||||
ui->license->setText("<a href='#'>" + QTStr("About.License") + "</a>");
|
||||
|
||||
ui->name->setProperty("themeID", "aboutName");
|
||||
ui->version->setProperty("themeID", "aboutVersion");
|
||||
ui->about->setProperty("themeID", "aboutHLayout");
|
||||
ui->authors->setProperty("themeID", "aboutHLayout");
|
||||
ui->license->setProperty("themeID", "aboutHLayout");
|
||||
ui->info->setProperty("themeID", "aboutInfo");
|
||||
ui->name->setProperty("class", "text-heading");
|
||||
ui->version->setProperty("class", "text-large");
|
||||
ui->about->setProperty("class", "bg-base");
|
||||
ui->authors->setProperty("class", "bg-base");
|
||||
ui->license->setProperty("class", "bg-base");
|
||||
ui->info->setProperty("class", "");
|
||||
|
||||
connect(ui->about, &ClickableLabel::clicked, this,
|
||||
&OBSAbout::ShowAbout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue