15 #ifndef BORNAGAIN_GUI_VIEW_PLOTUTIL_FONTSCALINGEVENT_H
16 #define BORNAGAIN_GUI_VIEW_PLOTUTIL_FONTSCALINGEVENT_H
35 bool eventFilter(QObject* obj, QEvent* event)
override;
Provides event filter for ScientificPlot. Its goal is to make font size adjustments on resize events.
bool eventFilter(QObject *obj, QEvent *event) override
void setTickLabelFont(const QFont &font)
void scaleFonts(double factor)
FontScalingEvent(ScientificPlot *plot, QWidget *parent)
QMap< QString, QFont > m_fonts
void backupFonts()
Backup all fonts.
Common interface for plot-descriptor interaction.