Tool button that uses te::qt::widgets::HelpManager on its mouse pressed implementation.
More...
#include <HelpToolButton.h>
|
void | mousePressEvent (QMouseEvent *e) |
| Overloaded function of QPushButton. Only LEFT button pressed will show the help. More...
|
|
|
QString | m_pgRef |
| Stores the reference for the help file to be presented. More...
|
|
Tool button that uses te::qt::widgets::HelpManager on its mouse pressed implementation.
The client must set the page reference, as described in te::qt::widgets::HelpManagerImpl API documentation, before using it or nothing will happen.
Definition at line 50 of file HelpToolButton.h.
te::qt::widgets::HelpToolButton::HelpToolButton |
( |
QWidget * |
parent = 0 | ) |
|
Constructor.
- Parameters
-
parent | Parent widget, used by Qt. |
void te::qt::widgets::HelpToolButton::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Overloaded function of QPushButton. Only LEFT button pressed will show the help.
- Parameters
-
void te::qt::widgets::HelpToolButton::setPageReference |
( |
const QString & |
ref | ) |
|
Sets the documentation page reference.
- Parameters
-
This will be used to open the correct help file when left mouse button pressed. Using it we can make a context sensitive helper.
QString te::qt::widgets::HelpToolButton::m_pgRef |
|
protected |
Stores the reference for the help file to be presented.
Definition at line 83 of file HelpToolButton.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/widgets/help/HelpToolButton.h