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
QWidget
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::HelpTool::whatsThis
void whatsThis()
Definition: HelpTool.cpp:53
Isis::ProgramLauncher::RunSystemCommand
static void RunSystemCommand(QString commandLine)
This runs arbitrary system commands.
Definition: ProgramLauncher.cpp:207
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
MainWindow.h
QMenu
Isis::Tool::toolIconDir
QString toolIconDir() const
returns the path to the icon directory.
Definition: Tool.h:113
Isis::HelpTool::menuName
QString menuName() const
Anytime a tool is created, you must give it a name for the menu.
Definition: HelpTool.h:34
Tool.h
Isis::HelpTool::HelpTool
HelpTool(QWidget *parent)
Definition: HelpTool.cpp:19
QToolBar
Preference.h
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::HelpTool
Qisis Help Tool.
Definition: HelpTool.h:26
Workspace.h
IException.h
ProgramLauncher.h
HelpTool.h
Isis::HelpTool::addToPermanent
void addToPermanent(QToolBar *perm)
Add actions to the permanent toolbar.
Definition: HelpTool.cpp:48
Isis::Preference::Preferences
static Preference & Preferences(bool unitTest=false)
Definition: Preference.cpp:86
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