Isis 3 Developer Reference
HelpTool.h
Go to the documentation of this file.
1 #ifndef HelpTool_h
2 #define HelpTool_h
3 
23 #include <QAction>
24 #include "Tool.h"
25 
26 namespace Isis {
37  class HelpTool : public Tool {
38  Q_OBJECT
39 
40  public:
41  HelpTool(QWidget *parent);
42  void addTo(QMenu *menu);
43  void addToPermanent(QToolBar *perm);
44 
45  QString menuName() const {
46  return "&Help";
47  }
48 
49  public slots:
50  void whatsThis();
51 
52  private:
53  QAction *p_whatsThis;
54  QAction *p_aboutProgram;
55 
56  private slots:
57  void aboutProgram();
58  };
59 };
60 
61 #endif
void addToPermanent(QToolBar *perm)
Add actions to the permanent toolbar.
Definition: HelpTool.cpp:47
void addTo(QMenu *menu)
Definition: HelpTool.cpp:41
Qisis Help Tool.
Definition: HelpTool.h:37
HelpTool(QWidget *parent)
Definition: HelpTool.cpp:18
void whatsThis()
Definition: HelpTool.cpp:52
QString menuName() const
Anytime a tool is created, you must give it a name for the menu.
Definition: HelpTool.h:45
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for the Qisis tools.
Definition: Tool.h:81