mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 15:32:52 +00:00
Clang
This commit is contained in:
parent
f31973030e
commit
68b21b9c38
@ -172,22 +172,23 @@ void WindowThemes::SetWindowTheme(Theme theme, QLineEdit* mw_searchbar) {
|
||||
case Theme::Oled:
|
||||
mw_searchbar->setStyleSheet("QLineEdit:focus {"
|
||||
"border: 1px solid #2A82DA; }");
|
||||
themePalette.setColor(QPalette::Window, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::Window, Qt::black);
|
||||
themePalette.setColor(QPalette::WindowText, Qt::white);
|
||||
themePalette.setColor(QPalette::Base, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::AlternateBase, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::ToolTipBase, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::Base, Qt::black);
|
||||
themePalette.setColor(QPalette::AlternateBase, Qt::black);
|
||||
themePalette.setColor(QPalette::ToolTipBase, Qt::black);
|
||||
themePalette.setColor(QPalette::ToolTipText, Qt::white);
|
||||
themePalette.setColor(QPalette::Text, Qt::white);
|
||||
themePalette.setColor(QPalette::Button, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::Button, Qt::black);
|
||||
themePalette.setColor(QPalette::ButtonText, Qt::white);
|
||||
themePalette.setColor(QPalette::BrightText, Qt::red);
|
||||
themePalette.setColor(QPalette::Link, QColor(42, 130, 218));
|
||||
themePalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
|
||||
themePalette.setColor(QPalette::HighlightedText, QColor(0, 0, 0, 0));
|
||||
themePalette.setColor(QPalette::HighlightedText, Qt::black);
|
||||
qApp->setPalette(themePalette);
|
||||
qApp->setStyleSheet("QLineEdit {"
|
||||
"background-color: QColor(0, 0, 0, 0); color: QColor(0, 0, 0, 0); border: 1px solid #a0a0a0; "
|
||||
"background-color: QColor(0, 0, 0, 0); color: QColor(0, 0, 0, 0); "
|
||||
"border: 1px solid #a0a0a0; "
|
||||
"border-radius: 4px; padding: 5px; }"
|
||||
|
||||
"QCheckBox::indicator:unchecked {"
|
||||
|
Loading…
Reference in New Issue
Block a user