Added code for ubuntu color style
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user