USGS

Isis 3.0 Developer's Reference (API)

Home

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>

Inherits QDialog.

List of all members.

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.

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

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

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

Parameters:
curve The plot curve to be configured
parent The parent widget/widget who owns this dialog.

References apply(), applySettingsToCurve(), and readSettingsFromCurve().

Isis::CubePlotCurveConfigureDialog::~CubePlotCurveConfigureDialog (  )  [virtual]

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


Member Function Documentation

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().

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.

Referenced by applySettingsToCurve(), and CubePlotCurveConfigureDialog().


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