Added code for ubuntu color style

This commit is contained in:
fourtf
2017-08-17 14:52:41 +02:00
parent a4533ae92c
commit ca65e543ec
6 changed files with 43 additions and 31 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ void MainWindow::closeEvent(QCloseEvent *)
void MainWindow::refreshTheme()
{
QPalette palette;
palette.setColor(QPalette::Background, this->colorScheme.TabPanelBackground);
palette.setColor(QPalette::Background, this->colorScheme.TabBackground);
this->setPalette(palette);
}
+1 -1
View File
@@ -23,7 +23,7 @@ void NotebookButton::paintEvent(QPaintEvent *)
QColor background;
QColor foreground;
background = this->colorScheme.TabPanelBackground;
background = this->colorScheme.TabBackground;
if (mouseDown) {
// background = this->colorScheme.TabSelectedBackground;
+1 -2
View File
@@ -369,8 +369,7 @@ void NotebookPage::paintEvent(QPaintEvent *)
painter.setPen(this->colorScheme.Text);
painter.drawText(rect(), "Add Chat", QTextOption(Qt::AlignCenter));
} else {
// painter.fillRect(rect(), this->colorScheme.TabSelectedBackground);
painter.fillRect(rect(), QColor(127, 127, 127));
painter.fillRect(rect(), this->colorScheme.ChatSeperator);
painter.fillRect(0, 0, width(), 2, this->colorScheme.TabSelectedBackground);
}