Isis Developer Reference
HelpTool.h
Go to the documentation of this file.
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
15namespace 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
Qisis Help Tool.
Definition HelpTool.h:26
void addToPermanent(QToolBar *perm)
Add actions to the permanent toolbar.
Definition HelpTool.cpp:48
QString menuName() const
Anytime a tool is created, you must give it a name for the menu.
Definition HelpTool.h:34
void whatsThis()
Definition HelpTool.cpp:53
HelpTool(QWidget *parent)
Definition HelpTool.cpp:19
void addTo(QMenu *menu)
Definition HelpTool.cpp:42
Base class for the Qisis tools.
Definition Tool.h:67
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16