forked from qt-creator/qt-creator
Add "Zoom" setting to the Help font settings
If the scrollWheelZooming is enabled, this setting will get updated when using scroll wheel. It will also be used when zooming in/out by using keyboard shortcuts. Fixes: QTCREATORBUG-25109 Fixes: QTCREATORBUG-25230 Fixes: QTCREATORBUG-23731 Change-Id: I9d22632b4c034ce236fa39dba074df4a2746ff84 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -83,6 +83,9 @@ public:
|
||||
static QFont fallbackFont();
|
||||
static void setFallbackFont(const QFont &font);
|
||||
|
||||
static int fontZoom();
|
||||
static int setFontZoom(int percentage);
|
||||
|
||||
static StartOption startOption();
|
||||
static void setStartOption(StartOption option);
|
||||
|
||||
@@ -98,9 +101,6 @@ public:
|
||||
static QStringList lastShownPages();
|
||||
static void setLastShownPages(const QStringList &pages);
|
||||
|
||||
static QList<float> lastShownPagesZoom();
|
||||
static void setLastShownPagesZoom(const QList<qreal> &zoom);
|
||||
|
||||
static int lastSelectedTab();
|
||||
static void setLastSelectedTab(int index);
|
||||
|
||||
@@ -137,6 +137,7 @@ signals:
|
||||
void filterIndexChanged(int index);
|
||||
#endif
|
||||
void fallbackFontChanged(const QFont &font);
|
||||
void fontZoomChanged(int percentage);
|
||||
void returnOnCloseChanged();
|
||||
void scrollWheelZoomingEnabledChanged(bool enabled);
|
||||
void contextHelpOptionChanged(Core::HelpManager::HelpViewerLocation option);
|
||||
|
||||
Reference in New Issue
Block a user