Add icons to appearance page
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
414ad1340d
commit
06b5ac9a25
21 changed files with 2833 additions and 17 deletions
|
@ -58,7 +58,7 @@ class AppearancePage : public QWidget, public BasePage {
|
|||
~AppearancePage();
|
||||
|
||||
QString displayName() const override { return tr("Appearance"); }
|
||||
QIcon icon() const override { return APPLICATION->getThemedIcon("resourcepacks"); }
|
||||
QIcon icon() const override { return APPLICATION->getThemedIcon("appearance"); }
|
||||
QString id() const override { return "appearance-settings"; }
|
||||
QString helpPage() const override { return "Launcher-settings"; }
|
||||
bool apply() override;
|
||||
|
|
|
@ -77,17 +77,13 @@
|
|||
<string>Preview</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>Icons</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon1">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -102,6 +98,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon2">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -116,6 +115,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon3">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -130,6 +132,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon4">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -144,6 +149,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon5">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -158,6 +166,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon6">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -172,6 +183,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon7">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -186,6 +200,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon8">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -200,6 +217,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon9">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -214,6 +234,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="icon10">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -231,6 +254,12 @@
|
|||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
|
@ -242,13 +271,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Console</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextEdit" name="fontPreview">
|
||||
<property name="sizePolicy">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue