Launch help programs. More...
#include "us_help.h"
Public Member Functions | |
US_Help (QObject *=0) | |
Simple constructor. More... | |
void | show_help (const QString &) |
Show help page in Qt assistant window cusomized for US3. More... | |
void | show_URL (const QString &) |
Show URL page in the configured browser for US3. More... | |
void | show_html_file (const QString &) |
Show HTML file in the configured browser for US3. More... | |
Private Member Functions | |
void | openBrowser (const QString &) |
Private Attributes | |
QProcess * | assistant |
Launch help programs.
Provides functions to launch a web browser for external links or Qt Assistant for local help files.
US_Help::US_Help | ( | QObject * | parent = 0 | ) |
Simple constructor.
parent | A pointer to the parent QObject. This normally can be left as NULL. |
Definition at line 5 of file us_help.cpp.
|
private |
Definition at line 77 of file us_help.cpp.
void US_Help::show_help | ( | const QString & | helpFile | ) |
Show help page in Qt assistant window cusomized for US3.
helpFile | Name of help page to be shown. For example, "us_config.html". Optionally prepended with "manual/" |
Definition at line 8 of file us_help.cpp.
void US_Help::show_html_file | ( | const QString & | location | ) |
Show HTML file in the configured browser for US3.
location | HTML file to open in the configured browser |
Definition at line 71 of file us_help.cpp.
void US_Help::show_URL | ( | const QString & | location | ) |
Show URL page in the configured browser for US3.
location | URL to open in the configured browser |
Definition at line 65 of file us_help.cpp.