casa
$Rev:20696$
|
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. | |
~PlotMSFlaggingWidget () | |
Destructor. | |
PlotMSFlagging | getValue (PlotMSPlot *plot=NULL) const |
Gets the currently set value, using the given PlotMSPlot to get the MS objects from if not NULL. | |
void | setValue (const PlotMSFlagging &flagging) |
Sets the currently displayed value to the given. | |
Private Slots | |
void | flaggingChanged () |
Private Attributes | |
PlotMSFlagging | itsValue_ |
Last set value. | |
bool | itsFlag_ |
Changed flag. | |
QMap< PlotMSFlagging::Field, QAbstractButton * > | itsFlags_ |
Value widgets. | |
QMap< PlotMSFlagging::Field, QLineEdit * > | itsValues_ |
QMap< PlotMSFlagging::Field, PlotMSSelectionWidget * > | itsSelectionValues_ |
GUI widget for editing a PlotMSFlagging object.
Definition at line 45 of file PlotMSFlaggingWidget.qo.h.
casa::PlotMSFlaggingWidget::PlotMSFlaggingWidget | ( | QWidget * | parent = NULL | ) |
Constructor that takes an optional parent widget.
Destructor.
void casa::PlotMSFlaggingWidget::flaggingChanged | ( | ) | [private, slot] |
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 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 MS objects are set in the given value, they are ignored.
bool casa::PlotMSFlaggingWidget::itsFlag_ [private] |
Changed flag.
Definition at line 70 of file PlotMSFlaggingWidget.qo.h.
QMap<PlotMSFlagging::Field, QAbstractButton*> casa::PlotMSFlaggingWidget::itsFlags_ [private] |
Value widgets.
Definition at line 74 of file PlotMSFlaggingWidget.qo.h.
QMap<PlotMSFlagging::Field, PlotMSSelectionWidget*> casa::PlotMSFlaggingWidget::itsSelectionValues_ [private] |
Definition at line 76 of file PlotMSFlaggingWidget.qo.h.
Last set value.
Definition at line 67 of file PlotMSFlaggingWidget.qo.h.
QMap<PlotMSFlagging::Field, QLineEdit*> casa::PlotMSFlaggingWidget::itsValues_ [private] |
Definition at line 75 of file PlotMSFlaggingWidget.qo.h.