Isis 3.0 Programmer Reference
Back | Home
Isis::ControlPointEditWidget Class Reference

Gui for editing ControlPoint. More...

#include <ControlPointEditWidget.h>

Inheritance diagram for Isis::ControlPointEditWidget:
Inheritance graph
Collaboration diagram for Isis::ControlPointEditWidget:
Collaboration graph

Public Types

enum  MeasureColumns {
  FILENAME, CUBESN, SAMPLE, LINE,
  APRIORISAMPLE, APRIORILINE, SAMPLERESIDUAL, LINERESIDUAL,
  RESIDUALMAGNITUDE, SAMPLESHIFT, LINESHIFT, PIXELSHIFT,
  GOODNESSOFFIT, IGNORED, EDITLOCK, TYPE
}
 Measure column values for the measure table. More...
 

Public Slots

void setSerialNumberList (SerialNumberList *snList)
 Set the serial number list. More...
 
void setControl (Control *control)
 New control network being edited. More...
 
void setEditPoint (ControlPoint *controlPoint)
 Slot called by Directory to set the control point for editing. More...
 
void deletePoint (ControlPoint *controlPoint)
 
void createControlPoint (double latitude, double longitude, Cube *cube=0, bool isGroundSource=false)
 
void updatePointInfo (ControlPoint &updatedPoint)
 Update the current editPoint information in the Point Editor labels. More...
 

Signals

void controlPointChanged (QString pointId)
 
void controlPointAdded (QString pointId)
 
void ignorePointChanged ()
 
void ignoreLeftChanged ()
 
void ignoreRightChanged ()
 
void netChanged ()
 
void newControlNetwork (ControlNet *)
 
void stretchChipViewport (Stretch *, CubeViewport *)
 
void measureChanged ()
 
void saveControlNet ()
 

Public Member Functions

 ControlPointEditWidget (Directory *directory, QWidget *parent, bool addMeasures=false)
 Consructs the ControlPointEditWidget widget. More...
 
QString measureColumnToString (MeasureColumns column)
 Gets a string representation of a measure column. More...
 

Static Public Attributes

static const int NUMCOLUMNS = 16
 Number of entries (columns) in the measure table. More...
 

Protected Member Functions

bool eventFilter (QObject *o, QEvent *e)
 Event filter for ControlPointEditWidget. More...
 

Private Slots

void saveNet ()
 This slot is needed because we cannot directly emit a signal with a ControlNet argument after the "Save Net" push button is selected. More...
 
void setLockPoint (bool ignore)
 Set the point type. More...
 
void setIgnorePoint (bool ignore)
 Set point's "Ignore" keyword to the value of the input parameter. More...
 
void setLockLeftMeasure (bool ignore)
 Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter. More...
 
void setIgnoreLeftMeasure (bool ignore)
 Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter. More...
 
void setLockRightMeasure (bool ignore)
 Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter. More...
 
void setIgnoreRightMeasure (bool ignore)
 Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter. More...
 
void selectLeftMeasure (int index)
 Select left measure. More...
 
void selectRightMeasure (int index)
 Select right measure. More...
 
void nextRightMeasure ()
 Selects the next right measure when activated by key shortcut. More...
 
void previousRightMeasure ()
 Selects the previous right measure when activated by key shortcut. More...
 
void updateLeftMeasureInfo ()
 Update the left measure information. More...
 
void updateRightMeasureInfo ()
 Update the right measure information. More...
 
void measureSaved ()
 This method is connected with the measureSaved() signal from ControlMeasureEditWidget. More...
 
void checkReference ()
 Change which measure is the reference. More...
 
void savePoint ()
 Save edit point to the Control Network. More...
 
void colorizeSavePointButton ()
 Refresh all necessary widgets in ControlPointEditWidget including the PointEditor and CubeViewports. More...
 
void openTemplateFile ()
 Prompt user for a registration template file to open. More...
 
void viewTemplateFile ()
 Allows the user to view the template file that is currently set. More...
 
void saveChips ()
 Slot which calls ControlPointEditWidget slot to save chips. More...
 
void showHideTemplateEditor ()
 Toggles the visibility of the template editor widget. More...
 
void saveTemplateFile ()
 Save the file opened in the template editor. More...
 
void saveTemplateFileAs ()
 Save the contents of template editor to a file chosen by the user. More...
 
void setTemplateModified ()
 Called when the template file is modified by the template editor. More...
 
void writeTemplateFile (QString)
 Write the contents of the template editor to the file provided. More...
 
void clearEditPoint ()
 This method is called from the constructor so that when the Main window is created, it know's it's size and location. More...
 
void colorizeSaveNetButton ()
 Turn "Save Net" button text to red. More...
 

Private Member Functions

void createActions ()
 Creates the actions for the widget. More...
 
void loadPoint ()
 Load point into ControlPointEditWidget. More...
 
void loadMeasureTable ()
 Load measure information into the measure table. More...
 
void createPointEditor (QWidget *parent, bool addMeasures)
 Create the widget for editing control points. More...
 
QSplitter * createTopSplitter ()
 Creates everything above the ControlPointEdit. More...
 
QGroupBox * createControlPointGroupBox ()
 Creates the "Control Point" groupbox. More...
 
QGroupBox * createLeftMeasureGroupBox ()
 Creates the "Left Measure" groupbox. More...
 
QGroupBox * createRightMeasureGroupBox ()
 Create the "Right Measure" groupbox. More...
 
void createTemplateEditorWidget ()
 Creates the Widget which contains the template editor and its toolbar. More...
 
void loadTemplateFile (QString)
 Updates the current template file being used. More...
 
bool okToContinue ()
 Checks the state of the template registration file and determines if it is safe to continue opening a template file. More...
 
bool IsMeasureLocked (QString serialNumber)
 Check for implicitly locked measure in m_editPoint. More...
 
bool validateMeasureChange (ControlMeasure *m)
 Validates a change to a control measure. More...
 
ControlMeasurecreateTemporaryGroundMeasure ()
 Create a temporary measure to hold the ground point info for ground source. More...
 

Private Attributes

QPointer< QWidgetm_parent
 Parent widget. More...
 
Directorym_directory
 
bool m_addMeasuresButton
 Indicates whether or not to add "Add Measures(s) to Point". More...
 
