Add dark, light, blue and colored theme from pe.
Replaces the old dark and light themes
This commit is contained in:
@ -41,7 +41,7 @@ public:
|
||||
}
|
||||
virtual QIcon icon() const
|
||||
{
|
||||
return QIcon::fromTheme("plugin-red");
|
||||
return QIcon::fromTheme("jarmods");
|
||||
}
|
||||
virtual QString id() const
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
}
|
||||
QIcon icon() const override
|
||||
{
|
||||
return QIcon::fromTheme("plugin-blue");
|
||||
return QIcon::fromTheme("externaltools");
|
||||
}
|
||||
QString id() const override
|
||||
{
|
||||
|
@ -276,6 +276,12 @@ void MultiMCPage::applySettings()
|
||||
case 2:
|
||||
s->set("IconTheme", "pe_light");
|
||||
break;
|
||||
case 3:
|
||||
s->set("IconTheme", "pe_blue");
|
||||
break;
|
||||
case 4:
|
||||
s->set("IconTheme", "pe_colored");
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
s->set("IconTheme", "multimc");
|
||||
@ -333,6 +339,14 @@ void MultiMCPage::loadSettings()
|
||||
{
|
||||
ui->themeComboBox->setCurrentIndex(2);
|
||||
}
|
||||
else if (theme == "pe_blue")
|
||||
{
|
||||
ui->themeComboBox->setCurrentIndex(3);
|
||||
}
|
||||
else if (theme == "pe_colored")
|
||||
{
|
||||
ui->themeComboBox->setCurrentIndex(4);
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->themeComboBox->setCurrentIndex(0);
|
||||
|
@ -336,7 +336,7 @@
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Simple</string>
|
||||
<string>Simple (Dark Icons)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -344,6 +344,16 @@
|
||||
<string>Simple (Light Icons)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Simple (Blue Icons)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Simple (Colored Icons)</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Reference in New Issue
Block a user