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 
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;
92  QPointer<QComboBox> m_sizeCombo;
94  QPointer<QComboBox> m_styleCombo;
96  QPointer<QComboBox> m_symbolCombo;
97  };
98 }
99 
100 #endif
Isis::CubePlotCurveConfigureDialog::m_curvesCombo
QPointer< QComboBox > m_curvesCombo
The selection/combo box for the cube plot curve.
Definition: CubePlotCurveConfigureDialog.h:78
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::m_symbolCombo
QPointer< QComboBox > m_symbolCombo
The selection/combo box for the cube plot curve's marker style.
Definition: CubePlotCurveConfigureDialog.h:96
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::CubePlotCurveConfigureDialog::askUserForColor
void askUserForColor()
This prompts the user to select a new color for the curve/curve markers.
Definition: CubePlotCurveConfigureDialog.cpp:306
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
Isis::CubePlotCurveConfigureDialog::m_plotCurve
QPointer< CubePlotCurve > m_plotCurve
The current plot curve to configure.
Definition: CubePlotCurveConfigureDialog.h:86
Isis::CubePlotCurveConfigureDialog::m_plotCurvesList
QList< CubePlotCurve * > m_plotCurvesList
The list of plot curves to configure.
Definition: CubePlotCurveConfigureDialog.h:88
Isis::CubePlotCurveConfigureDialog::m_selectedCurve
int m_selectedCurve
The index of the selected curve in m_curvesCombo.
Definition: CubePlotCurveConfigureDialog.h:90
Isis::CubePlotCurveConfigureDialog::m_nameEdit
QPointer< QLineEdit > m_nameEdit
The line edit containing the cube plot curve's name.
Definition: CubePlotCurveConfigureDialog.h:80
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
Isis::CubePlotCurveConfigureDialog::m_colorButton
QPointer< QPushButton > m_colorButton
The button for changing the cube plot curve's color.
Definition: CubePlotCurveConfigureDialog.h:82
Isis::CubePlotCurveConfigureDialog::CubePlotCurveConfigureDialog
CubePlotCurveConfigureDialog(const CubePlotCurveConfigureDialog &other)
Don't allow copying of this class.
Isis::CubePlotCurveConfigureDialog::m_styleCombo
QPointer< QComboBox > m_styleCombo
The selection/combo box for the cube plot curve's line style.
Definition: CubePlotCurveConfigureDialog.h:94
Isis::CubePlotCurveConfigureDialog::m_parent
QPointer< QWidget > m_parent
The parent widget of the configuration dialog.
Definition: CubePlotCurveConfigureDialog.h:84
Isis::CubePlotCurveConfigureDialog::applySettingsToCurve
void applySettingsToCurve()
This takes the configuration settings and applies them to the plot curve.
Definition: CubePlotCurveConfigureDialog.cpp:182
QDialog
Isis::CubePlotCurveConfigureDialog::m_sizeCombo
QPointer< QComboBox > m_sizeCombo
The selection/combo box for the cube plot curve's size/thickness.
Definition: CubePlotCurveConfigureDialog.h:92
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
Isis::CubePlotCurveConfigureDialog::operator=
CubePlotCurveConfigureDialog & operator=(const CubePlotCurveConfigureDialog &other)
Don't allow assignments of this class.