|
ACF $AcfVersion:0$
|
HTML-based help viewer component. More...
#include <CHtmlHelpGuiComp.h>
Public Types | |
| typedef iqtgui::TGuiComponentBase< QTextBrowser > | BaseClass |
Public Types inherited from iqtgui::TGuiComponentBase< QTextBrowser > | |
| typedef CGuiComponentBase | BaseClass |
Public Types inherited from iqtgui::CGuiComponentBase | |
| typedef TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | BaseClass |
Public Types inherited from iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | |
| typedef ibase::TLocalizableWrap< icomp::CComponentBase > | BaseClass |
Public Types inherited from iqtgui::TDesignSchemaHandlerWrap< Base > | |
| typedef Base | BaseClass |
Public Member Functions | |
| virtual double | GetHelpQuality (const QString &contextText, const istd::IPolymorphic *contextObjectPtr) const override |
| Get quality of help information for specified context and/or object. | |
| virtual void | ShowHelp (const QString &contextText, const istd::IPolymorphic *contextObjectPtr) override |
| Show some help information for specified context. | |
| virtual void | OnGuiCreated () override |
| Called just after GUI is initialized. | |
| virtual void | OnGuiShown () override |
| Called from widget event filter when slave widget is shown. | |
Public Member Functions inherited from iqtgui::TGuiComponentBase< QTextBrowser > | |
| TGuiComponentBase () | |
| virtual QTextBrowser * | GetQtWidget () const |
| virtual QWidget * | CreateQtWidget (QWidget *parentPtr) override |
| Create slave widget object. | |
Public Member Functions inherited from iqtgui::CGuiComponentBase | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, IVisualStatus, ExtractVisualStatus) | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, istd::IChangeable, ExtractVisualStatus) | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, imod::IModel, ExtractVisualStatus) | |
| CGuiComponentBase () | |
| bool | IsGuiShown () const |
| virtual bool | IsGuiCreated () const override |
| Checks if the GUI has been initialized and created. | |
| virtual bool | CreateGui (QWidget *parentPtr) override |
| Initializes the GUI and connects it to the parent widget. | |
| virtual bool | DestroyGui () override |
| Releases GUI resources and disconnects from the parent. | |
| virtual QWidget * | GetWidget () const override |
| Gets access to the internal QWidget object. | |
| virtual void | OnTryClose (bool *ignoredPtr=NULL) override |
| Called when the application is attempting to close. | |
Public Member Functions inherited from iqtgui::TDesignSchemaHandlerWrap< Base > | |
| TDesignSchemaHandlerWrap () | |
| virtual void | EnableDesignHandler (bool enable=true) |
| If enabled, listen to the design schema change events from the application context. | |
Public Member Functions inherited from iqtgui::CIconProvider | |
| virtual QIcon | GetIcon (const QString &iconName) const |
| virtual QString | GetIconPath (const QString &iconName) const |
| virtual QString | GetStyleSheetPath (const QString &styleSheetPath) const |
| QByteArray | GetCurrentThemeId () const |
| void | SetThemeId (const QByteArray &themeId) |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Additional Inherited Members | |
Protected Member Functions inherited from iqtgui::CGuiComponentBase | |
| virtual void | OnGuiDesignChanged () |
| virtual void | OnGuiHidden () |
| Called from widget event filter when slave widget is hidden. | |
| virtual bool | OnKeyPressed (QKeyEvent *event) |
| Called from widget event filter when key is pressed. | |
| virtual void | OnRetranslate () |
| Called when non-GUI elements (like commands) should be retranslated. | |
| virtual void | OnGuiRetranslate () |
| Called from widget event filter when GUI should be retranslated. | |
| virtual void | OnGuiDestroyed () |
| Called just before GUI is released. | |
| void | SetStatusIcon (const QIcon &icon) |
| Set status icon;. | |
| void | SetStatusText (const QString &text) |
| Set status text;. | |
| void | SetDefaultVisualStatus () |
| virtual void | OnLanguageChanged () override |
| virtual void | OnDesignSchemaChanged (const QByteArray &themeId) override |
| virtual bool | eventFilter (QObject *sourcePtr, QEvent *eventPtr) override |
| virtual void | OnComponentCreated () override |
| virtual void | OnComponentDestroyed () override |
Protected Member Functions inherited from iqtgui::CIconProvider | |
| virtual QIcon | CreateIcon (const QString &iconName) const |
Protected Attributes inherited from iqtgui::CGuiComponentBase | |
| imod::TModelWrap< VisualStatus > | m_visualStatus |
HTML-based help viewer component.
Provides a Qt-based HTML help viewer that can display HTML documentation files. The component uses QTextBrowser to render HTML content and integrates with the ACF help system through IHelpViewer interface.
This component is typically used to display:
The component features:
Definition at line 104 of file CHtmlHelpGuiComp.h.
| typedef iqtgui::TGuiComponentBase<QTextBrowser> iqtdoc::CHtmlHelpGuiComp::BaseClass |
Definition at line 109 of file CHtmlHelpGuiComp.h.
|
overridevirtual |
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.
Implements idoc::IHelpInfoProvider.
|
overridevirtual |
Called just after GUI is initialized.
Reimplemented from iqtgui::CGuiComponentBase.
|
overridevirtual |
Called from widget event filter when slave widget is shown.
Reimplemented from iqtgui::CGuiComponentBase.
|
overridevirtual |
Show some help information for specified context.
| contextText | Text describing the help context (e.g., "FileMenu", "UndoCommand"). |
| contextObjectPtr | Optional pointer to object needing help. |
This method displays help content in an appropriate viewer (browser, dialog, etc.). The implementation determines the best way to present the help based on the context.
Implements idoc::IHelpViewer.