Isis 3 Programmer Reference
HelpTool.h
1 #ifndef HelpTool_h
2 #define HelpTool_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QAction>
13 #include "Tool.h"
14 
15 namespace Isis {
26  class HelpTool : public Tool {
27  Q_OBJECT
28 
29  public:
30  HelpTool(QWidget *parent);
31  void addTo(QMenu *menu);
32  void addToPermanent(QToolBar *perm);
33 
34  QString menuName() const {
35  return "&Help";
36  }
37 
38  public slots:
39  void whatsThis();
40 
41  private:
42  QAction *p_whatsThis;
43  QAction *p_aboutProgram;
44 
45  private slots:
46  void aboutProgram();
47  };
48 };
49 
50 #endif
QWidget
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
QMenu
Isis::HelpTool::menuName
QString menuName() const
Anytime a tool is created, you must give it a name for the menu.
Definition: HelpTool.h:34
QToolBar
Isis::HelpTool::aboutProgram
void aboutProgram()
Slot to print program information.
Definition: HelpTool.cpp:63
Isis::HelpTool
Qisis Help Tool.
Definition: HelpTool.h:26
Isis::HelpTool::addToPermanent
void addToPermanent(QToolBar *perm)
Add actions to the permanent toolbar.
Definition: HelpTool.cpp:48
QAction
Isis::HelpTool::addTo
void addTo(QMenu *menu)
Definition: HelpTool.cpp:42
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16