Isis 3 Developer 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 () |
This controls the 'Find' abilities in the MosaicSceneWidget.
Isis::MosaicFindTool::MosaicFindTool | ( | MosaicSceneWidget * | scene | ) |
MosaicFindTool constructor.
parent |
|
slotinherited |
Activates the tool.
on |
References Isis::MosaicTool::activated().
Referenced by Isis::MosaicTool::addTo().
|
signalinherited |
|
inlinevirtualinherited |
|
virtualinherited |
|
virtualinherited |
References Isis::MosaicTool::getToolBarWidget(), and Isis::MosaicTool::toolBarDestroyed().
void Isis::MosaicFindTool::addToMenu | ( | QMenu * | menu | ) |
Adds the pan action to the given menu.
menu |
|
slot |
References Isis::MosaicSceneWidget::getScene(), and Isis::MosaicTool::getWidget().
Referenced by getToolBarWidget(), getUserGroundPoint(), and mouseButtonRelease().
|
protected |
Creates the widget to add to the tool bar.
parent |
|
virtual |
Reimplemented from Isis::MosaicTool.
References getUserGroundPoint(), and Isis::toBool().
|
inherited |
returns the path to the icon directory.
References Isis::FileName::expanded().
Referenced by Isis::MosaicSelectTool::getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), Isis::MosaicAreaTool::getPrimaryAction(), getPrimaryAction(), Isis::MosaicGridTool::getPrimaryAction(), Isis::MosaicControlNetTool::getPrimaryAction(), and Isis::MosaicZoomTool::MosaicZoomTool().
|
protectedvirtual |
Adds the action to the toolpad.
toolpad |
Implements Isis::MosaicTool.
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.
References clearPoint(), and getUserGroundPoint().
|
slot |
References clearPoint(), Isis::MosaicSceneWidget::getProjection(), Isis::MosaicSceneWidget::getScene(), Isis::MosaicSceneWidget::getView(), Isis::MosaicTool::getWidget(), Isis::Projection::projectionType(), Isis::TProjection::SetGround(), Isis::ToDouble(), Isis::Projection::Triaxial, Isis::Projection::XCoord(), and Isis::Projection::YCoord().
Referenced by fromPvl(), and getToolBarWidget().
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicSceneWidget::getViewActions().
|
inlineprotectedinherited |
Referenced by Isis::MosaicGridTool::autoGrid(), Isis::MosaicAreaTool::clearBox(), Isis::MosaicGridTool::clearGrid(), clearPoint(), Isis::MosaicGridTool::domainMaxLon(), Isis::MosaicGridTool::domainMinLon(), Isis::MosaicGridTool::drawGrid(), Isis::MosaicGridTool::fromPvl(), Isis::MosaicGridTool::getToolBarWidget(), getUserGroundPoint(), Isis::MosaicGridTool::latType(), Isis::MosaicControlNetTool::loadNetwork(), Isis::MosaicGridTool::lonDomain(), Isis::MosaicControlNetTool::MosaicControlNetTool(), Isis::MosaicGridTool::MosaicGridTool(), Isis::MosaicTrackTool::MosaicTrackTool(), Isis::MosaicAreaTool::mouseButtonRelease(), mouseButtonRelease(), Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::mouseWheel(), Isis::MosaicGridTool::onCubesChanged(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicGridTool::sceneWidget(), Isis::MosaicGridTool::setLatExtents(), Isis::MosaicGridTool::setLonExtents(), Isis::MosaicTrackTool::updateLabels(), Isis::MosaicZoomTool::updateResolutionBox(), Isis::MosaicSelectTool::updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicZoomTool::updateTool(), Isis::MosaicAreaTool::userChangedBox(), and Isis::MosaicZoomTool::zoomFit().
|
inlineinherited |
Returns the activeness of this toool.
Referenced by Isis::MosaicSceneWidget::isControlNetToolActive(), Isis::MosaicZoomTool::mouseButtonRelease(), Isis::MosaicAreaTool::mouseButtonRelease(), mouseButtonRelease(), Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicSelectTool::updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicZoomTool::updateTool(), and updateTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtual |
Reimplemented from Isis::MosaicTool.
References clearPoint(), Isis::MosaicSceneWidget::getProjection(), Isis::MosaicSceneWidget::getScene(), Isis::MosaicSceneWidget::getView(), Isis::MosaicTool::getWidget(), Isis::MosaicTool::isActive(), Isis::TProjection::Latitude(), Isis::TProjection::Longitude(), Isis::Projection::projectionType(), Isis::TProjection::SetCoordinate(), and Isis::Projection::Triaxial.
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
inlineprotectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
inlineprotectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtualinherited |
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
virtual |
Reimplemented from Isis::MosaicTool.
Referenced by toPvl().
|
inlineprotectedvirtualinherited |
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedinherited |
Referenced by Isis::MosaicTool::addTo().
|
virtual |
Reimplemented from Isis::MosaicTool.
References projectPvlObjectName(), and Isis::toString().
|
protectedslot |
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band.
References Isis::MosaicTool::isActive().