casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Attributes | List of all members
casa::PlotMSFlaggingWidget Class Reference

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

#include <PlotMSFlaggingWidget.qo.h>

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

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...
 

Detailed Description

GUI widget for editing a PlotMSFlagging object.

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

Constructor & Destructor Documentation

casa::PlotMSFlaggingWidget::PlotMSFlaggingWidget ( QWidget *  parent = NULL)

Constructor that takes an optional parent widget.

casa::PlotMSFlaggingWidget::~PlotMSFlaggingWidget ( )

Destructor.

Member Function Documentation

void casa::PlotMSFlaggingWidget::flaggingChanged ( )
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.

Member Data Documentation

bool casa::PlotMSFlaggingWidget::itsFlag_
private

Changed flag.

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

QMap<PlotMSFlagging::Field, QAbstractButton*> casa::PlotMSFlaggingWidget::itsFlags_
private

Value widgets.

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

QMap<PlotMSFlagging::Field, PlotMSSelectionWidget*> casa::PlotMSFlaggingWidget::itsSelectionValues_
private

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

PlotMSFlagging casa::PlotMSFlaggingWidget::itsValue_
private

Last set value.

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

QMap<PlotMSFlagging::Field, QLineEdit*> casa::PlotMSFlaggingWidget::itsValues_
private

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


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