|
Isis 3.0 Developer's Reference (API) |
Home |
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.
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. | |
This should be an inner class for CubePlotCurve, but Qt doesn't support having a QObject as an inner class.
| Isis::CubePlotCurveConfigureDialog::CubePlotCurveConfigureDialog | ( | CubePlotCurve * | curve, | |
| QWidget * | parent = NULL | |||
| ) |
This instantiates a configuration dialog associated with the given cube plot curve.
| 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.
| 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().