![]()  | 
  
    Isis 3 Programmer Reference
    
   | 
 
This controls the 'Find' abilities in the MosaicSceneWidget. More...
#include <MosaicFindTool.h>


Public Slots | |
| void | getUserGroundPoint () | 
| void | clearPoint () | 
| void | activate (bool) | 
| Activates the tool.  More... | |
Signals | |
| void | activated (bool) | 
Public Member Functions | |
| MosaicFindTool (MosaicSceneWidget *) | |
| MosaicFindTool constructor.  More... | |
| void | addToMenu (QMenu *menu) | 
| Adds the pan action to the given menu.  More... | |
| PvlObject | toPvl () const | 
| void | fromPvl (const PvlObject &obj) | 
| QString | projectPvlObjectName () const | 
| bool | isActive () const | 
| Returns the activeness of this toool.  More... | |
| QPixmap | getIcon (QString iconName) const | 
| returns the path to the icon directory.  More... | |
| virtual void | addTo (QMenu *menu) | 
| virtual void | addTo (ToolPad *toolPad) | 
| virtual void | addTo (QToolBar *toolBar) | 
| virtual QList< QAction * > | getViewActions () | 
Protected Slots | |
| void | updateTool () | 
| This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band.  More... | |
Protected Member Functions | |
| QAction * | getPrimaryAction () | 
| Adds the action to the toolpad.  More... | |
| QWidget * | getToolBarWidget () | 
| This method returns a widget that will be put in a tool bar when the tool is activated.  More... | |
| QWidget * | createToolBarWidget () | 
| Creates the widget to add to the tool bar.  More... | |
| void | mouseButtonRelease (QPointF, Qt::MouseButton) | 
| virtual void | mouseEnter () | 
| virtual void | mouseMove (QPointF) | 
| virtual void | mouseLeave () | 
| virtual void | mouseDoubleClick (QPointF) | 
| virtual void | mouseButtonPress (QPointF, Qt::MouseButton s) | 
| virtual void | mouseWheel (QPointF, int delta) | 
| virtual void | rubberBandComplete (QRectF r, Qt::MouseButton s) | 
| void | toolBarDestroyed (QObject *obj) | 
| MosaicSceneWidget * | getWidget () | 
Private Member Functions | |
| void | enableToolBar () | 
| Enables entire tool bar.  More... | |
| void | disableToolBar () | 
| Disables entire tool bar.  More... | |
Private Attributes | |
| QAction * | p_findPoint | 
| QToolButton * | p_findPtButton | 
| QLineEdit * | p_status | 
| bool | p_released | 
| bool | p_pressed | 
| bool | p_paint | 
| QLineEdit * | p_lonLineEdit | 
| Input for longitude.  More... | |
| QLineEdit * | p_latLineEdit | 
| Input for latitude.  More... | |
| QGraphicsEllipseItem * | p_findSpot | 
| QAction * | p_action | 
| bool | p_active | 
| Is the tool active?  More... | |
| MosaicSceneWidget * | p_widget | 
| QAction * | p_primaryAction | 
| QAction * | p_toolBarAction | 
This controls the 'Find' abilities in the MosaicSceneWidget.
Definition at line 29 of file MosaicFindTool.h.
| Isis::MosaicFindTool::MosaicFindTool | ( | MosaicSceneWidget * | scene | ) | 
      
  | 
  slotinherited | 
Activates the tool.
| on | 
Definition at line 148 of file MosaicTool.cpp.
References Isis::MosaicTool::disableToolBar(), Isis::MosaicTool::enableToolBar(), and Isis::MosaicTool::p_active.
| void Isis::MosaicFindTool::addToMenu | ( | QMenu * | menu | ) | 
Adds the pan action to the given menu.
| menu | 
Definition at line 165 of file MosaicFindTool.cpp.
      
  | 
  protected | 
Creates the widget to add to the tool bar.
| parent | 
Definition at line 203 of file MosaicFindTool.cpp.
      
  | 
  privateinherited | 
Disables entire tool bar.
Definition at line 174 of file MosaicTool.cpp.
Referenced by Isis::MosaicTool::activate().
      
  | 
  privateinherited | 
Enables entire tool bar.
Definition at line 185 of file MosaicTool.cpp.
Referenced by Isis::MosaicTool::activate().
      
  | 
  inherited | 
returns the path to the icon directory.
Definition at line 115 of file MosaicTool.cpp.
References Isis::FileName::expanded().
Referenced by Isis::MosaicAreaTool::getPrimaryAction(), Isis::MosaicControlNetTool::getPrimaryAction(), getPrimaryAction(), Isis::MosaicGridTool::getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicSelectTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), and Isis::MosaicZoomTool::MosaicZoomTool().
      
  | 
  protectedvirtual | 
Adds the action to the toolpad.
| toolpad | 
Implements Isis::MosaicTool.
Definition at line 105 of file MosaicFindTool.cpp.
References Isis::MosaicTool::getIcon().
      
  | 
  protectedvirtual | 
This method returns a widget that will be put in a tool bar when the tool is activated.
This method will only be called once so it can new the widget without a problem.
Reimplemented from Isis::MosaicTool.
Definition at line 124 of file MosaicFindTool.cpp.
References p_latLineEdit, and p_lonLineEdit.
      
  | 
  inlineinherited | 
Returns the activeness of this toool.
Definition at line 50 of file MosaicTool.h.
References Isis::MosaicTool::p_active.
Referenced by Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicControlNetTool::updateTool(), updateTool(), Isis::MosaicSelectTool::updateTool(), and Isis::MosaicZoomTool::updateTool().
      
  | 
  protectedslot | 
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band.
Definition at line 257 of file MosaicFindTool.cpp.
References Isis::MosaicTool::isActive().
      
  | 
  privateinherited | 
Is the tool active?
Definition at line 120 of file MosaicTool.h.
Referenced by Isis::MosaicTool::activate(), and Isis::MosaicTool::isActive().
      
  | 
  private | 
Input for latitude.
Definition at line 61 of file MosaicFindTool.h.
Referenced by getToolBarWidget().
      
  | 
  private | 
Input for longitude.
Definition at line 60 of file MosaicFindTool.h.
Referenced by getToolBarWidget().