QString m_cnetFileName
 Filename of the control network that is being modified. More...
 
QPointer< QLabel > m_cnetFileNameLabel
 Label with name of the control network file. More...
 
bool m_netChanged
 Indicates if the control network has been modified. More...
 
QPointer< QActionm_closePointEditor
 Action to close the point editor. More...
 
QPointer< QActionm_saveChips
 
                      Action to save the registration chips

Action to toggle visibility of the registration template editor More...

 
QPointer< QActionm_showHideTemplateEditor
 
QPointer< QActionm_openTemplateFile
 Action to open a registration template file to disk. More...
 
QPointer< QActionm_saveTemplateFile
 Action to save a registration template file to disk. More...
 
QPointer< QActionm_saveTemplateFileAs
 Action to save a new registration template. More...
 
QPointer
< ControlMeasureEditWidget
m_measureEditor
 Pointer to control measure editor widget. More...
 
QPointer< QPushButton > m_savePoint
 Button to save current point being edited. More...
 
QPalette m_saveDefaultPalette
 Default color pallet of the "Save Point" button. More...
 
QPointer< QPushButton > m_saveNet
 Button to save the current control network. More...
 
QPointer< QTextEdit > m_templateEditor
 Text editor for editing the registration template. More...
 
QPointer< QWidgetm_templateEditorWidget
 Template editor widget. More...
 
bool m_templateModified
 Indicates if the registration template was edited. More...
 
QPointer< QLabel > m_templateFileNameLabel
 Label for the template filename. More...
 
QPointer< QLabel > m_ptIdValue
 Label for the point id of the current point. More...
 
QPointer< QComboBoxm_pointType
 Combobox to change the type of the current point. More...
 
QPointer< QLabel > m_numMeasures
 
QPointer< QCheckBox > m_lockPoint
 Checkbox that locks/unlocks the current point. More...
 
QPointer< QCheckBox > m_ignorePoint
 Checkbox to ignore the current point. More...
 
QPointer< QLabel > m_leftReference
 Label indicating if left measure is the reference. More...
 
QPointer< QLabel > m_leftMeasureType
 Label for the left measure's adjustment type. More...
 
QPointer< QLabel > m_rightReference
 Label indicating if right measure is the reference. More...
 
QPointer< QLabel > m_rightMeasureType
 Label for the right measure's adjustment type. More...
 
QPointer< QCheckBox > m_lockLeftMeasure
 Checkbox to edit lock/unlock the left measure. More...
 
QPointer< QCheckBox > m_ignoreLeftMeasure
 Checkbox to ignore the left measure. More...
 
QPointer< QCheckBox > m_lockRightMeasure
 Checkbox to edit lock/unlock the right measure. More...
 
QPointer< QCheckBox > m_ignoreRightMeasure
 Checkbox to ignore the right measure. More...
 
QPointer< QComboBoxm_leftCombo
 Combobox to load left measure into left chip viewport. More...
 
QPointer< QComboBoxm_rightCombo
 Combobox to load right measure into right chip viewport. More...
 
QPointer< QStandardItemModelm_model
 
QPointer< QMainWindowm_measureWindow
 Main window for the the measure table widget. More...
 
QPointer< QTableWidget > m_measureTable
 Table widget for the measures. More...
 
QPointer< ControlPointm_editPoint
 The control point being edited. More...
 
SerialNumberListm_serialNumberList
 Serial number list for the loaded cubes. More...
 
QPointer< ControlNetm_controlNet
 Current control net. More...
 
QPointer< ControlPointm_newPoint
 New control point. More...
 
QString m_lastUsedPointId
 Point id of the last used control point. More...
 
QStringList m_pointFiles
 Associated files for current control point. More...
 
QString m_leftFile
 Filename of left measure. More...
 
QPointer< ControlMeasurem_leftMeasure
 Left control measure. More...
 
QPointer< ControlMeasurem_rightMeasure
 Right control measure. More...
 
QScopedPointer< Cubem_leftCube
 Left cube. More...
 
QScopedPointer< Cubem_rightCube
 Right cube. More...
 
QList< Cube * > m_pointCubes
 

Detailed Description

Gui for editing ControlPoint.

Author
2014-06-25 Tracie Sucharski
History:

2016-06-27 Ian Humphrey - Updated documentation and coding standards. Fixes #4004.

2016-09-30 Tracie Sucharski - Pass in directory to constructor, so that we can query for shapes and other data from the project.

Definition at line 61 of file ControlPointEditWidget.h.

Member Enumeration Documentation

Measure column values for the measure table.

Definition at line 69 of file ControlPointEditWidget.h.

Constructor & Destructor Documentation

Isis::ControlPointEditWidget::ControlPointEditWidget ( Directory directory,
QWidget parent,
bool  addMeasures = false 
)

Consructs the ControlPointEditWidget widget.

Parameters
parentPointer to the parent widget for the ControlPointEditWidget
addMeasuresWhether or not to add the Add Measure to Point button

Definition at line 68 of file ControlPointEditWidget.cpp.

References createPointEditor(), m_addMeasuresButton, m_measureEditor, m_netChanged, m_parent, m_serialNumberList, and m_templateModified.

Member Function Documentation

void Isis::ControlPointEditWidget::checkReference ( )
privateslot

Change which measure is the reference.

Author
2012-04-26 Tracie Sucharski - moved funcitonality from measureSaved
History:
2012-06-12 Tracie Sucharski - Moved check for ground loaded on left from the measureSaved method.

Definition at line 1366 of file ControlPointEditWidget.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), m_editPoint, m_leftCombo, m_leftMeasure, m_rightCombo, and m_serialNumberList.

void Isis::ControlPointEditWidget::clearEditPoint ( )
privateslot

This method is called from the constructor so that when the Main window is created, it know's it's size and location.

Cleans up the edit point memory

Definition at line 2605 of file ControlPointEditWidget.cpp.

References m_editPoint.

Referenced by createPointEditor().

void Isis::ControlPointEditWidget::colorizeSaveNetButton ( )
privateslot

Turn "Save Net" button text to red.

Need whoever is actually saving network to emit signal when net has been saved, so that button can be set back to black.

Author
2014-07-11 Tracie Sucharski

Definition at line 2510 of file ControlPointEditWidget.cpp.

References m_saveNet, and m_savePoint.

