Isis 3 Developer Reference
|
Handles selection operations for Isis qt apps. More...
#include <MosaicSelectTool.h>
Public Slots | |
void | activate (bool) |
Activates the tool. More... | |
Signals | |
void | activated (bool) |
Public Member Functions | |
MosaicSelectTool (MosaicSceneWidget *) | |
MosaicSelectTool constructor. More... | |
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 () |
virtual PvlObject | toPvl () const |
virtual void | fromPvl (const PvlObject &obj) |
virtual QString | projectPvlObjectName () const |
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 | |
virtual QAction * | getPrimaryAction () |
Adds the action to the toolpad. More... | |
virtual void | mouseEnter () |
virtual void | mouseMove (QPointF) |
virtual void | mouseLeave () |
virtual void | mouseDoubleClick (QPointF) |
virtual void | mouseButtonPress (QPointF, Qt::MouseButton s) |
virtual void | mouseButtonRelease (QPointF, Qt::MouseButton s) |
virtual void | mouseWheel (QPointF, int delta) |
virtual void | rubberBandComplete (QRectF r, Qt::MouseButton s) |
void | toolBarDestroyed (QObject *obj) |
MosaicSceneWidget * | getWidget () |
virtual QWidget * | getToolBarWidget () |
This method returns a widget that will be put in a tool bar when the tool is activated. More... | |
Handles selection operations for Isis qt apps.
Isis::MosaicSelectTool::MosaicSelectTool | ( | MosaicSceneWidget * | scene | ) |
MosaicSelectTool 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().
|
virtualinherited |
Reimplemented in Isis::MosaicGridTool, Isis::MosaicControlNetTool, Isis::MosaicFindTool, and Isis::MosaicAreaTool.
References _FILEINFO_, Isis::IException::Programmer, and Isis::MosaicTool::projectPvlObjectName().
Referenced by Isis::MosaicSceneWidget::fromPvl().
|
inherited |
returns the path to the icon directory.
References Isis::FileName::expanded().
Referenced by getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), Isis::MosaicAreaTool::getPrimaryAction(), Isis::MosaicFindTool::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().
|
protectedvirtualinherited |
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 in Isis::MosaicControlNetTool, Isis::MosaicGridTool, Isis::MosaicFindTool, Isis::MosaicAreaTool, and Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::addTo().
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicSceneWidget::getViewActions().
|
inlineprotectedinherited |
Referenced by Isis::MosaicGridTool::autoGrid(), Isis::MosaicAreaTool::clearBox(), Isis::MosaicGridTool::clearGrid(), Isis::MosaicFindTool::clearPoint(), Isis::MosaicGridTool::domainMaxLon(), Isis::MosaicGridTool::domainMinLon(), Isis::MosaicGridTool::drawGrid(), Isis::MosaicGridTool::fromPvl(), Isis::MosaicGridTool::getToolBarWidget(), Isis::MosaicFindTool::getUserGroundPoint(), Isis::MosaicGridTool::latType(), Isis::MosaicControlNetTool::loadNetwork(), Isis::MosaicGridTool::lonDomain(), Isis::MosaicControlNetTool::MosaicControlNetTool(), Isis::MosaicGridTool::MosaicGridTool(), Isis::MosaicTrackTool::MosaicTrackTool(), Isis::MosaicAreaTool::mouseButtonRelease(), Isis::MosaicFindTool::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(), 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(), Isis::MosaicFindTool::mouseButtonRelease(), Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::rubberBandComplete(), updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicZoomTool::updateTool(), and Isis::MosaicFindTool::updateTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtualinherited |
Reimplemented in Isis::MosaicControlNetTool, Isis::MosaicFindTool, Isis::MosaicAreaTool, and Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
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().
|
virtualinherited |
|
inlineprotectedvirtualinherited |
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedinherited |
Referenced by Isis::MosaicTool::addTo().
|
virtualinherited |
Reimplemented in Isis::MosaicGridTool, Isis::MosaicControlNetTool, Isis::MosaicFindTool, and Isis::MosaicAreaTool.
References _FILEINFO_, Isis::IException::Programmer, and Isis::MosaicTool::projectPvlObjectName().
Referenced by Isis::MosaicSceneWidget::save(), and Isis::MosaicSceneWidget::toPvl().
|
protectedslot |
This method sets the QGraphicsView to allow the user to select mosaic items by dragging a rubber band.
References Isis::MosaicSceneWidget::getView(), Isis::MosaicTool::getWidget(), and Isis::MosaicTool::isActive().