Isis Developer Reference
CubePlotCurveConfigureDialog.h
Go to the documentation of this file.
1 #ifndef CubePlotCurveConfigureDialog_h
2 #define CubePlotCurveConfigureDialog_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QDialog>
13 
14 #include <QPointer>
15 
16 class QCheckBox;
17 class QComboBox;
18 class QLineEdit;
19 class QPushButton;
20 class QWidget;
21 
22 namespace Isis {
23  class CubePlotCurve;
24  class PlotWindow;
25 
26 
42  Q_OBJECT
43 
44  public:
46  QWidget *parent = NULL);
48 
49  public slots:
50  void applySettingsToCurve();
51  void readSettingsFromCurve();
52  void updateComboIndex(int selected);
53  void updateCurvesList();
54 
55  private slots:
56  void askUserForColor();
57 
58  private:
65 
74  const CubePlotCurveConfigureDialog &other);
75 
76  private:
78  QPointer<QComboBox> m_curvesCombo;
80  QPointer<QLineEdit> m_nameEdit;
82  QPointer<QPushButton> m_colorButton;
84  QPointer<QWidget> m_parent;
86  QPointer<CubePlotCurve> m_plotCurve;
88  QList<CubePlotCurve *> m_plotCurvesList;
90  int m_selectedCurve;
92  QPointer<QComboBox> m_sizeCombo;
94  QPointer<QComboBox> m_styleCombo;
96  QPointer<QComboBox> m_symbolCombo;
97  };
98 }
99 
100 #endif
CubePlotCurve.h
QWidget
Isis::CubePlotCurveConfigureDialog::~CubePlotCurveConfigureDialog
virtual ~CubePlotCurveConfigureDialog()
This destroys the configuration dialog, which happens when the user closes it or clicks ok or cancel.
Definition: CubePlotCurveConfigureDialog.cpp:171
Isis::CubePlotCurveConfigureDialog::updateComboIndex
void updateComboIndex(int selected)
Definition: CubePlotCurveConfigureDialog.cpp:279
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::CubePlotCurve
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition: CubePlotCurve.h:53
Isis::CubePlotCurveConfigureDialog
This should be an inner class for CubePlotCurve, but Qt doesn't support having a QObject as an inner ...
Definition: CubePlotCurveConfigureDialog.h:41
PlotWindow.h
QComboBox
Isis::CubePlotCurveConfigureDialog::CubePlotCurveConfigureDialog
CubePlotCurveConfigureDialog(CubePlotCurve *curve, QWidget *parent=NULL)
This instantiates a configuration dialog associated with the given cube plot curve.
Definition: CubePlotCurveConfigureDialog.cpp:33
CubePlotCurveConfigureDialog.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::toInt
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
Ellipse
struct Ellipse Ellipse
This is free and unencumbered software released into the public domain.
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::CubePlotCurveConfigureDialog::updateCurvesList
void updateCurvesList()
Definition: CubePlotCurveConfigureDialog.cpp:285
Isis::CubePlotCurveConfigureDialog::applySettingsToCurve
void applySettingsToCurve()
This takes the configuration settings and applies them to the plot curve.
Definition: CubePlotCurveConfigureDialog.cpp:182
QDialog
Isis::CubePlotCurveConfigureDialog::readSettingsFromCurve
void readSettingsFromCurve()
This takes the current data inside of the plot curve and populates this configuration dialog's widget...
Definition: CubePlotCurveConfigureDialog.cpp:222
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16