Home
last modified time | relevance | path

Searched refs:smallPreviewSize (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/klatexformula/klatexformula-4.0.0/src/
H A Dklfconfig.h267 … KLFConfigProp<QSize> smallPreviewSize; //!< Size of preview to store e.g. in history/library items member
H A Dklfconfig.cpp287 KLFCONFIGPROP_INIT(UI.smallPreviewSize, QSize(280, 80)); in loadDefaults()
568 klf_config_read(s, "smallpreviewsize", &UI.smallPreviewSize); in readFromConfig_v2()
739 klf_config_write(s, "smallpreviewsize", &UI.smallPreviewSize); in writeToConfig()
H A Dklflibentryeditor.cpp61 u->lblPreview->setFixedSize(klfconfig.UI.smallPreviewSize); in KLFLibEntryEditor()
H A Dklfsettings.cpp613 u->spnPreviewWidth->setValue(klfconfig.UI.smallPreviewSize().width()); in reset()
614 u->spnPreviewHeight->setValue(klfconfig.UI.smallPreviewSize().height()); in reset()
1121 klfconfig.UI.smallPreviewSize = QSize(u->spnPreviewWidth->value(), u->spnPreviewHeight->value()); in apply()
H A Dklfmainwin.cpp3085 if (d->output.result.width() < klfconfig.UI.smallPreviewSize().width() && in slotEvaluate()
3086 d->output.result.height() < klfconfig.UI.smallPreviewSize().height()) { in slotEvaluate()
3088 } else if (scimg.size() == klfconfig.UI.smallPreviewSize) { in slotEvaluate()
3093 smallPreview = d->output.result.scaled(klfconfig.UI.smallPreviewSize, Qt::KeepAspectRatio, in slotEvaluate()