removed hard coded fonts (TODO: remove other hard coded theming)
This commit is contained in:
parent
ae64d7ca28
commit
c4dce80820
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue