Implement the UI option for preferring monospaced font

This commit is contained in:
baldurk
2017-05-04 16:00:51 +01:00
parent 0b868e45c0
commit ab432f24fc
20 changed files with 238 additions and 19 deletions
@@ -38,6 +38,15 @@ TextureSaveDialog::TextureSaveDialog(const TextureDescription &t, const TextureS
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->filename->setFont(Formatter::PreferredFont());
ui->fileFormat->setFont(Formatter::PreferredFont());
ui->jpegCompression->setFont(Formatter::PreferredFont());
ui->mipSelect->setFont(Formatter::PreferredFont());
ui->sampleSelect->setFont(Formatter::PreferredFont());
ui->sliceSelect->setFont(Formatter::PreferredFont());
ui->blackPoint->setFont(Formatter::PreferredFont());
ui->whitePoint->setFont(Formatter::PreferredFont());
QObject::connect(&typingTimer, &QTimer::timeout, [this] { SetFiletypeFromFilename(); });
ui->fileFormat->clear();