Isis 3.0
Home
Isis::MosaicFindTool Class Reference

This controls the 'Find' abilities in the MosaicSceneWidget. More...

#include <MosaicFindTool.h>

Inherits Isis::MosaicTool.

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...
 
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)
 

Protected Member Functions

QActiongetPrimaryAction ()
 Adds the action to the toolpad. More...
 
QWidgetgetToolBarWidget ()
 This method returns a widget that will be put in a tool bar when the tool is activated. More...
 
QWidgetcreateToolBarWidget ()
 Creates the widget to add to the tool bar. More...
 
void mouseButtonRelease (QPointF, Qt::MouseButton)
 
MosaicSceneWidgetgetWidget ()
 

Detailed Description

This controls the 'Find' abilities in the MosaicSceneWidget.

Author
????-??-?? Stacy Alley

Constructor & Destructor Documentation

Isis::MosaicFindTool::MosaicFindTool ( MosaicSceneWidget scene)

MosaicFindTool constructor.

Parameters
parent

Member Function Documentation

void Isis::MosaicTool::activate ( bool  on)
slotinherited

Activates the tool.

Parameters
on

References Isis::MosaicTool::activated().

Referenced by Isis::MosaicTool::addTo().

void Isis::MosaicTool::activated ( bool  _t1)
signalinherited
virtual void Isis::MosaicTool::addTo ( QMenu *  menu)
inlinevirtualinherited
void Isis::MosaicTool::addTo ( ToolPad toolPad)
virtualinherited
void Isis::MosaicTool::addTo ( QToolBar toolBar)
virtualinherited
void Isis::MosaicFindTool::addToMenu ( QMenu *  menu)

Adds the pan action to the given menu.

Parameters
menu
void Isis::MosaicFindTool::clearPoint ( )
slot
QWidget * Isis::MosaicFindTool::createToolBarWidget ( )
protected

Creates the widget to add to the tool bar.

Parameters
parent
Returns
QWidget*
void Isis::MosaicFindTool::fromPvl ( const PvlObject obj)
virtual

Reimplemented from Isis::MosaicTool.

References getUserGroundPoint(), and Isis::toBool().

QAction * Isis::MosaicFindTool::getPrimaryAction ( )
protectedvirtual

Adds the action to the toolpad.

Parameters
toolpad
Returns
QAction*

Implements Isis::MosaicTool.

References Isis::MosaicTool::getIcon().

QWidget * Isis::MosaicFindTool::getToolBarWidget ( )
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.

References clearPoint(), and getUserGroundPoint().

QList< QAction * > Isis::MosaicTool::getViewActions ( )
virtualinherited
void Isis::MosaicTool::mouseButtonPress ( QPointF  ,
Qt::MouseButton  s 
)
protectedvirtualslotinherited
void Isis::MosaicTool::mouseDoubleClick ( QPointF  )
protectedvirtualslotinherited
virtual void Isis::MosaicTool::mouseEnter ( )
inlineprotectedvirtualslotinherited
virtual void Isis::MosaicTool::mouseLeave ( )
inlineprotectedvirtualslotinherited
void Isis::MosaicTool::mouseMove ( QPointF  )
protectedvirtualslotinherited
void Isis::MosaicTool::mouseWheel ( QPointF  ,
int  delta 
)
protectedvirtualslotinherited

Reimplemented in Isis::MosaicZoomTool.

Referenced by Isis::MosaicTool::MosaicTool().

QString Isis::MosaicFindTool::projectPvlObjectName ( ) const
virtual

Reimplemented from Isis::MosaicTool.

Referenced by toPvl().

virtual void Isis::MosaicTool::rubberBandComplete ( QRectF  r,
Qt::MouseButton  s 
)
inlineprotectedvirtualslotinherited

Reimplemented in Isis::MosaicZoomTool.

Referenced by Isis::MosaicTool::MosaicTool().

void Isis::MosaicTool::toolBarDestroyed ( QObject obj)
protectedslotinherited

Referenced by Isis::MosaicTool::addTo().

PvlObject Isis::MosaicFindTool::toPvl ( ) const
virtual

Reimplemented from Isis::MosaicTool.

References projectPvlObjectName(), and Isis::toString().

void Isis::MosaicFindTool::updateTool ( )
protectedslot

This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band.

References Isis::MosaicTool::isActive().


The documentation for this class was generated from the following files: