26 class BaseSettingsManager;
70 std::shared_ptr<Ui::WkFontsWidget> Ui_;
71 BaseSettingsManager *
const BSM_;
73 QHash<IWkFontsSettable::FontFamily, FontChooserWidget*> Family2Chooser_;
74 QHash<IWkFontsSettable::FontFamily, std::string_view> Family2Name_;
75 QHash<IWkFontsSettable::FontFamily, QFont> PendingFontChanges_;
77 QHash<IWkFontsSettable::FontSize, QSpinBox*> Size2Spinbox_;
78 QHash<IWkFontsSettable::FontSize, std::string_view> Size2Name_;
79 QHash<IWkFontsSettable::FontSize, int> PendingSizeChanges_;
89 WkFontsWidget (Util::BaseSettingsManager *bsm, QWidget *parent =
nullptr);
110 void ResetFontChoosers ();
111 void ResetSizeChoosers ();
113 void ApplyPendingSizeChanges ();
115 void ChangeAllFonts ();
Interface to aid WebKit-like-view-containing tabs to expose the view fonts configuration to the user.
FontFamily
Enumeration for possible font families.
FontSize
Enumeration for possible font sizes.