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
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
Tool.h
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
Isis::HelpTool::menuName
QString menuName() const
Anytime a tool is created, you must give it a name for the menu.
Definition
HelpTool.h:34
Isis::HelpTool::whatsThis
void whatsThis()
Definition
HelpTool.cpp:53
Isis::HelpTool::HelpTool
HelpTool(QWidget *parent)
Definition
HelpTool.cpp:19
Isis::HelpTool::addTo
void addTo(QMenu *menu)
Definition
HelpTool.cpp:42
Isis::Tool
Base class for the Qisis tools.
Definition
Tool.h:67
QAction
QMenu
QToolBar
QWidget
Isis
This is free and unencumbered software released into the public domain.
Definition
Apollo.h:16
repos
ISIS3
isis
src
qisis
objs
HelpTool
HelpTool.h