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 
QWidget
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
QMenu
Isis::MosaicSceneWidget
This widget encompasses the entire mosaic scene.
Definition: MosaicSceneWidget.h:153
QGraphicsEllipseItem
Isis::MosaicFindTool
This controls the 'Find' abilities in the MosaicSceneWidget.
Definition: MosaicFindTool.h:29
Isis::MosaicTool
Base class for the MosaicTools.
Definition: MosaicTool.h:37
Isis::MosaicFindTool::p_lonLineEdit
QLineEdit * p_lonLineEdit
Input for longitude.
Definition: MosaicFindTool.h:60
Isis::MosaicFindTool::updateTool
void updateTool()
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band...
Definition: MosaicFindTool.cpp:257
Isis::MosaicFindTool::getToolBarWidget
QWidget * getToolBarWidget()
This method returns a widget that will be put in a tool bar when the tool is activated.
Definition: MosaicFindTool.cpp:124
Isis::MosaicFindTool::MosaicFindTool
MosaicFindTool(MosaicSceneWidget *)
MosaicFindTool constructor.
Definition: MosaicFindTool.cpp:30
Isis::MosaicFindTool::createToolBarWidget
QWidget * createToolBarWidget()
Creates the widget to add to the tool bar.
Definition: MosaicFindTool.cpp:203
Isis::MosaicFindTool::p_latLineEdit
QLineEdit * p_latLineEdit
Input for latitude.
Definition: MosaicFindTool.h:61
QDialog
Isis::MosaicFindTool::getPrimaryAction
QAction * getPrimaryAction()
Adds the action to the toolpad.
Definition: MosaicFindTool.cpp:105
QAction
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::MosaicFindTool::addToMenu
void addToMenu(QMenu *menu)
Adds the pan action to the given menu.
Definition: MosaicFindTool.cpp:165