removed hard coded fonts

This commit is contained in:
Martchus 2015-09-22 01:55:43 +02:00
parent bdc4d5ee6d
commit e5c755028d
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ AddDownloadDialog::AddDownloadDialog(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; } QMessageBox QLabel, QInputDialog QLabel, #mainInstructionLabel { 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, #mainInstructionLabel { font-size: 12pt; color: #003399; }"));
#else
setStyleSheet(QStringLiteral("#mainInstructionLabel { font-weight: bold; }"));
#endif

View File

@ -17,7 +17,7 @@ SetRangeDialog::SetRangeDialog(DownloadRange &range, 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; } QMessageBox QLabel, QInputDialog QLabel { 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 { font-size: 12pt; color: #003399; }"));
#endif
m_ui->fromSpinBox->setValue(range.startOffset());
m_ui->toSpinBox->setValue(range.endOffset());