casa
5.7.0-16
|
GUI widget for editing a PlotMSFlagging object. More...
#include <PlotMSFlaggingWidget.qo.h>
Public Member Functions | |
PlotMSFlaggingWidget (QWidget *parent=NULL) | |
Constructor that takes an optional parent widget. More... | |
~PlotMSFlaggingWidget () | |
Destructor. More... | |
PlotMSFlagging | getValue (PlotMSPlot *plot=NULL) const |
Gets the currently set value, using the given PlotMSPlot to get the MS objects from if not NULL. More... | |
void | setValue (const PlotMSFlagging &flagging) |
Sets the currently displayed value to the given. More... | |
Public Member Functions inherited from casa::QtEditingWidget | |
QtEditingWidget (QWidget *parent=NULL) | |
Constructor which takes an optional parent widget. More... | |
virtual | ~QtEditingWidget () |
Destructor. More... | |
virtual void | addRadioButtonsToGroup (QButtonGroup *group) const |
Adds any radio buttons in the widget to the given button group. More... | |
Private Slots | |
void | flaggingChanged () |
Slot for when a GUI widget value changes. More... | |
Private Attributes | |
PlotMSFlagging | itsValue_ |
Last set value. More... | |
bool | itsFlag_ |
Changed flag. More... | |
QMap< PlotMSFlagging::Field, QAbstractButton * > | itsFlags_ |
Value widgets. More... | |
QMap< PlotMSFlagging::Field, QLineEdit * > | itsValues_ |
QMap< PlotMSFlagging::Field, PlotMSSelectionWidget * > | itsSelectionValues_ |
Additional Inherited Members | |
Signals inherited from casa::QtEditingWidget | |
void | changed () |
This signal should be emitted whenever the user changes any value settings in the GUI. More... | |
void | differentFromSet () |
This signal should be emitted when the user changes any value settings in the GUI AND the new value is different from the last set value. More... | |
void | editDone () |
to change widget focus when editing done More... | |
GUI widget for editing a PlotMSFlagging object.
Definition at line 43 of file PlotMSFlaggingWidget.qo.h.
casa::PlotMSFlaggingWidget::PlotMSFlaggingWidget | ( | QWidget * | parent = NULL | ) |
Constructor that takes an optional parent widget.
casa::PlotMSFlaggingWidget::~PlotMSFlaggingWidget | ( | ) |
Destructor.
|
privateslot |
Slot for when a GUI widget value changes.
PlotMSFlagging casa::PlotMSFlaggingWidget::getValue | ( | PlotMSPlot * | plot = NULL | ) | const |
Gets the currently set value, using the given PlotMSPlot to get the MS objects from if not NULL.
If the plot is NULL, then the casacore::MS objects must be set using PlotMSFlagging::setMS() before being used.
void casa::PlotMSFlaggingWidget::setValue | ( | const PlotMSFlagging & | flagging | ) |
Sets the currently displayed value to the given.
If casacore::MS objects are set in the given value, they are ignored.
|
private |
Changed flag.
Definition at line 68 of file PlotMSFlaggingWidget.qo.h.
|
private |
Value widgets.
Definition at line 72 of file PlotMSFlaggingWidget.qo.h.
|
private |
Definition at line 74 of file PlotMSFlaggingWidget.qo.h.
|
private |
Last set value.
Definition at line 65 of file PlotMSFlaggingWidget.qo.h.
|
private |
Definition at line 73 of file PlotMSFlaggingWidget.qo.h.