From e5b422382a512a8267a0eb24e6543a8cf84478d9 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 27 Sep 2017 11:51:58 +0200 Subject: QGuiApplication: Add fontChanged signal This removes the need to install an event filter on qApp just for this. A similar thing was done with setPalette to reduce the number of event filters in e.g. SystemPalette and Quick Controls. [ChangeLog][QtGui][QGuiApplication] Added fontChanged signal Change-Id: Ifa843aa42b91ac63ab17c3b064ac0e764aac77d3 Reviewed-by: J-P Nurmi --- src/gui/kernel/qguiapplication.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/kernel/qguiapplication.h') diff --git a/src/gui/kernel/qguiapplication.h b/src/gui/kernel/qguiapplication.h index 8560fcf18a..02dffef0fe 100644 --- a/src/gui/kernel/qguiapplication.h +++ b/src/gui/kernel/qguiapplication.h @@ -187,6 +187,7 @@ Q_SIGNALS: #endif void paletteChanged(const QPalette &pal); void applicationDisplayNameChanged(); + void fontChanged(const QFont &font); protected: bool event(QEvent *) override; -- cgit v1.2.3