Isis Developer Reference
MosaicFindTool.h
Go to the documentation of this file.
1#ifndef MosaicFindTool_h
2#define MosaicFindTool_h
3
4#include "MosaicTool.h"
5
6class QAction;
7class QDialog;
9class QLineEdit;
10class QToolButton;
11
12namespace 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
This controls the 'Find' abilities in the MosaicSceneWidget.
Definition MosaicFindTool.h:29
PvlObject toPvl() const
Definition MosaicFindTool.cpp:170
void addToMenu(QMenu *menu)
Adds the pan action to the given menu.
Definition MosaicFindTool.cpp:165
QWidget * createToolBarWidget()
Creates the widget to add to the tool bar.
Definition MosaicFindTool.cpp:203
void mouseButtonRelease(QPointF, Qt::MouseButton)
Definition MosaicFindTool.cpp:209
QString projectPvlObjectName() const
Definition MosaicFindTool.cpp:190
QAction * getPrimaryAction()
Adds the action to the toolpad.
Definition MosaicFindTool.cpp:105
QWidget * getToolBarWidget()
This method returns a widget that will be put in a tool bar when the tool is activated.
Definition MosaicFindTool.cpp:124
void clearPoint()
Definition MosaicFindTool.cpp:242
MosaicFindTool(MosaicSceneWidget *)
MosaicFindTool constructor.
Definition MosaicFindTool.cpp:30
void getUserGroundPoint()
Definition MosaicFindTool.cpp:40
void fromPvl(const PvlObject &obj)
Definition MosaicFindTool.cpp:181
void updateTool()
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band...
Definition MosaicFindTool.cpp:257
This widget encompasses the entire mosaic scene.
Definition MosaicSceneWidget.h:153
Base class for the MosaicTools.
Definition MosaicTool.h:37
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16