Update ui_qt_themes.h (#7021)

* Update ui_qt_themes.h

* Update ui_qt_window.cpp
This commit is contained in:
Tatsuya79 2018-07-28 13:54:25 +02:00 committed by bparker06
parent 20335cd2b9
commit 963e19b42b
2 changed files with 9 additions and 5 deletions

View File

@ -10,10 +10,10 @@ static const QString qt_theme_default_stylesheet = QStringLiteral(""
" border: 1px solid #ddd;\n"
"}\n"
"ThumbnailWidget#thumbnailWidget, ThumbnailLabel#thumbnailGridLabel, QLabel#thumbnailQLabel {\n"
" background-color:#555555;\n"
" background-color:#d4d4d4;\n"
"}\n"
"ThumbnailWidget#thumbnailWidgetSelected {\n"
" background-color:#555555;\n"
" background-color:#d4d4d4;\n"
" border:3px solid %1;\n"
"}\n"
);
@ -284,7 +284,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(""
" padding-left:5px;\n"
" padding-right:5px;\n"
"}\n"
"QTableWidget {\n"
"QTableWidget {\n"
" background-color:rgb(25,25,25);\n"
" alternate-background-color:rgb(40,40,40);\n"
"}\n"
@ -394,10 +394,13 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(""
" background-color:solid;\n"
"}\n"
"ThumbnailWidget#thumbnailWidget, ThumbnailLabel#thumbnailGridLabel, QLabel#thumbnailQLabel {\n"
" background-color:#555555;\n"
" background-color:rgb(40,40,40);\n"
"}\n"
"ThumbnailWidget#thumbnailWidgetSelected {\n"
" background-color:#555555;\n"
" background-color:rgb(40,40,40);\n"
" border:3px solid %1;\n"
"}\n"
"QScrollArea QWidget {\n"
"background:rgb(25,25,25);\n"
"}\n"
);

View File

@ -626,6 +626,7 @@ MainWindow::MainWindow(QWidget *parent) :
m_gridWidget->layout()->addWidget(m_gridScrollArea);
m_gridWidget->layout()->setAlignment(Qt::AlignCenter);
m_gridWidget->layout()->setContentsMargins(0, 0, 0, 0);
m_gridProgressWidget->setLayout(gridProgressLayout);
gridProgressLayout->setContentsMargins(0, 0, 0, 0);