Isis 3.0 Object Programmers' Reference |
Home |
#include <QnetNavTool.h>
Public Slots | |
void | resetList () |
Resets the list box with whatever is in the global lists. | |
void | refreshList () |
Slot to refresh the listBox. | |
void | updateEditPoint (QString pointId) |
Update the list showing the new point highlighted. | |
void | activate (bool) |
Activates the tool. | |
virtual void | updateTool () |
Updates the tool. | |
void | setCubeViewport (MdiCubeViewport *cvp) |
Sets the current viewport to the given cvp. | |
Signals | |
void | loadPointImages (ControlPoint *) |
void | loadImage (const QString &) |
void | modifyPoint (ControlPoint *) |
void | ignoredPoints () |
void | deletedPoints () |
void | pointChanged (QString pointId) |
void | netChanged () |
void | serialListModified () |
void | clearWarningSignal () |
void | toolActivated () |
void | viewportChanged () |
Public Member Functions | |
QnetNavTool (QnetTool *qnetTool, QWidget *parent) | |
Consructs the Navigation Tool window. | |
QList< int > & | filteredImages () |
const QList< int > & | filteredImages () const |
QList< int > & | filteredPoints () |
const QList< int > & | filteredPoints () const |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
void | addTo (ViewportMainWindow *mw) |
Adds the tool to the application. | |
void | addTo (ToolPad *toolpad) |
Adds the tool to the toolpad. | |
virtual void | addTo (QMenu *menu) |
virtual void | addTo (Workspace *ws) |
Adds the given workspace to the cubeviewport list. | |
virtual QString | menuName () const |
Anytime a tool is created, you must give it a name for the menu. | |
virtual void | addToPermanent (QToolBar *toolbar) |
void | addToActive (QToolBar *toolbar) |
QString | toolIconDir () const |
returns the path to the icon directory. | |
virtual void | paintViewport (MdiCubeViewport *vp, QPainter *painter) |
RubberBandTool * | rubberBandTool () |
void | setList (ToolList *currentList) |
Protected Types | |
typedef QVector < MdiCubeViewport * > | CubeViewportList |
A list of cubeviewports. | |
Protected Slots | |
virtual void | rubberBandComplete () |
virtual void | screenPixelsChanged () |
This is called when actions change which pixels from the cube are displayed. | |
virtual void | mouseEnter () |
virtual void | mouseMove (QPoint p) |
virtual void | mouseMove (QPoint p, Qt::MouseButton) |
virtual void | mouseLeave () |
virtual void | mouseDoubleClick (QPoint p) |
virtual void | mouseButtonPress (QPoint p, Qt::MouseButton s) |
virtual void | mouseButtonRelease (QPoint p, Qt::MouseButton s) |
Resets the Warning to Nowarning when a different activity occurs on the application. | |
virtual void | updateMeasure () |
virtual void | scaleChanged () |
virtual void | stretchRequested (MdiCubeViewport *, int) |
void | registerTool (MdiCubeViewport *viewport) |
Registers the tool to the viewport. | |
Protected Member Functions | |
MdiCubeViewport * | cubeViewport () const |
Return the current cubeviewport. | |
CubeViewportList * | cubeViewportList () const |
Return the list of cubeviewports. | |
virtual QAction * | toolPadAction (ToolPad *toolpad) |
Anytime a tool is created, you must setup a tool pad action with it. | |
virtual QWidget * | createToolBarWidget (QStackedWidget *parent) |
Anytime a tool is created, you must add it to the tool bar. | |
virtual void | addConnections (MdiCubeViewport *cvp) |
Anytime a tool is created, you must add the connections for it. | |
virtual void | removeConnections (MdiCubeViewport *cvp) |
Anytime a tool is created, you must be able to remove it's connections. | |
virtual void | enableRubberBandTool () |
Anytime a tool is created, you may use the rubber band tool. | |
Workspace * | workspace () |
Private Slots | |
void | load () |
Tells the filetool to load an image, slot for "View Cube(s)" button. | |
void | load (QListWidgetItem *) |
Slot for double-clicking cube list. | |
void | tie () |
Calls the qnet tool for the given control point. | |
void | filter () |
Figures out what type of widget the filter was selected for and calls the filter method for that filter class. | |
void | editPoint (QListWidgetItem *ptItem) |
Emits a modifyPoint signal. | |
void | filterList () |
Updates the list box in the nav window with a new list from one of the filters. | |
void | resetFilter () |
Resets the visible filter to the default values. | |
void | enableButtons () |
Enable/disable buttons depending on whether Points or Cubes is chosen. | |
void | ignorePoints () |
Set Ignored=True for selected Points. | |
void | deletePoints () |
Delete selected Points from control network. | |
void | resetCubeList () |
This slot is connected to the file tool in qnet.cpp. | |
void | showNavTool () |
This method sets the Navigation Dialog window to shown=true. | |
void | aprioriDialog () |
Bring up apriori dialog. | |
void | setAprioriDialogPoints () |
Slot to pass points selected in Nav List Widget to Apriori Dialog. | |
Private Member Functions | |
void | createNavigationDialog (QWidget *parent) |
Creates and shows the dialog box for the navigation tool. | |
void | createFilters () |
Sets up the tabbed widgets for the different types of filters available. | |
Private Attributes | |
QDialog * | m_navDialog |
QPushButton * | m_filter |
bool | m_filtered |
QPushButton * | m_tie |
QPushButton * | m_multiIgnore |
QPushButton * | m_multiDelete |
QPushButton * | m_setApriori |
QStackedWidget * | m_filterStack |
QComboBox * | m_listCombo |
QListWidget * | m_listBox |
QLabel * | m_filterCountLabel |
int | m_filterCount |
QString | m_editPointId |
QnetSetAprioriDialog * | m_aprioriDialog |
QnetTool * | m_qnetTool |
QList< int > | m_filteredPoints |
QList< int > | m_filteredImages |
Qnet Navigation Tool.
2007-06-05 Tracie Sucharski - Added enumerators for filter indices
2008-11-24 Jeannie Walldren - Replace references to PointEdit class with ControlPointEdit
2008-11-26 Jeannie Walldren - Added GoodnessOfFit to PointFilterIndex enumeration
2008-11-26 Tracie Sucharski - Remove all polygon/overlap references, this functionality will be qmos
2008-12-09 Tracie Sucharski - Cleaned up some signal/slot connections between QnetTool and QnetNavTool for deleting or adding ControlPoints. Also added m_filtered indicating whether the listBox contains filtered or unfiltered lists.
2008-12-29 Jeannie Walldren - Added question boxes to the "Delete Points" and "Ignore Points" buttons to verify that the user wants to delete or ignore the selected points
2008-12-30 Jeannie Walldren - Modified updateEditPoint() method to set current item rather than simply highlight the new point. Now the point does not have to be clicked before "Delete Point(s)" is chosen. Removed "std::" in cpp file since we are using std namespace.
2008-12-31 Jeannie Walldren - Added keyboard shortcuts to createNavigationDialog() and createFilters() methods.
2009-01-08 Jeannie Walldren - In resetList(), fill filtered lists with all points in control net and all images in serial number list so that filters can remove unwanted members from this list. In filter() remove command to clear these lists so that we may filter filtered lists rather than start with the entire points/image list each time it is called.
2009-01-26 Jeannie Walldren - The following changes were made in order to create a Cube Names filter on the Points list: Added CubeNames to PointFilterIndex enumerated values. Added resetCubeList() slot and serialListModified() signal. Modified filter() and createFilters().
2010-06-02 Jeannie Walldren - Changed tab labels from "Point Type" to "Point Properties" and "Measure Type(s)" to "Measure Properties" for better accuracy. Also updated "What's This?" description for "Measure Properties".
2010-06-03 Jeannie Walldren - Initialized pointers to null in constructor. Modified tie() and load() methods.
2010-07-01 Jeannie Walldren - Added showNavTool() slot method. This method is connected to the QnetTool in order to reopen the navigator dialog whenever the Tie tool button or "Show Nav Tool" button are activated. Replaced #includes with forward class declarations and moved #include to .cpp file.
2010-07-12 Jeannie Walldren - Fixed documentation.
2010-11-01 Tracie Sucharski - Changed updateEditPoint parameter from std::string to QString.
2010-11-04 Tracie Sucharski - Added overloaded load slot for double-clicking on the cube list.
2010-12-10 Tracie Sucharski - Renamed signal loadPoint to loadPointImages and the ControlPoint is passed by value so that the original point is preserved until the user selects "Save Point".
2011-03-24 Tracie Sucharski - Added ability to enter Apriori Point values and sigmas.
2013-05-14 Tracie Sucharski - Add Qt::UniqueConnection to the connect statements in ::resetList to prevent multiple connections between the ListWidget and edit point slot and load cube slot. Fixes #1655.
Definition at line 121 of file QnetNavTool.h.
|
protectedinherited |
Consructs the Navigation Tool window.
parent | The parent widget for the navigation tool |
2008-12-09 Tracie Sucharski - Added m_filtered indicating whether the listBox contains filtered or unfiltered list.
2010-06-03 Jeannie Walldren - Initialized pointers to null.
Definition at line 65 of file QnetNavTool.cpp.
References createNavigationDialog(), and refreshList().
|
slotinherited |
Activates the tool.
on |
Definition at line 130 of file Tool.cpp.
References Isis::Tool::addViewportConnections(), Isis::Tool::disableToolBar(), Isis::Tool::enableToolBar(), Isis::Tool::m_active, Isis::Tool::m_toolPadAction, and Isis::Tool::removeViewportConnections().
Referenced by Isis::Tool::addTo(), Isis::AdvancedTrackTool::AdvancedTrackTool(), Isis::RubberBandTool::disable(), Isis::RubberBandTool::enable(), Isis::AdvancedTrackTool::eventFilter(), Isis::FileTool::FileTool(), Isis::RubberBandTool::RubberBandTool(), Isis::TrackTool::TrackTool(), Isis::WindowTool::WindowTool(), and Isis::Workspace::Workspace().
|
inlineprotectedvirtualinherited |
Anytime a tool is created, you must add the connections for it.
cvp |
Reimplemented in Isis::TrackTool, and Isis::WindowTool.
Definition at line 253 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections().
|
inherited |
Adds the tool to the application.
pViewPortMnWin |
Definition at line 77 of file Tool.cpp.
References Isis::ViewportMainWindow::activeToolBar(), Isis::Tool::addToActive(), Isis::Tool::addToPermanent(), Isis::ViewportMainWindow::getMenu(), Isis::Tool::menuName(), Isis::ViewportMainWindow::permanentToolBar(), Isis::ViewportMainWindow::toolPad(), and Isis::ViewportMainWindow::workspace().
Referenced by Isis::WindowTool::addTo(), Isis::SpecialPixelTool::addTo(), Isis::FileTool::addTo(), Isis::EditTool::addTo(), Isis::ViewportMainWindow::ViewportMainWindow(), and Isis::Workspace::Workspace().
|
inherited |
Adds the tool to the toolpad.
toolpad |
Definition at line 97 of file Tool.cpp.
References Isis::Tool::activate(), Isis::ToolPad::addAction(), Isis::Tool::m_toolPadAction, and Isis::Tool::toolPadAction().
|
inlinevirtualinherited |
menu |
Reimplemented in Isis::FindTool, Isis::FeatureNomenclatureTool, Isis::StretchTool, Isis::QnetFileTool, Isis::AdvancedTrackTool, Isis::ZoomTool, Isis::SpectralPlotTool, Isis::MeasureTool, Isis::FileTool, Isis::SunShadowTool, Isis::HelpTool, Isis::SpecialPixelTool, Isis::BlinkTool, Isis::WindowTool, and Isis::PanTool.
|
virtualinherited |
Adds the given workspace to the cubeviewport list.
ws |
Reimplemented in Isis::EditTool, Isis::FileTool, Isis::SpecialPixelTool, and Isis::WindowTool.
Definition at line 44 of file Tool.cpp.
References Isis::Tool::registerTool(), and Isis::Tool::setCubeViewport().
|
inherited |
toolbar |
Definition at line 111 of file Tool.cpp.
References Isis::Tool::createToolBarWidget(), Isis::Tool::disableToolBar(), and Isis::Tool::m_toolBarWidget.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
inlinevirtualinherited |
toolbar |
Reimplemented in Isis::AdvancedTrackTool, Isis::FileTool, Isis::HelpTool, Isis::SpecialPixelTool, Isis::BlinkTool, and Isis::WindowTool.
Definition at line 111 of file Tool.h.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
privateslot |
Bring up apriori dialog.
Definition at line 943 of file QnetNavTool.cpp.
References setAprioriDialogPoints().
Referenced by createNavigationDialog().
|
private |
Sets up the tabbed widgets for the different types of filters available.
2007-06-05 Tracie Sucharski - Added enumerators for the filter indices to make it easier to re-order filters. Also, re-ordered the filters to put commonly used first. Comment out overlap/polygon code temporarily.
2008-11-26 Jeannie Walldren - Added Goodness of Fit to the filter tabs.
2008-12-31 Jeannie Walldren - Added keyboard shortcuts to tabs.
2009-01-26 Jeannie Walldren - Clarified tab names. Added points cube name filter tab.
2010-06-02 Jeannie Walldren - Changed tab labels from "Type" to "Properties". Updated "What's This?" documentation for Measure Properties to explain use of ignore status and measure type filters.
Definition at line 272 of file QnetNavTool.cpp.
References filterList().
Referenced by createNavigationDialog().
|
private |
Creates and shows the dialog box for the navigation tool.
parent | The parent widget for the navigation dialopg |
2008-10-29 Tracie Sucharski - Added filter count
2008-12-31 Jeannie Walldren - Added keyboard shortcuts
2010-11-04 Tracie Sucharski - Move listBox double-click connection to the slot for changing the listBox.
Definition at line 96 of file QnetNavTool.cpp.
References aprioriDialog(), createFilters(), deletePoints(), enableButtons(), filter(), ignorePoints(), load(), resetFilter(), resetList(), and tie().
Referenced by QnetNavTool().
|
inlineprotectedvirtualinherited |
Anytime a tool is created, you must add it to the tool bar.
parent |
Reimplemented in Isis::StretchTool, Isis::FindTool, Isis::StatisticsTool, Isis::FeatureNomenclatureTool, Isis::EditTool, Isis::ZoomTool, Isis::MeasureTool, Isis::StereoTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, Isis::AbstractPlotTool, Isis::BandTool, Isis::SunShadowTool, Isis::ScatterPlotTool, Isis::HistogramTool, and Isis::PanTool.
Definition at line 243 of file Tool.h.
Referenced by Isis::Tool::addToActive().
|
inlineprotectedinherited |
Return the current cubeviewport.
Definition at line 211 of file Tool.h.
References Isis::Tool::m_cvp.
Referenced by Isis::WindowTool::addConnections(), Isis::TrackTool::addConnections(), Isis::StretchTool::advancedStretchChanged(), Isis::FindTool::centerLinkedViewports(), Isis::StretchTool::changeStretch(), Isis::BandTool::changeView(), Isis::BandTool::copyLinkedViewports(), Isis::FileTool::discard(), Isis::Tool::enableToolBar(), Isis::FileTool::exportView(), Isis::StatisticsTool::getStatistics(), Isis::FindTool::handleRecordClicked(), Isis::EditTool::LineToPoints(), Isis::TrackTool::locateCursor(), Isis::SunShadowTool::mouseButtonPress(), Isis::RubberBandTool::mouseButtonRelease(), Isis::EditTool::mouseButtonRelease(), Isis::FeatureNomenclatureTool::mouseButtonRelease(), Isis::FindTool::mouseButtonRelease(), Isis::StretchTool::mouseButtonRelease(), Isis::MatchTool::mouseButtonRelease(), Isis::QnetTool::mouseButtonRelease(), Isis::AdvancedTrackTool::mouseLeave(), Isis::ScatterPlotTool::mouseMove(), Isis::SunShadowTool::mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), Isis::SunShadowTool::paintViewport(), Isis::RubberBandTool::paintViewport(), Isis::FindTool::paintViewport(), Isis::FileTool::print(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::EditTool::redoEdit(), Isis::FindTool::refresh(), Isis::HistogramTool::refreshPlot(), Isis::SpatialPlotTool::refreshPlot(), Isis::SpectralPlotTool::refreshPlot(), Isis::WindowTool::removeConnections(), Isis::TrackTool::removeConnections(), Isis::RubberBandTool::repaint(), Isis::WindowTool::resizeWindows(), Isis::HistogramTool::rubberBandComplete(), Isis::MeasureTool::rubberBandComplete(), Isis::ZoomTool::rubberBandComplete(), Isis::EditTool::rubberBandComplete(), Isis::StretchTool::rubberBandComplete(), Isis::FileTool::save(), Isis::FileTool::saveAs(), Isis::FileTool::saveAsCubeByOption(), Isis::FileTool::saveAsReducedCube(), Isis::FileTool::saveInfo(), Isis::BandTool::setBandBin(), Isis::BandTool::setList(), Isis::StretchTool::setStretchAcrossBands(), Isis::StretchTool::setStretchAllViewports(), Isis::StretchTool::showAdvancedDialog(), Isis::ScatterPlotTool::showNewScatterPlotConfig(), Isis::StretchTool::stretchChanged(), Isis::StretchTool::stretchGlobal(), Isis::StretchTool::stretchGlobalAllBands(), Isis::StretchTool::stretchRegional(), Isis::EditTool::undoEdit(), Isis::StretchTool::updateAdvStretchDialogforAll(), Isis::StretchTool::updateHistograms(), Isis::TrackTool::updateLabels(), Isis::MeasureTool::updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::SpecialPixelTool::updateTool(), Isis::BandTool::updateTool(), Isis::SunShadowTool::updateTool(), Isis::AbstractPlotTool::updateTool(), Isis::ZoomTool::updateTool(), Isis::FileTool::updateTool(), Isis::EditTool::updateTool(), Isis::FindTool::updateTool(), Isis::StretchTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::EditTool::writeToCube(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().
|
protectedinherited |
Return the list of cubeviewports.
Definition at line 389 of file Tool.cpp.
References Isis::Workspace::cubeViewportList().
Referenced by Isis::BlinkTool::advance(), Isis::SpecialPixelTool::apply(), Isis::FindTool::centerLinkedViewports(), Isis::WindowTool::changeCursor(), Isis::FileTool::closeAll(), Isis::BandTool::copyAllViewports(), Isis::BandTool::copyLinkedViewports(), Isis::MatchTool::createPoint(), Isis::BlinkTool::eventFilter(), Isis::FeatureNomenclatureTool::featuresIdentified(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::FeatureNomenclatureTool::findNomenclatureStateChanged(), Isis::FindTool::handleLinkClicked(), Isis::WindowTool::linkWindows(), Isis::RubberBandTool::mouseButtonRelease(), Isis::RubberBandTool::mouseMove(), Isis::QnetTool::openGround(), Isis::StereoTool::paintAllViewports(), Isis::MatchTool::paintAllViewports(), Isis::QnetTool::paintAllViewports(), Isis::FindTool::refresh(), Isis::ScatterPlotTool::repaintViewports(), Isis::AbstractPlotTool::repaintViewports(), Isis::WindowTool::resizeWindows(), Isis::BlinkTool::reverse(), Isis::ZoomTool::rubberBandComplete(), Isis::MatchTool::serialNumberList(), Isis::FeatureNomenclatureTool::setFontColor(), Isis::FeatureNomenclatureTool::setFontSize(), Isis::FeatureNomenclatureTool::setShowApprovedOnly(), Isis::StretchTool::setStretchAllViewports(), Isis::FeatureNomenclatureTool::setVectorType(), Isis::StretchTool::stretchGlobalAllViewports(), Isis::BlinkTool::toggleLink(), Isis::WindowTool::unlinkWindows(), Isis::MeasureTool::updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::FindTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().
|
privateslot |
Delete selected Points from control network.
2008-12-29 Jeannie Walldren - Added question box to verify that the user wants to delete the selected points.
2011-07-25 Tracie Sucharski - Fixed bug in refreshing list changed to delete starting at end of list so indices stay accurate.
2011-10-20 Tracie Sucharski - Fixed bug with filter list not being updated correctly after deleting points. The simple fix was to reset the list, then re-filter. For most filters this is probably adequate. However, for computationally intensive filters, we might need a smarter algorithm which would involve actually adjusting the indices of the filtered list.
Definition at line 857 of file QnetNavTool.cpp.
References Isis::ControlNet::GetNumPoints(), and Isis::ControlPoint::PointLocked.
Referenced by createNavigationDialog().
|
privateslot |
Emits a modifyPoint signal.
ptItem |
Definition at line 735 of file QnetNavTool.cpp.
Referenced by resetList().
|
privateslot |
Enable/disable buttons depending on whether Points or Cubes is chosen.
Definition at line 1115 of file QnetNavTool.cpp.
Referenced by createNavigationDialog().
|
protectedvirtualinherited |
Anytime a tool is created, you may use the rubber band tool.
Enable the use of the rubberband tool.
Reimplemented in Isis::RubberBandTool, Isis::ZoomTool, Isis::MeasureTool, Isis::StereoTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, and Isis::HistogramTool.
Definition at line 338 of file Tool.cpp.
References Isis::RubberBandTool::disable().
Referenced by Isis::Tool::addViewportConnections().
|
privateslot |
Figures out what type of widget the filter was selected for and calls the filter method for that filter class.
2007-06-05 Tracie Sucharski - Use enumerators for the filter indices. Comment out overlap/polygon code temporarily.
2008-11-19 Jeannie Walldren - Added WaitCursor (i.e. clock or hourglass) to indicate that there is background activity while this method is running
2008-11-26 Tracie Sucharski - Remove all polygon/overlap references, this functionality will be qmos.
2008-12-09 Tracie Sucharski - Added m_filtered indicating whether the listBox contains filtered or unfiltered list.
2009-01-08 Jeannie Walldren - Removed command to clear filtered points and images lists
2009-01-26 Jeannie Walldren - Added filter call for points cube name filter.
Definition at line 1008 of file QnetNavTool.cpp.
References Isis::QnetCubeNameFilter::filter(), Isis::QnetPointIdFilter::filter(), Isis::QnetPointImagesFilter::filter(), Isis::QnetPointRangeFilter::filter(), Isis::QnetPointDistanceFilter::filter(), Isis::QnetCubePointsFilter::filter(), Isis::QnetPointGoodnessFilter::filter(), Isis::QnetPointTypeFilter::filter(), Isis::QnetCubeDistanceFilter::filter(), Isis::QnetPointCubeNameFilter::filter(), Isis::QnetPointMeasureFilter::filter(), Isis::QnetPointJigsawErrorFilter::filter(), and Isis::QnetPointRegistrationErrorFilter::filter().
Referenced by createNavigationDialog(), and refreshList().
|
privateslot |
Updates the list box in the nav window with a new list from one of the filters.
2007-06-05 Tracie Sucharski - Use enumerators for the filter indices. Comment out overlap/polygon code temporarily.
2008-10-29 Tracie Sucharski - Added filter count
Definition at line 617 of file QnetNavTool.cpp.
References Isis::ControlNet::GetNumPoints(), and Isis::SerialNumberList::Size().
Referenced by createFilters().
|
privateslot |
Set Ignored=True for selected Points.
Definition at line 787 of file QnetNavTool.cpp.
References Isis::ControlPoint::PointLocked.
Referenced by createNavigationDialog().
|
privateslot |
Tells the filetool to load an image, slot for "View Cube(s)" button.
2007-06-05 Tracie Sucharski - Use enumerators for the filter indices. Comment out overlap/polygon code temporarily.
2008-11-19 Jeannie Walldren - Added Qt::WaitCursor (i.e. clock or hourglass) to indicate that there is background activity while this method is running
2008-11-26 Tracie Sucharski - Remove all polygon/overlap references, this functionality will be qmos.
2010-06-03 Jeannie Walldren - Modified "No file selected" warning to check whether selected list is empty rather than the index of current row.
Definition at line 670 of file QnetNavTool.cpp.
Referenced by createNavigationDialog(), load(), and resetList().
|
privateslot |
Slot for double-clicking cube list.
Needed this slot because the signal has a QListWidgetItem parameter. TODO: Clean this up by possibly combining the two different load slots???
Definition at line 726 of file QnetNavTool.cpp.
References load().
|
inlinevirtualinherited |
Anytime a tool is created, you must give it a name for the menu.
Reimplemented in Isis::FindTool, Isis::StretchTool, Isis::FeatureNomenclatureTool, Isis::AdvancedTrackTool, Isis::ZoomTool, Isis::FileTool, Isis::MeasureTool, Isis::BandTool, Isis::HelpTool, Isis::SpecialPixelTool, Isis::BlinkTool, Isis::WindowTool, and Isis::PanTool.
Definition at line 97 of file Tool.h.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
protectedvirtualslotinherited |
p | |
s |
Definition at line 366 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
protectedvirtualslotinherited |
Resets the Warning to Nowarning when a different activity occurs on the application.
This is called by all the mouseButtonRelease events in all the tools.
p | |
s |
Reimplemented in Isis::FeatureNomenclatureTool.
Definition at line 379 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), Isis::StretchTool::mouseButtonRelease(), and Isis::Tool::removeViewportConnections().
|
protectedvirtualslotinherited |
p |
Definition at line 357 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
protectedvirtualslotinherited |
p |
Definition at line 351 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
inlinevirtualinherited |
vp | |
painter |
Reimplemented in Isis::QnetTool, Isis::MatchTool, Isis::FindTool, Isis::FeatureNomenclatureTool, Isis::RubberBandTool, Isis::StereoTool, Isis::SunShadowTool, Isis::AbstractPlotTool, and Isis::ScatterPlotTool.
|
slot |
Slot to refresh the listBox.
Definition at line 588 of file QnetNavTool.cpp.
References filter(), and resetList().
Referenced by QnetNavTool().
|
protectedslotinherited |
Registers the tool to the viewport.
viewport |
Definition at line 326 of file Tool.cpp.
References Isis::Tool::m_cvp, and Isis::MdiCubeViewport::registerTool().
Referenced by Isis::Tool::addTo().
|
inlineprotectedvirtualinherited |
Anytime a tool is created, you must be able to remove it's connections.
cvp |
Reimplemented in Isis::MeasureTool, Isis::TrackTool, and Isis::WindowTool.
Definition at line 261 of file Tool.h.
Referenced by Isis::Tool::removeViewportConnections().
|
privateslot |
This slot is connected to the file tool in qnet.cpp.
It emits a signal that the serial list has been modified so the points cube name filter knows to change the list box displayed.
Definition at line 1142 of file QnetNavTool.cpp.
|
privateslot |
Resets the visible filter to the default values.
Definition at line 602 of file QnetNavTool.cpp.
Referenced by createNavigationDialog().
|
slot |
Resets the list box with whatever is in the global lists.
2007-06-05 Tracie Sucharski - Use enumerators to test which filter is chosen. Comment overlap/polygon code temporarily.
2008-10-29 Tracie Sucharski - Added filter count 2008-11-26 Tracie Sucharski - Remove all polygon/overlap references, this functionality will be qmos.
2008-12-09 Tracie Sucharski - Renamed method from updateList to resetList since it it reseting all of the filtered lists and the listBox to the entire network of points and serial numbers.
2008-12-09 Tracie Sucharski - Added m_filtered indicating whether the listBox contains filtered or unfiltered list.
2009-01-08 Jeannie Walldren - Reset filtered list with all points in control net and all images in serial number list.
2010-11-04 Tracie Sucharski - Added double-click connections.
Definition at line 486 of file QnetNavTool.cpp.
References editPoint(), Isis::ControlNet::GetNumPoints(), load(), Isis::SerialNumberList::Size(), and updateEditPoint().
Referenced by createNavigationDialog(), and refreshList().
|
inlineprotectedvirtualslotinherited |
This is called when actions change which pixels from the cube are displayed.
Definition at line 162 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections(), Isis::Tool::removeViewportConnections(), and Isis::FeatureNomenclatureTool::viewportDone().
|
privateslot |
Slot to pass points selected in Nav List Widget to Apriori Dialog.
Definition at line 971 of file QnetNavTool.cpp.
References Isis::QnetSetAprioriDialog::setPoints().
Referenced by aprioriDialog().
|
slotinherited |
Sets the current viewport to the given cvp.
cvp |
Definition at line 159 of file Tool.cpp.
References Isis::Tool::addViewportConnections(), Isis::Tool::enableToolBar(), Isis::Tool::m_active, Isis::Tool::m_cvp, Isis::Tool::removeViewportConnections(), and Isis::Tool::updateTool().
Referenced by Isis::Tool::addTo(), and Isis::FileTool::closeAll().
|
privateslot |
This method sets the Navigation Dialog window to shown=true.
Definition at line 1153 of file QnetNavTool.cpp.
|
privateslot |
Calls the qnet tool for the given control point.
Definition at line 754 of file QnetNavTool.cpp.
Referenced by createNavigationDialog().
|
inlineinherited |
returns the path to the icon directory.
Definition at line 127 of file Tool.h.
References Isis::Tool::m_toolIconDir.
Referenced by Isis::AdvancedTrackTool::AdvancedTrackTool(), Isis::BlinkTool::BlinkTool(), Isis::StereoTool::createMenus(), Isis::PanTool::createToolBarWidget(), Isis::BandTool::createToolBarWidget(), Isis::StereoTool::createToolBarWidget(), Isis::ZoomTool::createToolBarWidget(), Isis::EditTool::createToolBarWidget(), Isis::FindTool::createToolBarWidget(), Isis::StretchTool::createToolBarWidget(), Isis::FileTool::FileTool(), Isis::FindTool::FindTool(), Isis::HistogramTool::HistogramTool(), Isis::SpecialPixelTool::SpecialPixelTool(), Isis::RubberBandComboBox::toolIconDir(), Isis::PanTool::toolPadAction(), Isis::HistogramTool::toolPadAction(), Isis::ScatterPlotTool::toolPadAction(), Isis::BandTool::toolPadAction(), Isis::SunShadowTool::toolPadAction(), Isis::SpectralPlotTool::toolPadAction(), Isis::SpatialPlotTool::toolPadAction(), Isis::StereoTool::toolPadAction(), Isis::MeasureTool::toolPadAction(), Isis::ZoomTool::toolPadAction(), Isis::EditTool::toolPadAction(), Isis::FeatureNomenclatureTool::toolPadAction(), Isis::StatisticsTool::toolPadAction(), Isis::FindTool::toolPadAction(), Isis::StretchTool::toolPadAction(), Isis::MatchTool::toolPadAction(), Isis::QnetTool::toolPadAction(), Isis::WindowTool::WindowTool(), and Isis::ZoomTool::ZoomTool().
Anytime a tool is created, you must setup a tool pad action with it.
toolpad |
Reimplemented in Isis::QnetTool, Isis::MatchTool, Isis::StretchTool, Isis::FindTool, Isis::StatisticsTool, Isis::FeatureNomenclatureTool, Isis::EditTool, Isis::ZoomTool, Isis::MeasureTool, Isis::SpatialPlotTool, Isis::StereoTool, Isis::SpectralPlotTool, Isis::BandTool, Isis::SunShadowTool, Isis::ScatterPlotTool, Isis::HistogramTool, and Isis::PanTool.
Definition at line 231 of file Tool.h.
Referenced by Isis::Tool::addTo().
|
slot |
Update the list showing the new point highlighted.
pointId | Value of the PointId keyword for the new point. |
2008-12-30 Jeannie Walldren - Modified to setCurrentItem() rather than simply highlight the new point using setItemSelected() and scrollToItem().
2010-11-01 Tracie Sucharski - Changed pointId from std::string to QString.
Definition at line 564 of file QnetNavTool.cpp.
Referenced by resetList().
|
virtualslotinherited |
Updates the tool.
Reimplemented in Isis::StretchTool, Isis::FindTool, Isis::FeatureNomenclatureTool, Isis::EditTool, Isis::FileTool, Isis::ZoomTool, Isis::MeasureTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, Isis::AbstractPlotTool, Isis::BandTool, Isis::SunShadowTool, Isis::SpecialPixelTool, Isis::BlinkTool, Isis::HistogramTool, and Isis::WindowTool.
Definition at line 317 of file Tool.cpp.
Referenced by Isis::Tool::enableToolBar(), and Isis::Tool::setCubeViewport().