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

Qt options widget for single DisplayData. More...

#include <QtDisplayDataGui.qo.h>

Inheritance diagram for casa::QtDisplayDataGui:
casa::QtAutoGui

Public Member Functions

 QtDisplayDataGui (QtDisplayData *qdd)
 Always pass a valid QtDisplayData* when creating QtDisplayDataGui, and use it only as long as the QtDisplayData* remains valid. More...
 
 ~QtDisplayDataGui ()
 
- Public Member Functions inherited from casa::QtAutoGui
 QtAutoGui (QWidget *parent=0)
 
 QtAutoGui (casacore::Record rec, casacore::String dataName="", casacore::String dataType="Unknown", QWidget *parent=0)
 
 ~QtAutoGui ()
 
void setFileName (const QString &file_name)
 
QString fileName () const
 
void setDataType (const QString &dType)
 
QString dataType () const
 
bool load (QDomDocument &doc)
 
bool load ()
 
bool save ()
 
void apply ()
 
void restore ()
 
void setMemory ()
 
void setOriginal ()
 
void setDefault ()
 
void dismiss ()
 
void loadRecord (casacore::Record rec)
 call once only during initialization, to populate the gui, if you used the QtAutoGui(QWidget=0) constructor. More...
 

Protected Member Functions

 QtDisplayDataGui ()
 Not to be used; QtDisplayDataGui must be created with a valid QtDisplayData*. More...
 
- Protected Member Functions inherited from casa::QtAutoGui
void contextMenuEvent (QContextMenuEvent *e)
 

Protected Attributes

QtDisplayDataqdd_
 
- Protected Attributes inherited from casa::QtAutoGui
bool auto_apply_
 

Additional Inherited Members

- Public Types inherited from casa::QtAutoGui
enum  ACTIONTYPE {
  Set,
  Copy,
  Paste,
  Default,
  Original,
  Memorize,
  Command
}
 
- Public Slots inherited from casa::QtAutoGui
void itemValueChanged (QString name, QString value, int action, bool apply)
 
void adjustHeight ()
 
virtual void changeOptions (casacore::Record changedOptions)
 
void autoApplyState (bool auto_apply)
 (called only once, during or soon after construction. More...
 
- Signals inherited from casa::QtAutoGui
void setOptions (casacore::Record options)
 
- Static Public Attributes inherited from casa::QtAutoGui
static const QString HISTOGRAM_SHOW_KEY
 
static const QString HISTOGRAM_RANGE_KEY
 

Detailed Description

Qt options widget for single DisplayData.

Synopsis

QtDisplayDataGui is a thin layer over a QtAutoGui base, to provide the options widget for a single QtDisplayData. It is normally in a tab of a QtDataOptionsPanel. Unlike QtAutoGui, which is intended to be generic and reusable for other purposes, QtDisplayDataGui knows about a QtDisplayData; QtDisplayDataGui makes the communication connections between its QtDisplayData and QtAutoGui.

class QtDisplayDataGui : protected QtAutoGui {

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

Constructor & Destructor Documentation

casa::QtDisplayDataGui::QtDisplayDataGui ( QtDisplayData qdd)
inline

Always pass a valid QtDisplayData* when creating QtDisplayDataGui, and use it only as long as the QtDisplayData* remains valid.

cerr<<" QDDG cn: this:"<<this<<" qdd:"<<qdd_<<endl; //#diag

Definition at line 71 of file QtDisplayDataGui.qo.h.

References casa::QtAutoGui::changeOptions(), casa::QtDisplayData::getOptions(), casa::QtAutoGui::loadRecord(), casa::QtDisplayData::name(), qdd_, casa::QtAutoGui::setFileName(), and casa::QtAutoGui::setOptions().

casa::QtDisplayDataGui::~QtDisplayDataGui ( )
inline

Definition at line 99 of file QtDisplayDataGui.qo.h.

casa::QtDisplayDataGui::QtDisplayDataGui ( )
inlineprotected

Not to be used; QtDisplayDataGui must be created with a valid QtDisplayData*.

Definition at line 109 of file QtDisplayDataGui.qo.h.

Member Data Documentation

QtDisplayData* casa::QtDisplayDataGui::qdd_
protected

Definition at line 104 of file QtDisplayDataGui.qo.h.

Referenced by QtDisplayDataGui().


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