casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Attributes
casa::PlotMSFlaggingWidget Class Reference

GUI widget for editing a PlotMSFlagging object. More...

#include <PlotMSFlaggingWidget.qo.h>

Inheritance diagram for casa::PlotMSFlaggingWidget:
casa::QtEditingWidget

List of all members.

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_

Detailed Description

GUI widget for editing a PlotMSFlagging object.

Definition at line 45 of file PlotMSFlaggingWidget.qo.h.


Constructor & Destructor Documentation

Constructor that takes an optional parent widget.

Destructor.


Member Function Documentation

     

Slot for when a GUI widget value changes.

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.

Sets the currently displayed value to the given.

If MS objects are set in the given value, they are ignored.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file: