31 #include <QtGui/QMouseEvent> 
   34   : QPushButton(tr(
"&Help"), parent)
 
   50   QPushButton::mousePressEvent(e);
 
   52   if(e->button() == Qt::LeftButton)
 
A singleton that contains a pointer to a help manager implementation. 
 
void mousePressEvent(QMouseEvent *e)
Overloaded function of QPushButton. Only LEFT button pressed will show the help. 
 
void setNameSpace(const QString &ns)
Sets the namespace to be used. 
 
void setPageReference(const QString &ref)
Sets the documentation page reference. 
 
A specialized button that uses terralib help managers. 
 
void showHelp(const QString &htmRef, const QString &nSpace="")
Opens the help on the selected page. 
 
HelpPushButton(QWidget *parent=0)
Constructor. 
 
static HelpManager & getInstance()
It returns a reference to the singleton instance.