removed hard coded fonts
This commit is contained in:
parent
bdc4d5ee6d
commit
e5c755028d
|
@ -43,7 +43,7 @@ AddDownloadDialog::AddDownloadDialog(QWidget *parent) :
|
||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#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
|
#else
|
||||||
setStyleSheet(QStringLiteral("#mainInstructionLabel { font-weight: bold; }"));
|
setStyleSheet(QStringLiteral("#mainInstructionLabel { font-weight: bold; }"));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,7 +17,7 @@ SetRangeDialog::SetRangeDialog(DownloadRange &range, QWidget *parent) :
|
||||||
{
|
{
|
||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
#ifdef Q_OS_WIN32
|
#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
|
#endif
|
||||||
m_ui->fromSpinBox->setValue(range.startOffset());
|
m_ui->fromSpinBox->setValue(range.startOffset());
|
||||||
m_ui->toSpinBox->setValue(range.endOffset());
|
m_ui->toSpinBox->setValue(range.endOffset());
|
||||||
|
|
Loading…
Reference in New Issue