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
16class QCheckBox;
17class QComboBox;
18class QLineEdit;
19class QPushButton;
20class QWidget;
21
22namespace Isis {
23 class CubePlotCurve;
24 class PlotWindow;
25
26
42 Q_OBJECT
43
44 public:
46 QWidget *parent = NULL);
48
49 public slots:
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
This should be an inner class for CubePlotCurve, but Qt doesn't support having a QObject as an inner ...
Definition CubePlotCurveConfigureDialog.h:41
void applySettingsToCurve()
This takes the configuration settings and applies them to the plot curve.
Definition CubePlotCurveConfigureDialog.cpp:184
CubePlotCurveConfigureDialog(CubePlotCurve *curve, QWidget *parent=NULL)
This instantiates a configuration dialog associated with the given cube plot curve.
Definition CubePlotCurveConfigureDialog.cpp:35
void updateCurvesList()
Definition CubePlotCurveConfigureDialog.cpp:287
virtual ~CubePlotCurveConfigureDialog()
This destroys the configuration dialog, which happens when the user closes it or clicks ok or cancel.
Definition CubePlotCurveConfigureDialog.cpp:173
void updateComboIndex(int selected)
Definition CubePlotCurveConfigureDialog.cpp:281
void readSettingsFromCurve()
This takes the current data inside of the plot curve and populates this configuration dialog's widget...
Definition CubePlotCurveConfigureDialog.cpp:224
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition CubePlotCurve.h:53
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16