Isis Developer Reference
Isis::CubePlotCurveConfigureDialog Class Reference

This should be an inner class for CubePlotCurve, but Qt doesn't support having a QObject as an inner class. More...

#include <CubePlotCurveConfigureDialog.h>

Inheritance diagram for Isis::CubePlotCurveConfigureDialog:
Inheritance graph
Collaboration diagram for Isis::CubePlotCurveConfigureDialog:
Collaboration graph

Public Slots

void applySettingsToCurve ()
 This takes the configuration settings and applies them to the plot curve.
 
void readSettingsFromCurve ()
 This takes the current data inside of the plot curve and populates this configuration dialog's widgets with the appropriate data/settings.
 
void updateComboIndex (int selected)
 
void updateCurvesList ()
 

Public Member Functions

 CubePlotCurveConfigureDialog (CubePlotCurve *curve, QWidget *parent=NULL)
 This instantiates a configuration dialog associated with the given cube plot curve.
 
virtual ~CubePlotCurveConfigureDialog ()
 This destroys the configuration dialog, which happens when the user closes it or clicks ok or cancel.
 

Detailed Description

This should be an inner class for CubePlotCurve, but Qt doesn't support having a QObject as an inner class.

Author
2012-01-18 Steven Lambright

Constructor & Destructor Documentation

◆ CubePlotCurveConfigureDialog()

Isis::CubePlotCurveConfigureDialog::CubePlotCurveConfigureDialog ( CubePlotCurve * curve,
QWidget * parent = NULL )

This instantiates a configuration dialog associated with the given cube plot curve.

Parameters
curveThe plot curve to be configured.
parentThe parent widget/widget who owns this dialog.

References applySettingsToCurve(), readSettingsFromCurve(), updateComboIndex(), and updateCurvesList().

◆ ~CubePlotCurveConfigureDialog()

Isis::CubePlotCurveConfigureDialog::~CubePlotCurveConfigureDialog ( )
virtual

This destroys the configuration dialog, which happens when the user closes it or clicks ok or cancel.

Member Function Documentation

◆ applySettingsToCurve

void Isis::CubePlotCurveConfigureDialog::applySettingsToCurve ( )
slot

This takes the configuration settings and applies them to the plot curve.

This happens when the user clicks 'apply' or 'ok.' Any settings that fail to be applied correctly will be reverted in the GUI.

References readSettingsFromCurve(), and Isis::toInt().

Referenced by CubePlotCurveConfigureDialog().

◆ readSettingsFromCurve

void Isis::CubePlotCurveConfigureDialog::readSettingsFromCurve ( )
slot

This takes the current data inside of the plot curve and populates this configuration dialog's widgets with the appropriate data/settings.

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

Referenced by applySettingsToCurve(), CubePlotCurveConfigureDialog(), updateComboIndex(), and updateCurvesList().

◆ updateComboIndex

void Isis::CubePlotCurveConfigureDialog::updateComboIndex ( int selected)
slot

◆ updateCurvesList

void Isis::CubePlotCurveConfigureDialog::updateCurvesList ( )
slot

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