Improved context sensitive help

- create utilty function CGuiApplication::triggerShowHelp
- this function also uses "QWhatsThis::leaveWhatsThisMode" which solves the problem that the help was not properly called a 2nd time
- adjusted using classes
This commit is contained in:
Klaus Basan
2018-07-13 18:12:23 +02:00
parent e90eb06f44
commit 1b8e79f77b
11 changed files with 60 additions and 20 deletions

View File

@@ -41,6 +41,7 @@ namespace BlackGui
//! \copydoc QDialog::exec
virtual int exec() override;
protected:
//! \copydoc QObject::event
virtual bool event(QEvent *event) override;
@@ -53,9 +54,6 @@ namespace BlackGui
//! Selection in distribution component changed
void selectionChanged();
//! Request context help
void requestHelp();
};
} // ns
} // ns