USGS

Isis 3.0 Object Programmers' Reference

Home

WindowTool.h
1 #ifndef WindowTool_h
2 #define WindowTool_h
3 
4 #include "Tool.h"
5 
6 class QAction;
7 
8 namespace Isis {
9  class MdiCubeViewport;
10 
20  class WindowTool : public Tool {
21  Q_OBJECT
22 
23  public:
24  WindowTool(QWidget *parent);
25  void addTo(QMenu *menu);
26  void addTo(Workspace *ws);
27  void addToPermanent(QToolBar *toolbar);
28 
30  QString menuName() const {
31  return "&Window";
32  }
33 
34  protected:
35  void updateTool();
38 
39  private slots:
40  void changeCursor();
41  void linkWindows();
42  void unlinkWindows();
43  void resizeWindows();
44  void updateViewportCursor(MdiCubeViewport *);
45 
46  private:
47 
48  private:
60  };
61 };
62 
63 #endif
64