|
ACF $AcfVersion:0$
|
Allow to show help document to specified object or text. More...
#include <IHelpInfoProvider.h>
Public Member Functions | |
| virtual double | GetHelpQuality (const QString &contextText, const istd::IPolymorphic *contextObjectPtr) const =0 |
| Get quality of help information for specified context and/or object. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Allow to show help document to specified object or text.
Provides a quality metric for help availability. This interface is the base for help system components and allows checking if help is available for a given context before attempting to display it.
The quality value (0.0 to 1.0) indicates how relevant and specific the help content is for the given context:
Definition at line 53 of file IHelpInfoProvider.h.
|
pure virtual |
Get quality of help information for specified context and/or object.
| contextText | Text describing the help context (e.g., class name, topic). |
| contextObjectPtr | Optional pointer to object needing help. |
Either contextText or contextObjectPtr can be provided, or both. The help provider uses these to determine if relevant help exists.
Implemented in iqtdoc::CDoxygenHelpFileProviderComp, iqtdoc::CHtmlHelpGuiComp, iqtdoc::CHtmlHelpViewerComp, and iqtdoc::CStaticHelpFileProviderComp.