Referenced by createPointEditor().

void Isis::ControlPointEditWidget::colorizeSavePointButton ( )
privateslot

Refresh all necessary widgets in ControlPointEditWidget including the PointEditor and CubeViewports.

Author
2008-12-09 Tracie Sucharski
History:

2010-12-15 Tracie Sucharski - Before setting m_editPoint to NULL, release memory. TODO: Why is the first if statement being done???

2011-10-20 Tracie Sucharski - If no control points exist in the network, emit proper signal and make sure editor and measure table are hidden.

Turn "Save Point" button text to red

Author
2011-06-14 Tracie Sucharski

Definition at line 2493 of file ControlPointEditWidget.cpp.

References m_savePoint.

Referenced by measureSaved(), setIgnorePoint(), and setLockPoint().

void Isis::ControlPointEditWidget::createActions ( )
private
QGroupBox * Isis::ControlPointEditWidget::createControlPointGroupBox ( )
private

Creates the "Control Point" groupbox.

Returns
QGroupBox * The groupbox labeled "Control Point"

Definition at line 268 of file ControlPointEditWidget.cpp.

References m_ignorePoint, m_lockPoint, m_pointType, m_ptIdValue, Isis::ControlPoint::PointTypeToString(), setIgnorePoint(), and setLockPoint().

Referenced by createTopSplitter().

QGroupBox * Isis::ControlPointEditWidget::createLeftMeasureGroupBox ( )
private

Creates the "Left Measure" groupbox.

Returns
QGroupBox * The groupbox labeled "Left Measure"

Definition at line 326 of file ControlPointEditWidget.cpp.

References m_ignoreLeftMeasure, m_leftCombo, m_leftMeasureType, m_leftReference, m_lockLeftMeasure, selectLeftMeasure(), setIgnoreLeftMeasure(), and setLockLeftMeasure().

Referenced by createTopSplitter().

void Isis::ControlPointEditWidget::createPointEditor ( QWidget parent,
bool  addMeasures 
)
private

Create the widget for editing control points.

Parameters
parentPointer to parent QWidget
addMeasuresWhether or not to add the Add Measure to Point button
History:

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to right and left measure info.

2008-11-26 Jeannie Walldren - Added "Number of Measures" to QnetTool point information. Moved setWindowTitle() command to updateNet() method. Added connection between Ignore checkbox toggle() slot and ignoreChanged() signal

2008-12-29 Jeannie Walldren - Disabled ground point check box and commented out connection between check box and setGroundPoint() method.

2008-12-30 Jeannie Walldren - Added connections to toggle measures' Ignore check boxes if ignoreLeftChanged() and ignoreRightChanged() are emitted. Replaced reference to ignoreChanged() with ignorePointChanged().

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

Definition at line 121 of file ControlPointEditWidget.cpp.

References clearEditPoint(), colorizeSaveNetButton(), createActions(), createTopSplitter(), m_addMeasuresButton, m_cnetFileName, m_cnetFileNameLabel, m_measureEditor, m_saveDefaultPalette, m_saveNet, m_savePoint, m_templateFileNameLabel, measureSaved(), saveNet(), and savePoint().

Referenced by ControlPointEditWidget().

QGroupBox * Isis::ControlPointEditWidget::createRightMeasureGroupBox ( )
private

Create the "Right Measure" groupbox.

Returns
QGroupBox * The groupbox labeled "Right Measure"

Definition at line 364 of file ControlPointEditWidget.cpp.

References m_ignoreRightMeasure, m_lockRightMeasure, m_rightCombo, m_rightMeasureType, m_rightReference, nextRightMeasure(), previousRightMeasure(), selectRightMeasure(), setIgnoreRightMeasure(), and setLockRightMeasure().

Referenced by createTopSplitter().

void Isis::ControlPointEditWidget::createTemplateEditorWidget ( )
private

Creates the Widget which contains the template editor and its toolbar.

Definition at line 419 of file ControlPointEditWidget.cpp.

References m_openTemplateFile, m_saveTemplateFile, m_saveTemplateFileAs, m_templateEditor, m_templateEditorWidget, and setTemplateModified().

Referenced by createTopSplitter().

ControlMeasure * Isis::ControlPointEditWidget::createTemporaryGroundMeasure ( )
private

Create a temporary measure to hold the ground point info for ground source.

Returns
ControlMeasure* the created ground measure
History:

2015-05-19 Ian Humphrey and Makayla Shepherd - Original version adapted from loadPoint() to encapsulate duplicated code in loadGroundMeasure().

2016-11-04 Tracie Sucharski - Combined findPointLocation and createTemporaryGroundMeasure so that ground information doesn't need to be re-created

Definition at line 553 of file ControlPointEditWidget.cpp.

