Isis 3 Programmer Reference
MosaicFindTool.h
1 #ifndef MosaicFindTool_h
2 #define MosaicFindTool_h
3 
4 #include "MosaicTool.h"
5 
6 class QAction;
7 class QDialog;
9 class QLineEdit;
10 class QToolButton;
11 
12 namespace Isis {
13  class PvlObject;
29  class MosaicFindTool : public MosaicTool {
30  Q_OBJECT
31 
32  public:
34  void addToMenu(QMenu *menu);
35 
36  PvlObject toPvl() const;
37  void fromPvl(const PvlObject &obj);
38  QString projectPvlObjectName() const;
39 
40  protected slots:
41  void updateTool();
42 
43  protected:
47  void mouseButtonRelease(QPointF, Qt::MouseButton);
48 
49  public slots:
50  void getUserGroundPoint();
51  void clearPoint();
52 
53  private:
54  QAction *p_findPoint;
55  QToolButton *p_findPtButton;
56  QLineEdit *p_status;
57  bool p_released;
58  bool p_pressed;
59  bool p_paint;
60  QLineEdit *p_lonLineEdit;
61  QLineEdit *p_latLineEdit;
62  QGraphicsEllipseItem *p_findSpot;
63  QAction *p_action;
64  };
65 };
66 
67 #endif
68 
QLineEdit * p_latLineEdit
Input for latitude.
QAction * getPrimaryAction()
Adds the action to the toolpad.
This widget encompasses the entire mosaic scene.
void addToMenu(QMenu *menu)
Adds the pan action to the given menu.
Base class for the MosaicTools.
Definition: MosaicTool.h:37
QLineEdit * p_lonLineEdit
Input for longitude.
void updateTool()
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band...
QWidget * getToolBarWidget()
This method returns a widget that will be put in a tool bar when the tool is activated.
QWidget * createToolBarWidget()
Creates the widget to add to the tool bar.
MosaicFindTool(MosaicSceneWidget *)
MosaicFindTool constructor.
This controls the 'Find' abilities in the MosaicSceneWidget.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74