USGS

Isis 3.0 Developer's Reference (API)

Home

MosaicFindTool.h

Go to the documentation of this file.
00001 #ifndef MosaicFindTool_h
00002 #define MosaicFindTool_h
00003 
00004 #include "MosaicTool.h"
00005 
00006 class QAction;
00007 class QDialog;
00008 class QGraphicsEllipseItem;
00009 class QLineEdit;
00010 class QToolButton;
00011 
00012 namespace Isis {
00026   class MosaicFindTool : public MosaicTool {
00027       Q_OBJECT
00028 
00029     public:
00030       MosaicFindTool(MosaicSceneWidget *);
00031       void addToMenu(QMenu *menu);
00032 
00033       PvlObject toPvl() const;
00034       void fromPvl(const PvlObject &obj);
00035       iString projectPvlObjectName() const;
00036 
00037     protected slots:
00038       void updateTool();
00039 
00040     protected:
00041       QAction *getPrimaryAction();
00042       QWidget *getToolBarWidget();
00043       QWidget *createToolBarWidget();
00044       void mouseButtonRelease(QPointF, Qt::MouseButton);
00045 
00046     public slots:
00047       void getUserGroundPoint();
00048       void clearPoint();
00049 
00050     private:
00051       QAction *p_findPoint;
00052       QToolButton *p_findPtButton;
00053       QLineEdit *p_status;
00054       bool p_released;
00055       bool p_pressed;
00056       bool p_paint;
00057       QLineEdit *p_lonLineEdit; 
00058       QLineEdit *p_latLineEdit; 
00059       QGraphicsEllipseItem *p_findSpot;
00060       QAction *p_action;
00061   };
00062 };
00063 
00064 #endif
00065