forked from qt-creator/qt-creator
Help: Add tool button to change target for context help
Adds a button in the tool bar for the help widget. If the help widget is currently the target for context help, the button is "checked", and pressing it opens a menu with all the options. If the help widget is currently not the target for context help, the button is "unchecked" and pressing it makes the help widget the target for context help. The menu can in all cases be opened with a long button press. Fixes: QTCREATORBUG-17667 Change-Id: I748e18f36ebde03eaa779557dd09f7a2bc0bcb2d Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -130,6 +130,7 @@ signals:
|
||||
void fallbackFontChanged(const QFont &font);
|
||||
void returnOnCloseChanged();
|
||||
void scrollWheelZoomingEnabledChanged(bool enabled);
|
||||
void contextHelpOptionChanged(Core::HelpManager::HelpViewerLocation option);
|
||||
|
||||
private:
|
||||
static bool m_guiNeedsSetup;
|
||||
|
||||
Reference in New Issue
Block a user