References Isis::SerialNumberList::add(), Isis::ControlMeasure::Candidate, Isis::SerialNumber::Compose(), Isis::Angle::degrees(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLongitude(), Isis::SerialNumberList::hasSerialNumber(), m_controlNet, m_editPoint, m_serialNumberList, Isis::SerialNumberList::serialNumberIndex(), Isis::ControlMeasure::SetChooserName(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::Camera::SetImage(), Isis::ControlMeasure::SetType(), Isis::Sensor::UniversalLatitude(), and Isis::Sensor::UniversalLongitude().

Referenced by loadPoint().

QSplitter * Isis::ControlPointEditWidget::createTopSplitter ( )
private

Creates everything above the ControlPointEdit.

Returns
QSplitter * The splitter containing the widgets above

Definition at line 235 of file ControlPointEditWidget.cpp.

References createControlPointGroupBox(), createLeftMeasureGroupBox(), createRightMeasureGroupBox(), createTemplateEditorWidget(), and m_templateEditorWidget.

Referenced by createPointEditor().

bool Isis::ControlPointEditWidget::eventFilter ( QObject o,
QEvent *  e 
)
protected

Event filter for ControlPointEditWidget.

Determines whether to update left or right measure info.

Parameters
oPointer to QObject
ePointer to QEvent
Returns
bool Indicates whether the event type is "Leave".

Definition at line 2183 of file ControlPointEditWidget.cpp.

References m_leftCombo, m_rightCombo, updateLeftMeasureInfo(), and updateRightMeasureInfo().

bool Isis::ControlPointEditWidget::IsMeasureLocked ( QString  serialNumber)
private

Check for implicitly locked measure in m_editPoint.

If point is Locked, and this measure is the reference, it is implicity Locked. Because measure is a copy, the ControlPoint::IsEditLocked() which checks for implicit Lock on Reference measures does not work because there is not a parent point.

Parameters
[in]serialNumber(QString) Serial number of measure to be checked
Author
2011-07-06 Tracie Sucharski

Definition at line 2531 of file ControlPointEditWidget.cpp.

References m_editPoint.

Referenced by loadMeasureTable(), updateLeftMeasureInfo(), and updateRightMeasureInfo().

void Isis::ControlPointEditWidget::loadPoint ( )
private

Load point into ControlPointEditWidget.

History:

2008-11-26 Jeannie Walldren - Added "Number of Measures" to ControlPointEditWidget point information.

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-10-29 Tracie Sucharski - Changed pointfiles to QStringList

2011-04-20 Tracie Sucharski - Was not setting EditLock check box

2011-07-18 Tracie Sucharski - Fixed bug with loading ground measure-use AprioriSurface point, not lat,lon of reference measure unless there is no apriori surface point.

2012-05-08 Tracie Sucharski - m_leftFile changed from QString to QString.

2012-10-02 Tracie Sucharski - When creating a new point, load the cube the user clicked on first on the left side, use m_leftFile.

Definition at line 668 of file ControlPointEditWidget.cpp.

References createTemporaryGroundMeasure(), Isis::SerialNumberList::fileName(), Isis::ControlPoint::Free, Isis::ControlMeasure::GetChooserName(), Isis::ControlMeasure::GetCubeSerialNumber(), m_editPoint, m_ignorePoint, m_leftCombo, m_leftFile, m_lockPoint, m_measureEditor, m_pointFiles, m_pointType, m_ptIdValue, m_rightCombo, m_serialNumberList, selectLeftMeasure(), and selectRightMeasure().

Referenced by setEditPoint(), and validateMeasureChange().

void Isis::ControlPointEditWidget::loadTemplateFile ( QString  fn)
private

Updates the current template file being used.

Parameters
fnThe file path of the new template file

Definition at line 2251 of file ControlPointEditWidget.cpp.

References m_saveTemplateFile, m_templateEditor, m_templateFileNameLabel, and m_templateModified.

Referenced by openTemplateFile(), and setEditPoint().

QString Isis::ControlPointEditWidget::measureColumnToString ( ControlPointEditWidget::MeasureColumns  column)

Gets a string representation of a measure column.

Parameters
columnMeasureColumn to get the string representation of
Exceptions
IException::Programmer"Invalid measure column passed to measureColumnToString"
Returns
QString String representation of the passed measure column

Definition at line 1897 of file ControlPointEditWidget.cpp.

References _FILEINFO_, and Isis::IException::Programmer.

Referenced by loadMeasureTable().

void Isis::ControlPointEditWidget::measureSaved ( )
privateslot

This method is connected with the measureSaved() signal from ControlMeasureEditWidget.

History:

2008-11-26 Jeannie Walldren - Added message box to warn the user that they are saving an "Ignore" point and ask whether they would like to set Ignore=false. This emits an ignoreChanged() signal so the "Ignore" box in the window is unchecked.

2008-12-30 Jeannie Walldren - Modified to set measures in viewports to Ignore=False if when saving, the user chooses to set a point's Ignore=False. Replaced reference to ignoreChanged() with ignorePointChanged().

2008-12-31 Jeannie Walldren - Added question box to ask user whether the current reference measure should be replaced with the measure in the left viewport.

2010-01-27 Jeannie Walldren - Added question box to warn the user that they are saving an "Ignore" measure and ask whether they would like to set Ignore=False. This emits an ignoreRightChanged() signal so the "Ignore" box in the window is unchecked. Modified Ignore Point message for clarity.

2010-11-19 Tracie Sucharski - Renamed from pointSaved.

2011-03-03 Tracie Sucharski - Do not save left measure unless the ignore flag was changed, that is the only change allowed on the left measure.

2011-04-20 Tracie Sucharski - If left measure equals right measure, copy right into left. Also if EditLock true and user does not want to change, then do not save measure. Remove signals EditPointChanged and netChanged, since these should only happen when the point is saved.

2011-07-01 Tracie Sucharski - Fixed bug where the edit measure EditLocked=True, but the original measure was False, and we woouldn't allow the measure to be saved.

2011-07-25 Tracie Sucharski - Removed editPointChanged signal since the editPoint is not changed. This helped with match windows blinking due to refresh.

2011-09-22 Tracie Sucharski - When checking ignore status on right measure, check both original and edit measure.

2012-04-09 Tracie Sucharski - When checking if left measure editLock has changed, use measure->IsEditLocked() instead of this classes IsMeasureLocked() because it checks the m_editPoint measure instead of the measure loaded into the point editor.

2012-04-26 Tracie Sucharski - cleaned up, moved reference checking and updating ground surface point to new methods.

2012-05-07 Tracie Sucharski - Removed code to re-load left measure if left and right are the same, this is already handled in ControlPointEdit::saveMeasure.

2012-06-12 Tracie Sucharski - Change made on 2012-04-26 caused a bug where if no ground is loaded the checkReference was not being called and reference measure could not be changed and there was no warning printed.

Definition at line 1138 of file ControlPointEditWidget.cpp.

References colorizeSavePointButton(), loadMeasureTable(), m_editPoint, m_leftCube, m_leftMeasure, m_measureEditor, m_rightMeasure, updateLeftMeasureInfo(), updateRightMeasureInfo(), Isis::Application::UserName(), and validateMeasureChange().

Referenced by createPointEditor().

void Isis::ControlPointEditWidget::nextRightMeasure ( )
privateslot

Selects the next right measure when activated by key shortcut.

This slot is intended to handle selecting the next right measure when the attached shortcut (PageDown) is activated. This slot checks if the next index is in bounds.

History:
2015-10-29 Ian Humphrey - Created slot. References #2324.

Definition at line 1948 of file ControlPointEditWidget.cpp.

References m_rightCombo, and selectRightMeasure().

Referenced by createRightMeasureGroupBox().

bool Isis::ControlPointEditWidget::okToContinue ( )
private

Checks the state of the template registration file and determines if it is safe to continue opening a template file.

Returns
bool True if the template file was saved (user clicked "Yes")

Definition at line 2204 of file ControlPointEditWidget.cpp.

References m_templateModified, and saveTemplateFileAs().

Referenced by openTemplateFile().

void Isis::ControlPointEditWidget::openTemplateFile ( )
privateslot

Prompt user for a registration template file to open.

Once the file is selected, loadTemplateFile() is called to update the current template file being used.

Definition at line 2228 of file ControlPointEditWidget.cpp.

References loadTemplateFile(), m_measureEditor, and okToContinue().

Referenced by createActions().

void Isis::ControlPointEditWidget::previousRightMeasure ( )
privateslot

Selects the previous right measure when activated by key shortcut.

This slot is intended to handle selecting the previous right measure when the attached shortcut (PageUp) is activated. This slot checks if the previous index is in bounds.

History:
2015-10-29 Ian Humphrey - Created slot. References #2324.

Definition at line 1968 of file ControlPointEditWidget.cpp.

References m_rightCombo, and selectRightMeasure().

Referenced by createRightMeasureGroupBox().

void Isis::ControlPointEditWidget::saveChips ( )
privateslot

Slot which calls ControlPointEditWidget slot to save chips.

Author
2009-03-17 Tracie Sucharski

Definition at line 2398 of file ControlPointEditWidget.cpp.

References m_measureEditor.

Referenced by createActions().

void Isis::ControlPointEditWidget::saveNet ( )
privateslot

This slot is needed because we cannot directly emit a signal with a ControlNet argument after the "Save Net" push button is selected.

History:
2014-07-11 Tracie Sucharski - Original version.

Definition at line 2555 of file ControlPointEditWidget.cpp.

References m_cnetFileName, m_controlNet, m_saveDefaultPalette, and m_saveNet.

Referenced by createPointEditor().

void Isis::ControlPointEditWidget::savePoint ( )
privateslot

Save edit point to the Control Network.

Up to this point the point is simply a copy and does not exist in the network.

Author
2010-11-19 Tracie Sucharski
History:

2011-04-20 Tracie Sucharski - If EditLock set, prompt for changing and do not save point if editLock not changed.

2011-07-05 Tracie Sucharski - Move point EditLock error checking to individual point parameter setting methods, ie. SetPointType, SetIgnorePoint.

Definition at line 1424 of file ControlPointEditWidget.cpp.

References Isis::ControlPoint::Delete(), Isis::ControlPoint::Free, Isis::ControlMeasure::GetChooserName(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetType(), m_controlNet, m_editPoint, m_measureEditor, m_netChanged, m_saveDefaultPalette, and m_savePoint.

Referenced by createPointEditor().

void Isis::ControlPointEditWidget::saveTemplateFile ( )
privateslot

Save the file opened in the template editor.

Definition at line 2286 of file ControlPointEditWidget.cpp.

References m_measureEditor, m_templateModified, and writeTemplateFile().

Referenced by createActions().

void Isis::ControlPointEditWidget::saveTemplateFileAs ( )
privateslot

Save the contents of template editor to a file chosen by the user.

Definition at line 2301 of file ControlPointEditWidget.cpp.

References writeTemplateFile().

Referenced by createActions(), and okToContinue().

void Isis::ControlPointEditWidget::selectLeftMeasure ( int  index)
privateslot

Select left measure.

Parameters
indexIndex of file from the point files vector
History:

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2011-07-06 Tracie Sucharski - If point is Locked, and measure is reference, lock the measure.

2012-10-02 Tracie Sucharski - If measure's cube is not viewed, print error and make sure old measure is retained.

Definition at line 1992 of file ControlPointEditWidget.cpp.

References Isis::SerialNumberList::fileName(), m_editPoint, m_leftCombo, m_leftCube, m_leftMeasure, m_measureEditor, m_pointFiles, m_serialNumberList, Isis::SerialNumberList::serialNumber(), Isis::IException::toString(), and updateLeftMeasureInfo().

Referenced by createLeftMeasureGroupBox(), and loadPoint().

void Isis::ControlPointEditWidget::selectRightMeasure ( int  index)
privateslot

Select right measure.

Parameters
indexIndex of file from the point files vector
History:

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2012-10-02 Tracie Sucharski - If measure's cube is not viewed, print error and make sure old measure is retained.

Definition at line 2041 of file ControlPointEditWidget.cpp.

References Isis::SerialNumberList::fileName(), m_editPoint, m_measureEditor, m_pointFiles, m_rightCombo, m_rightCube, m_rightMeasure, m_serialNumberList, Isis::SerialNumberList::serialNumber(), Isis::IException::toString(), and updateRightMeasureInfo().

Referenced by createRightMeasureGroupBox(), loadPoint(), nextRightMeasure(), and previousRightMeasure().

void Isis::ControlPointEditWidget::setControl ( Control control)
slot

New control network being edited.

Parameters
cnet(ControlNet *) The control network to edit
filename(Qstring) Need filename to write to widget label. ControlNet doesn't contain a filename.

Definition at line 530 of file ControlPointEditWidget.cpp.

References Isis::Control::controlNet(), Isis::Control::fileName(), m_cnetFileName, and m_controlNet.

void Isis::ControlPointEditWidget::setEditPoint ( ControlPoint controlPoint)
slot

Slot called by Directory to set the control point for editing.

Parameters
controlPointPointer to the ControlPoint to edit

Definition at line 627 of file ControlPointEditWidget.cpp.

References loadPoint(), loadTemplateFile(), m_editPoint, m_measureEditor, m_saveDefaultPalette, and m_savePoint.

void Isis::ControlPointEditWidget::setIgnoreLeftMeasure ( bool  ignore)
privateslot

Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for the left measure.
History:

2010-01-27 Jeannie Walldren - Fixed bug that resulted in segfault. Moved the check whether m_rightMeasure is null before the check whether m_rightMeasure equals m_leftMeasure.

2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

Definition at line 1635 of file ControlPointEditWidget.cpp.

References m_ignoreRightMeasure, m_leftMeasure, and m_rightMeasure.

Referenced by createLeftMeasureGroupBox().

void Isis::ControlPointEditWidget::setIgnorePoint ( bool  ignore)
privateslot

Set point's "Ignore" keyword to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for this point.
History:
2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

Definition at line 1565 of file ControlPointEditWidget.cpp.

References colorizeSavePointButton(), m_editPoint, m_ignorePoint, and Isis::ControlPoint::PointLocked.

Referenced by createControlPointGroupBox().

void Isis::ControlPointEditWidget::setIgnoreRightMeasure ( bool  ignore)
privateslot

Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for the right measure.
History:

2010-01-27 Jeannie Walldren - Fixed bug that resulted in segfault. Moved the check whether m_leftMeasure is null before the check whether m_rightMeasure equals m_leftMeasure.

2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

Definition at line 1705 of file ControlPointEditWidget.cpp.

References m_ignoreLeftMeasure, m_leftMeasure, and m_rightMeasure.

Referenced by createRightMeasureGroupBox().

void Isis::ControlPointEditWidget::setLockLeftMeasure ( bool  lock)
privateslot

Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter.

Parameters
lockBoolean value that determines the EditLock value for the left measure.
Author
2011-03-07 Tracie Sucharski
History:

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

2012-04-16 Tracie Sucharski - When attempting to un-lock a measure print error if point is locked.

Definition at line 1595 of file ControlPointEditWidget.cpp.

References m_editPoint, m_leftMeasure, m_lockLeftMeasure, m_lockRightMeasure, and m_rightMeasure.

Referenced by createLeftMeasureGroupBox().

void Isis::ControlPointEditWidget::setLockPoint ( bool  lock)
privateslot

Set the point type.

Parameters
pointTypeint Index from point type combo box
Author
2011-07-05 Tracie Sucharski
History:
2013-12-06 Tracie Sucharski - If changing point type to constrained or fixed make sure reference measure is not ignored.

Set point's "EditLock" keyword to the value of the input parameter.

Parameters
lockBoolean value that determines the EditLock value for this point.
Author
2011-03-07 Tracie Sucharski

Definition at line 1546 of file ControlPointEditWidget.cpp.

References colorizeSavePointButton(), and m_editPoint.

Referenced by createControlPointGroupBox().

void Isis::ControlPointEditWidget::setLockRightMeasure ( bool  lock)
privateslot

Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter.

Parameters
lockBoolean value that determines the EditLock value for the right measure.
Author
2011-03-07 Tracie Sucharski
History:

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

2012-04-16 Tracie Sucharski - When attempting to un-lock a measure print error if point is locked.

Definition at line 1665 of file ControlPointEditWidget.cpp.

References m_editPoint, m_leftMeasure, m_lockLeftMeasure, m_lockRightMeasure, and m_rightMeasure.

Referenced by createRightMeasureGroupBox().

void Isis::ControlPointEditWidget::setSerialNumberList ( SerialNumberList snList)
slot

Set the serial number list.

Parameters
snListPointer to the SerialNumberList

Definition at line 508 of file ControlPointEditWidget.cpp.

References m_serialNumberList.

void Isis::ControlPointEditWidget::setTemplateModified ( )
privateslot

Called when the template file is modified by the template editor.

Definition at line 2276 of file ControlPointEditWidget.cpp.

References m_saveTemplateFile, and m_templateModified.

Referenced by createTemplateEditorWidget().

void Isis::ControlPointEditWidget::showHideTemplateEditor ( )
privateslot

Toggles the visibility of the template editor widget.

Definition at line 2407 of file ControlPointEditWidget.cpp.

References m_templateEditorWidget.

Referenced by createActions().

void Isis::ControlPointEditWidget::updateLeftMeasureInfo ( )
privateslot

Update the left measure information.

History:

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to left measure info.

2010-07-22 Tracie Sucharski - Updated new measure types associated with implementation of binary control networks.

2010-12-27 Tracie Sucharski - Write textual Null instead of the numeric Null for sample & line residuals.

2011-04-20 Tracie Sucharski - Set EditLock check box correctly

2011-05-20 Tracie Sucharski - Added Reference output

2011-07-19 Tracie Sucharski - Did some re-arranging and added sample/line shifts.

Definition at line 2098 of file ControlPointEditWidget.cpp.

References Isis::ControlMeasure::Candidate, IsMeasureLocked(), m_editPoint, m_ignoreLeftMeasure, m_leftMeasure, m_leftMeasureType, m_leftReference, m_lockLeftMeasure, Isis::ControlMeasure::Manual, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.

Referenced by eventFilter(), measureSaved(), and selectLeftMeasure().

void Isis::ControlPointEditWidget::updatePointInfo ( ControlPoint updatedPoint)
slot

Update the current editPoint information in the Point Editor labels.

Parameters
updatedPointReference to the ControlPoint to edit information on
Author
2011-05-05 Tracie Sucharski

Instead of a single method, should slots be separate for each updated point parameter, ie. ignore, editLock, apriori, etc. This is not robust, if other point attributes are changed outside of ControlPointEditWidget, this method will need to be updated. *** THIS METHOD SHOULD GO AWAY WHEN CONTROLpOINTEDITOR IS INCLUDED IN MATCH *** TODO: THIS IS ONLY CONNECTED IN qnet.cpp FROM THE NAV TOOL. REFACTOR WILL NEED TO CONNECT CORRECT SIGNALS FROM OTHER WIDGETS TO THIS SLOT.

Definition at line 2432 of file ControlPointEditWidget.cpp.

References Isis::ControlPoint::GetId(), m_editPoint, m_ignorePoint, and m_lockPoint.

void Isis::ControlPointEditWidget::updateRightMeasureInfo ( )
privateslot

Update the right measure information.

History:

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to right measure info.

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-07-22 Tracie Sucharski - Updated new measure types associated with implementation of binary control networks.

2010-12-27 Tracie Sucharski - Write textual Null instead of the numeric Null for sample & line residuals.

2011-04-20 Tracie Sucharski - Set EditLock check box correctly

2011-05-20 Tracie Sucharski - Added Reference output

2011-07-19 Tracie Sucharski - Did some re-arranging and added sample/line shifts.

Definition at line 2144 of file ControlPointEditWidget.cpp.

References Isis::ControlMeasure::Candidate, IsMeasureLocked(), m_editPoint, m_ignoreRightMeasure, m_lockRightMeasure, m_rightMeasure, m_rightMeasureType, m_rightReference, Isis::ControlMeasure::Manual, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.

Referenced by eventFilter(), measureSaved(), and selectRightMeasure().

bool Isis::ControlPointEditWidget::validateMeasureChange ( ControlMeasure m)
private

Validates a change to a control measure.

Parameters
mPointer to the ControlMeasure
Returns
bool True if the change to the measure is valid

Definition at line 1222 of file ControlPointEditWidget.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasure::IsEditLocked(), loadPoint(), m_editPoint, m_leftCombo, m_leftMeasure, m_lockLeftMeasure, m_lockRightMeasure, m_rightCombo, and m_serialNumberList.

Referenced by measureSaved().

void Isis::ControlPointEditWidget::viewTemplateFile ( )
privateslot

Allows the user to view the template file that is currently set.

Author
2008-12-10 Jeannie Walldren
History:

2008-12-10 Jeannie Walldren - Original Version

2008-12-10 Jeannie Walldren - Added "" namespace to PvlEditDialog reference and changed registrationDialog from pointer to object

2008-12-15 Jeannie Walldren - Added QMessageBox warning in case Template File cannot be read.

Definition at line 2372 of file ControlPointEditWidget.cpp.

References m_measureEditor, and Isis::IException::toString().

void Isis::ControlPointEditWidget::writeTemplateFile ( QString  fn)
privateslot

Write the contents of the template editor to the file provided.

Parameters
fnThe filename to write to

Definition at line 2319 of file ControlPointEditWidget.cpp.

References m_measureEditor, m_saveTemplateFile, m_templateEditor, m_templateFileNameLabel, m_templateModified, and Isis::IException::toString().

Referenced by saveTemplateFile(), and saveTemplateFileAs().

Member Data Documentation

bool Isis::ControlPointEditWidget::m_addMeasuresButton
private

Indicates whether or not to add "Add Measures(s) to Point".

Definition at line 180 of file ControlPointEditWidget.h.

Referenced by ControlPointEditWidget(), and createPointEditor().

QPointer<QAction> Isis::ControlPointEditWidget::m_closePointEditor
private

Action to close the point editor.

Definition at line 186 of file ControlPointEditWidget.h.

Referenced by createActions().

QString Isis::ControlPointEditWidget::m_cnetFileName
private

Filename of the control network that is being modified.

Definition at line 182 of file ControlPointEditWidget.h.

Referenced by createPointEditor(), saveNet(), and setControl().

QPointer<QLabel> Isis::ControlPointEditWidget::m_cnetFileNameLabel
private

Label with name of the control network file.

Definition at line 183 of file ControlPointEditWidget.h.

Referenced by createPointEditor().

QPointer<ControlNet> Isis::ControlPointEditWidget::m_controlNet
private

Current control net.

Definition at line 233 of file ControlPointEditWidget.h.

Referenced by createTemporaryGroundMeasure(), saveNet(), savePoint(), and setControl().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_ignoreLeftMeasure
private

Checkbox to ignore the left measure.

Definition at line 220 of file ControlPointEditWidget.h.

Referenced by createLeftMeasureGroupBox(), setIgnoreRightMeasure(), and updateLeftMeasureInfo().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_ignorePoint
private

Checkbox to ignore the current point.

Definition at line 214 of file ControlPointEditWidget.h.

Referenced by createControlPointGroupBox(), loadPoint(), setIgnorePoint(), and updatePointInfo().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_ignoreRightMeasure
private

Checkbox to ignore the right measure.

Definition at line 222 of file ControlPointEditWidget.h.

Referenced by createRightMeasureGroupBox(), setIgnoreLeftMeasure(), and updateRightMeasureInfo().

QString Isis::ControlPointEditWidget::m_lastUsedPointId
private

Point id of the last used control point.

Definition at line 236 of file ControlPointEditWidget.h.

QPointer<QComboBox> Isis::ControlPointEditWidget::m_leftCombo
private

Combobox to load left measure into left chip viewport.

Definition at line 224 of file ControlPointEditWidget.h.

Referenced by checkReference(), createLeftMeasureGroupBox(), eventFilter(), loadPoint(), selectLeftMeasure(), and validateMeasureChange().

QScopedPointer<Cube> Isis::ControlPointEditWidget::m_leftCube
private

Left cube.

Definition at line 243 of file ControlPointEditWidget.h.

Referenced by measureSaved(), and selectLeftMeasure().

QString Isis::ControlPointEditWidget::m_leftFile
private

Filename of left measure.

Definition at line 240 of file ControlPointEditWidget.h.

Referenced by loadPoint().

QPointer<ControlMeasure> Isis::ControlPointEditWidget::m_leftMeasure
private
QPointer<QLabel> Isis::ControlPointEditWidget::m_leftMeasureType
private

Label for the left measure's adjustment type.

Definition at line 216 of file ControlPointEditWidget.h.

Referenced by createLeftMeasureGroupBox(), and updateLeftMeasureInfo().

QPointer<QLabel> Isis::ControlPointEditWidget::m_leftReference
private

Label indicating if left measure is the reference.

Definition at line 215 of file ControlPointEditWidget.h.

Referenced by createLeftMeasureGroupBox(), and updateLeftMeasureInfo().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_lockLeftMeasure
private

Checkbox to edit lock/unlock the left measure.

Definition at line 219 of file ControlPointEditWidget.h.

Referenced by createLeftMeasureGroupBox(), setLockLeftMeasure(), setLockRightMeasure(), updateLeftMeasureInfo(), and validateMeasureChange().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_lockPoint
private

Checkbox that locks/unlocks the current point.

Definition at line 213 of file ControlPointEditWidget.h.

Referenced by createControlPointGroupBox(), loadPoint(), and updatePointInfo().

QPointer<QCheckBox> Isis::ControlPointEditWidget::m_lockRightMeasure
private

Checkbox to edit lock/unlock the right measure.

Definition at line 221 of file ControlPointEditWidget.h.

Referenced by createRightMeasureGroupBox(), setLockLeftMeasure(), setLockRightMeasure(), updateRightMeasureInfo(), and validateMeasureChange().

QPointer<ControlMeasureEditWidget> Isis::ControlPointEditWidget::m_measureEditor
private
QPointer<QTableWidget> Isis::ControlPointEditWidget::m_measureTable
private

Table widget for the measures.

Definition at line 229 of file ControlPointEditWidget.h.

Referenced by loadMeasureTable().

QPointer<QMainWindow> Isis::ControlPointEditWidget::m_measureWindow
private

Main window for the the measure table widget.

Definition at line 228 of file ControlPointEditWidget.h.

Referenced by loadMeasureTable().

bool Isis::ControlPointEditWidget::m_netChanged
private

Indicates if the control network has been modified.

Definition at line 184 of file ControlPointEditWidget.h.

Referenced by ControlPointEditWidget(), and savePoint().

QPointer<ControlPoint> Isis::ControlPointEditWidget::m_newPoint
private

New control point.

Definition at line 235 of file ControlPointEditWidget.h.

QPointer<QAction> Isis::ControlPointEditWidget::m_openTemplateFile
private

Action to open a registration template file to disk.

Definition at line 191 of file ControlPointEditWidget.h.

Referenced by createActions(), and createTemplateEditorWidget().

QPointer<QWidget> Isis::ControlPointEditWidget::m_parent
private

Parent widget.

Definition at line 178 of file ControlPointEditWidget.h.

Referenced by ControlPointEditWidget(), and loadMeasureTable().

QStringList Isis::ControlPointEditWidget::m_pointFiles
private

Associated files for current control point.

Definition at line 238 of file ControlPointEditWidget.h.

Referenced by loadPoint(), selectLeftMeasure(), and selectRightMeasure().

QPointer<QComboBox> Isis::ControlPointEditWidget::m_pointType
private

Combobox to change the type of the current point.

Definition at line 210 of file ControlPointEditWidget.h.

Referenced by createControlPointGroupBox(), and loadPoint().

QPointer<QLabel> Isis::ControlPointEditWidget::m_ptIdValue
private

Label for the point id of the current point.

Definition at line 209 of file ControlPointEditWidget.h.

Referenced by createControlPointGroupBox(), and loadPoint().

QPointer<QComboBox> Isis::ControlPointEditWidget::m_rightCombo
private

Combobox to load right measure into right chip viewport.

Definition at line 225 of file ControlPointEditWidget.h.

Referenced by checkReference(), createRightMeasureGroupBox(), eventFilter(), loadPoint(), nextRightMeasure(), previousRightMeasure(), selectRightMeasure(), and validateMeasureChange().

QScopedPointer<Cube> Isis::ControlPointEditWidget::m_rightCube
private

Right cube.

Definition at line 244 of file ControlPointEditWidget.h.

Referenced by selectRightMeasure().

QPointer<ControlMeasure> Isis::ControlPointEditWidget::m_rightMeasure
private
QPointer<QLabel> Isis::ControlPointEditWidget::m_rightMeasureType
private

Label for the right measure's adjustment type.

Definition at line 218 of file ControlPointEditWidget.h.

Referenced by createRightMeasureGroupBox(), and updateRightMeasureInfo().

QPointer<QLabel> Isis::ControlPointEditWidget::m_rightReference
private

Label indicating if right measure is the reference.

Definition at line 217 of file ControlPointEditWidget.h.

Referenced by createRightMeasureGroupBox(), and updateRightMeasureInfo().

QPointer<QAction> Isis::ControlPointEditWidget::m_saveChips
private

                      Action to save the registration chips

Action to toggle visibility of the registration template editor

Definition at line 188 of file ControlPointEditWidget.h.

Referenced by createActions().

QPalette Isis::ControlPointEditWidget::m_saveDefaultPalette
private

Default color pallet of the "Save Point" button.

Definition at line 200 of file ControlPointEditWidget.h.

Referenced by createPointEditor(), saveNet(), savePoint(), and setEditPoint().

QPointer<QPushButton> Isis::ControlPointEditWidget::m_saveNet
private

Button to save the current control network.

Definition at line 202 of file ControlPointEditWidget.h.

Referenced by colorizeSaveNetButton(), createPointEditor(), and saveNet().

QPointer<QPushButton> Isis::ControlPointEditWidget::m_savePoint
private

Button to save current point being edited.

Definition at line 199 of file ControlPointEditWidget.h.

Referenced by colorizeSaveNetButton(), colorizeSavePointButton(), createPointEditor(), savePoint(), and setEditPoint().

QPointer<QAction> Isis::ControlPointEditWidget::m_saveTemplateFile
private

Action to save a registration template file to disk.

Definition at line 192 of file ControlPointEditWidget.h.

Referenced by createActions(), createTemplateEditorWidget(), loadTemplateFile(), setTemplateModified(), and writeTemplateFile().

QPointer<QAction> Isis::ControlPointEditWidget::m_saveTemplateFileAs
private

Action to save a new registration template.

Definition at line 193 of file ControlPointEditWidget.h.

Referenced by createActions(), and createTemplateEditorWidget().

SerialNumberList* Isis::ControlPointEditWidget::m_serialNumberList
private
QPointer<QTextEdit> Isis::ControlPointEditWidget::m_templateEditor
private

Text editor for editing the registration template.

Definition at line 204 of file ControlPointEditWidget.h.

Referenced by createTemplateEditorWidget(), loadTemplateFile(), and writeTemplateFile().

QPointer<QWidget> Isis::ControlPointEditWidget::m_templateEditorWidget
private

Template editor widget.

Definition at line 205 of file ControlPointEditWidget.h.

Referenced by createTemplateEditorWidget(), createTopSplitter(), and showHideTemplateEditor().

QPointer<QLabel> Isis::ControlPointEditWidget::m_templateFileNameLabel
private

Label for the template filename.

Definition at line 208 of file ControlPointEditWidget.h.

Referenced by createPointEditor(), loadTemplateFile(), and writeTemplateFile().

bool Isis::ControlPointEditWidget::m_templateModified
private

Indicates if the registration template was edited.

Definition at line 206 of file ControlPointEditWidget.h.

Referenced by ControlPointEditWidget(), loadTemplateFile(), okToContinue(), saveTemplateFile(), setTemplateModified(), and writeTemplateFile().

const int Isis::ControlPointEditWidget::NUMCOLUMNS = 16
static

Number of entries (columns) in the measure table.

Definition at line 88 of file ControlPointEditWidget.h.

Referenced by loadMeasureTable().


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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:45:16