removed hard coded fonts (TODO: remove other hard coded theming)

This commit is contained in:
Martchus 2015-09-20 02:04:40 +02:00
parent ae64d7ca28
commit c4dce80820
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ EnterTargetDialog::EnterTargetDialog(QWidget *parent) :
m_ui->setupUi(this);
// apply style sheets
#ifdef Q_OS_WIN32
setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }"));
setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }"));
#else
setStyleSheet(QStringLiteral("#instructionLabel { font-weight: bold; }"));
#endif

View File

@ -105,7 +105,7 @@ MainWindow::MainWindow(QWidget *parent) :
connect(m_infoWebView, &QWidget::customContextMenuRequested, this, &MainWindow::showInfoWebViewContextMenu);
m_ui->tagSplitter->addWidget(m_infoWebView);
#ifdef Q_OS_WIN32
setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #fileNameLabel, #optionsLabel { font-size: 12pt; color: #003399; } #rightWidget, #rightWidget QSplitter::handle { background-color: white; }"));
setStyleSheet(QStringLiteral("#fileNameLabel, #optionsLabel { font-size: 12pt; color: #003399; } #rightWidget, #rightWidget QSplitter::handle { background-color: white; }"));
#else
setStyleSheet(QStringLiteral("#fileNameLabel, #optionsLabel { font-weight: bold; } "));
#endif

View File

@ -39,7 +39,7 @@ RenameFilesDialog::RenameFilesDialog(QWidget *parent) :
m_ui->setupUi(this);
#ifdef Q_OS_WIN32
setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QSplitter:handle { background-color: white; }"));
setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QSplitter:handle { background-color: white; }"));
#endif
// setup javascript editor and script file selection