Adjusting QSS and palette to resolve #1976
+ Adding global QLabel and QTableView to QSS + Adding `Link` and `LinkVisited` to palette + Ensuring Windows sets a Monospaced font for the log console
This commit is contained in:
parent
74b2fb5083
commit
310447c5f0
3 changed files with 11 additions and 1 deletions
|
|
@ -24,6 +24,9 @@ OpenRGBConsolePage::OpenRGBConsolePage(QWidget *parent) :
|
|||
ui->log_level->setCurrentIndex(LogManager::get()->getLoglevel());
|
||||
ui->log_level->blockSignals(false);
|
||||
|
||||
#ifdef _WIN32
|
||||
ui->logs->setFontFamily("Courier New");
|
||||
#endif
|
||||
Refresh();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -394,6 +394,8 @@ OpenRGBDialog2::OpenRGBDialog2(QWidget *parent) : QMainWindow(parent), ui(new Op
|
|||
{
|
||||
QPalette pal = palette();
|
||||
pal.setColor(QPalette::WindowText, Qt::white);
|
||||
pal.setColor(QPalette::Link, QColor(0,127,220));
|
||||
pal.setColor(QPalette::LinkVisited, QColor(64,196,220));
|
||||
QApplication::setPalette(pal);
|
||||
QFile darkTheme(":/windows_dark.qss");
|
||||
darkTheme.open(QFile::ReadOnly);
|
||||
|
|
|
|||
|
|
@ -4,6 +4,11 @@ QMainWindow
|
|||
color: white;
|
||||
}
|
||||
|
||||
QLabel
|
||||
{
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* External QTabWidget */
|
||||
|
||||
QTabBar
|
||||
|
|
@ -299,7 +304,7 @@ QDialog
|
|||
|
||||
/* QTableWidgets */
|
||||
|
||||
QTableWidget, QTableWidget *
|
||||
QTableView, QTableWidget, QTableWidget *
|
||||
{
|
||||
background-color: #454545;
|
||||
color: white;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue