Add OpenRGB icon

This commit is contained in:
Adam Honse 2019-10-26 22:47:21 -05:00
parent 0e4a162667
commit 126c9295ac
4 changed files with 11 additions and 0 deletions

View file

@ -72,5 +72,8 @@ HEADERS += \
RGBController/RGBController_HyperX.h \
RGBController/RGBController_OpenRazer.h
RESOURCES += \
qt/resources.qrc
FORMS += \
qt/openaurasdk.ui

View file

@ -7,6 +7,9 @@ OpenAuraSDKQtDialog::OpenAuraSDKQtDialog(std::vector<i2c_smbus_interface *>& bus
{
ui->setupUi(this);
QIcon icon(":OpenRGB.png");
setWindowIcon(icon);
QPalette pal;
pal = ui->ButtonRed->palette();

BIN
qt/OpenRGB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

5
qt/resources.qrc Normal file
View file

@ -0,0 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>OpenRGB.png</file>
</qresource>
</RCC>