USGS

Isis 3.0 Developer's Reference (API)

Home

HelpTool.h

Go to the documentation of this file.
00001 #ifndef HelpTool_h
00002 #define HelpTool_h
00003 
00023 #include <QAction>
00024 #include "Tool.h"
00025 
00026 namespace Isis {
00037   class HelpTool : public Tool {
00038       Q_OBJECT
00039 
00040     public:
00041       HelpTool(QWidget *parent);
00042       void addTo(QMenu *menu);
00043       void addToPermanent(QToolBar *perm);
00044 
00045     public slots:
00046       void whatsThis();
00047 
00048     protected:
00049       QString menuName() const {
00050         return "&Help";
00051       };
00052 
00053     private:
00054       QAction *p_whatsThis;
00055       QAction *p_aboutProgram;
00056 
00057     private slots:
00058       void aboutProgram();
00059   };
00060 };
00061 
00062 #endif