Isis Developer Reference
Isis::MosaicGridToolConfigDialog Class Reference

Configure user's settings for the grid tool. More...

#include <MosaicGridToolConfigDialog.h>

Inheritance diagram for Isis::MosaicGridToolConfigDialog:
Inheritance graph
Collaboration diagram for Isis::MosaicGridToolConfigDialog:
Collaboration graph

Public Slots

void applySettings ()
 Slot that calls applySettings with true to call readSettings also.
 
void applySettings (bool shouldReadSettings)
 Apply the user's current settings to the tool.
 
void readSettings ()
 Read the tool's current settings and set the widget states to match.
 
void refreshWidgetStates ()
 Calls the private method refreshWidgetStates with true as the argument in order to have refreshWidgetStates call apply settings.
 
void onBaseLatSliderChanged ()
 Updates the corresponding line edit when the baseLatSlider changes.
 
void onBaseLonSliderChanged ()
 Updates the corresponding line edit when the baseLonSlider changes.
 
void onLatIncSliderChanged ()
 Updates the corresponding line edit when the latIncSlider changes.
 
void onLonIncSliderChanged ()
 Updates the corresponding line edit when the lonIncSlider changes.
 
void onExtentTypeChanged ()
 Updates the dialog when the lat or lon extent source is changed.
 
void onMinLatExtentSliderChanged ()
 Updates the corresponding line edit when the minLatSlider changes.
 
void onMaxLatExtentSliderChanged ()
 Updates the corresponding line edit when the maxLatSlider changes.
 
void onMinLonExtentSliderChanged ()
 Updates the corresponding line edit when the minLonSlider changes.
 
void onMaxLonExtentSliderChanged ()
 Updates the corresponding line edit when the maxLonSlider changes.
 

Public Member Functions

 MosaicGridToolConfigDialog (MosaicGridTool *tool, QWidget *parent)
 Create a config dialog that configures the given MosaicGridTool.
 
 ~MosaicGridToolConfigDialog ()
 Clean up allocated memory.
 

Detailed Description

Configure user's settings for the grid tool.

This dialog enables the user to configure the given grid tool. You can show or hid the grid, draw an auto grid that is based on the open cubes or the user selected grid extents, and change the parameters of a custom drawn grid. It allows the user to select the source of the longitude and latitude ranges (from the map, from the open cubes, or manually entered). The widgets are enabled/disabled depending on the state of the tool. There is also an option to 'auto apply' the grid settings, which allows the user to see live updates of the grid as the parameters are changed. If the tool and dialog take too long to update the grid, the density will be reduced to increase the speed with which the grid is drawn. References #604.

Author
2012-07-25 Kimberly Oyama and Steven Lambright

Constructor & Destructor Documentation

◆ MosaicGridToolConfigDialog()

◆ ~MosaicGridToolConfigDialog()

Isis::MosaicGridToolConfigDialog::~MosaicGridToolConfigDialog ( )

Clean up allocated memory.

Member Function Documentation

◆ applySettings [1/2]

void Isis::MosaicGridToolConfigDialog::applySettings ( )
slot

Slot that calls applySettings with true to call readSettings also.

References applySettings().

Referenced by applySettings(), MosaicGridToolConfigDialog(), and onExtentTypeChanged().

◆ applySettings [2/2]

◆ onBaseLatSliderChanged

void Isis::MosaicGridToolConfigDialog::onBaseLatSliderChanged ( )
slot

Updates the corresponding line edit when the baseLatSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onBaseLonSliderChanged

void Isis::MosaicGridToolConfigDialog::onBaseLonSliderChanged ( )
slot

Updates the corresponding line edit when the baseLonSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onExtentTypeChanged

void Isis::MosaicGridToolConfigDialog::onExtentTypeChanged ( )
slot

Updates the dialog when the lat or lon extent source is changed.

This is necessary because the tools values will change and they need to be brought back to the dialog.

References applySettings(), and refreshWidgetStates().

Referenced by MosaicGridToolConfigDialog().

◆ onLatIncSliderChanged

void Isis::MosaicGridToolConfigDialog::onLatIncSliderChanged ( )
slot

Updates the corresponding line edit when the latIncSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onLonIncSliderChanged

void Isis::MosaicGridToolConfigDialog::onLonIncSliderChanged ( )
slot

Updates the corresponding line edit when the lonIncSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onMaxLatExtentSliderChanged

void Isis::MosaicGridToolConfigDialog::onMaxLatExtentSliderChanged ( )
slot

Updates the corresponding line edit when the maxLatSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onMaxLonExtentSliderChanged

void Isis::MosaicGridToolConfigDialog::onMaxLonExtentSliderChanged ( )
slot

Updates the corresponding line edit when the maxLonSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onMinLatExtentSliderChanged

void Isis::MosaicGridToolConfigDialog::onMinLatExtentSliderChanged ( )
slot

Updates the corresponding line edit when the minLatSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ onMinLonExtentSliderChanged

void Isis::MosaicGridToolConfigDialog::onMinLonExtentSliderChanged ( )
slot

Updates the corresponding line edit when the minLonSlider changes.

Referenced by MosaicGridToolConfigDialog().

◆ readSettings

◆ refreshWidgetStates

void Isis::MosaicGridToolConfigDialog::refreshWidgetStates ( )
slot

Calls the private method refreshWidgetStates with true as the argument in order to have refreshWidgetStates call apply settings.

References refreshWidgetStates().

Referenced by MosaicGridToolConfigDialog(), onExtentTypeChanged(), readSettings(), and refreshWidgetStates().


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