OpendTect
7.0
|
A simple HelpProvider that can be extended to create a HelpProvider for third party plug-ins. You need a urlbase string which can refer to a web URL (starting with "http://") or a local file path (starting with "file:///"). For linking the individual HelpKeys, you can either add links for specific keys using the function: More...
Protected Member Functions | |
SimpleHelpProvider (const char *urlbase, const char *keylinkfile=0) | |
~SimpleHelpProvider () | |
void | addKeyLink (const char *key, const char *link) |
Private Member Functions | |
bool | hasHelp (const char *arg) const override |
void | provideHelp (const char *arg) const override |
Private Attributes | |
BufferString | baseurl_ |
IOPar | keylinks_ |
Additional Inherited Members | |
Public Member Functions inherited from HelpProvider | |
virtual | ~HelpProvider () |
Static Public Member Functions inherited from HelpProvider | |
static uiString | description (const HelpKey &) |
static bool | hasHelp (const HelpKey &) |
static void | provideHelp (const HelpKey &) |
A simple HelpProvider that can be extended to create a HelpProvider for third party plug-ins. You need a urlbase string which can refer to a web URL (starting with "http://") or a local file path (starting with "file:///"). For linking the individual HelpKeys, you can either add links for specific keys using the function:
addKeyLink( const char* key, const char* link );
or have a local file with key-value pairs like this:
key1: link1 key2: link2 ...........
The links will be simply appended to urlbase. For example, look at the class TutHelpProvider in plugins/uiTut/uitutpi.cc
<>
|
protected |
|
protected |
|
protected |
|
overrideprivatevirtual |
Implements HelpProvider.
|
overrideprivatevirtual |
Implements HelpProvider.
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024