Isis 3 Programmer Reference
CubePlotCurveConfigureDialog.h
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;
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 ...
CubePlotCurveConfigureDialog(const CubePlotCurveConfigureDialog &other)
Don't allow copying of this class.
void applySettingsToCurve()
This takes the configuration settings and applies them to the plot curve.
void askUserForColor()
This prompts the user to select a new color for the curve/curve markers.
CubePlotCurveConfigureDialog(CubePlotCurve *curve, QWidget *parent=NULL)
This instantiates a configuration dialog associated with the given cube plot curve.
QPointer< QComboBox > m_curvesCombo
The selection/combo box for the cube plot curve.
CubePlotCurveConfigureDialog & operator=(const CubePlotCurveConfigureDialog &other)
Don't allow assignments of this class.
QList< CubePlotCurve * > m_plotCurvesList
The list of plot curves to configure.
QPointer< CubePlotCurve > m_plotCurve
The current plot curve to configure.
QPointer< QComboBox > m_sizeCombo
The selection/combo box for the cube plot curve's size/thickness.
QPointer< QWidget > m_parent
The parent widget of the configuration dialog.
virtual ~CubePlotCurveConfigureDialog()
This destroys the configuration dialog, which happens when the user closes it or clicks ok or cancel.
QPointer< QComboBox > m_symbolCombo
The selection/combo box for the cube plot curve's marker style.
QPointer< QPushButton > m_colorButton
The button for changing the cube plot curve's color.
QPointer< QLineEdit > m_nameEdit
The line edit containing the cube plot curve's name.
int m_selectedCurve
The index of the selected curve in m_curvesCombo.
void readSettingsFromCurve()
This takes the current data inside of the plot curve and populates this configuration dialog's widget...
QPointer< QComboBox > m_styleCombo
The selection/combo box for the cube plot curve's line style.
This is a plot curve with information relating it to a particular cube or region of a cube.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16