28 class BaseSettingsManager;
29 class FontChooserWidget;
72 std::shared_ptr<Ui::WkFontsWidget> Ui_;
73 BaseSettingsManager *
const BSM_;
75 QHash<IWkFontsSettable::FontFamily, FontChooserWidget*> Family2Chooser_;
76 QHash<IWkFontsSettable::FontFamily, std::string_view> Family2Name_;
77 QHash<IWkFontsSettable::FontFamily, QFont> PendingFontChanges_;
79 QHash<IWkFontsSettable::FontSize, QSpinBox*> Size2Spinbox_;
80 QHash<IWkFontsSettable::FontSize, std::string_view> Size2Name_;
81 QHash<IWkFontsSettable::FontSize, int> PendingSizeChanges_;
91 WkFontsWidget (Util::BaseSettingsManager *bsm, QWidget *parent =
nullptr);
112 void ResetFontChoosers ();
113 void ResetSizeChoosers ();
115 void ApplyPendingSizeChanges ();
117 void on_ChangeAll__released ();
144 void sizeMultiplierChanged (qreal factor);