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::PlotMSSelectionWidget Class Reference

Widget for editing a PlotMSSelection object. More...

#include <PlotMSSelectionWidget.qo.h>

Inheritance diagram for casa::PlotMSSelectionWidget:
casa::QtEditingWidget

Public Member Functions

 PlotMSSelectionWidget (QWidget *parent=NULL)
 Constructor that takes an optional parent. More...
 
 ~PlotMSSelectionWidget ()
 Destructor. More...
 
PlotMSSelection getValue () const
 Gets/Sets the currently displayed value. More...
 
void setValue (const PlotMSSelection &selection)
 
- 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 selectionChanged ()
 Slot for when a GUI widget value changes. More...
 

Private Attributes

PlotMSSelection itsValue_
 Last set value. More...
 
bool itsFlag_
 Changed flag. More...
 
QMap< PlotMSSelection::Field,
QLineEdit * > 
itsValues_
 Value widgets. More...
 

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

Widget for editing a PlotMSSelection object.

Definition at line 36 of file PlotMSSelectionWidget.qo.h.

Constructor & Destructor Documentation

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

Constructor that takes an optional parent.

casa::PlotMSSelectionWidget::~PlotMSSelectionWidget ( )

Destructor.

Member Function Documentation

PlotMSSelection casa::PlotMSSelectionWidget::getValue ( ) const

Gets/Sets the currently displayed value.

void casa::PlotMSSelectionWidget::selectionChanged ( )
privateslot

Slot for when a GUI widget value changes.

void casa::PlotMSSelectionWidget::setValue ( const PlotMSSelection selection)

Member Data Documentation

bool casa::PlotMSSelectionWidget::itsFlag_
private

Changed flag.

Definition at line 58 of file PlotMSSelectionWidget.qo.h.

PlotMSSelection casa::PlotMSSelectionWidget::itsValue_
private

Last set value.

Definition at line 55 of file PlotMSSelectionWidget.qo.h.

QMap<PlotMSSelection::Field, QLineEdit*> casa::PlotMSSelectionWidget::itsValues_
private

Value widgets.

Definition at line 61 of file PlotMSSelectionWidget.qo.h.


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