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

#include <QtExportManager.qo.h>

Inheritance diagram for casa::QtExportManager:

Public Slots

void updateEM (QtDisplayData *qdd=0, bool autoRegister=true)
 

Public Member Functions

 QtExportManager (QtDisplayPanelGui *panel=0, const char *name=0, QWidget *parent=0)
 
 ~QtExportManager ()
 

Protected Types

enum  DATATYPE {
  UNKNOWN,
  IMAGE,
  MEASUREMENT_SET,
  SKY_CATALOG,
  RESTORE,
  DIRECTORY,
  QUALIMG,
  CASAREGION,
  DS9REGION
}
 
enum  DISPLAYTYPE {
  RASTER,
  CONTOUR,
  VECTOR,
  MARKER,
  SKY_CAT,
  NEWPANEL,
  OLDPANEL
}
 

Protected Slots

void changeItemSelection ()
 
void exportData ()
 
void buildFileList ()
 
void browseOutFilePath ()
 
void browseFileSelection ()
 
void browseFileSelectionOLD ()
 
void showDDCreateError_ (casacore::String)
 

Protected Member Functions

void fillFormatBox (int type)
 
QColor getDirColor (int)
 
QString getOutFileName (QString &filter)
 
QString getOutDirName (QString &)
 
QString getOutDirNameOLD (QString &filter)
 

Protected Attributes

QHash< int, casacore::StringdataType_
 
QHash< QString, int > uiDataType_
 
QHash< int, casacore::StringdisplayType_
 
QHash< QString, int > uiDisplayType_
 
QHash< int, QtDisplayData * > qddList_
 
QVector< int > exportTypes_
 

Private Member Functions

void expImageInterfaceToFITS (casacore::ImageInterface< float > *img, casacore::String outFile)
 
void getSectralCoordFlags (const casacore::ImageInterface< float > *img, bool &preferVelocity, bool &opticalVelocity, bool &preferWavelength, bool &preferAirWavelength)
 
void expImageInterfaceToCASA (casacore::ImageInterface< float > *img, casacore::String outFile)
 
void messageFromEM (QString &msg)
 void expImageInterfaceToMIRIAD(casacore::ImageInterface<float>* img, casacore::String outFile); More...
 

Private Attributes

QWidget * parent_
 
QtDisplayPanelGuipanel_
 
QDir dir_
 
QTreeWidgetItem * selItem_
 
int saveType_
 

Detailed Description

Definition at line 62 of file QtExportManager.qo.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
IMAGE 
MEASUREMENT_SET 
SKY_CATALOG 
RESTORE 
DIRECTORY 
QUALIMG 
CASAREGION 
DS9REGION 

Definition at line 82 of file QtExportManager.qo.h.

Enumerator
RASTER 
CONTOUR 
VECTOR 
MARKER 
SKY_CAT 
NEWPANEL 
OLDPANEL 

Definition at line 85 of file QtExportManager.qo.h.

Constructor & Destructor Documentation

casa::QtExportManager::QtExportManager ( QtDisplayPanelGui panel = 0,
const char *  name = 0,
QWidget *  parent = 0 
)
casa::QtExportManager::~QtExportManager ( )

Member Function Documentation

void casa::QtExportManager::browseFileSelection ( )
protectedslot
void casa::QtExportManager::browseFileSelectionOLD ( )
protectedslot
void casa::QtExportManager::browseOutFilePath ( )
protectedslot
void casa::QtExportManager::buildFileList ( )
protectedslot
void casa::QtExportManager::changeItemSelection ( )
protectedslot
void casa::QtExportManager::expImageInterfaceToCASA ( casacore::ImageInterface< float > *  img,
casacore::String  outFile 
)
private
void casa::QtExportManager::expImageInterfaceToFITS ( casacore::ImageInterface< float > *  img,
casacore::String  outFile 
)
private
void casa::QtExportManager::exportData ( )
protectedslot
void casa::QtExportManager::fillFormatBox ( int  type)
protected
QColor casa::QtExportManager::getDirColor ( int  )
protected
QString casa::QtExportManager::getOutDirName ( QString &  )
protected
QString casa::QtExportManager::getOutDirNameOLD ( QString &  filter)
protected
QString casa::QtExportManager::getOutFileName ( QString &  filter)
protected
void casa::QtExportManager::getSectralCoordFlags ( const casacore::ImageInterface< float > *  img,
bool &  preferVelocity,
bool &  opticalVelocity,
bool &  preferWavelength,
bool &  preferAirWavelength 
)
private
void casa::QtExportManager::messageFromEM ( QString &  msg)
private

void expImageInterfaceToMIRIAD(casacore::ImageInterface<float>* img, casacore::String outFile);

void casa::QtExportManager::showDDCreateError_ ( casacore::String  )
protectedslot
void casa::QtExportManager::updateEM ( QtDisplayData qdd = 0,
bool  autoRegister = true 
)
slot

Member Data Documentation

QHash<int, casacore::String> casa::QtExportManager::dataType_
protected

Definition at line 89 of file QtExportManager.qo.h.

QDir casa::QtExportManager::dir_
private

Definition at line 117 of file QtExportManager.qo.h.

QHash<int, casacore::String> casa::QtExportManager::displayType_
protected

Definition at line 91 of file QtExportManager.qo.h.

QVector<int> casa::QtExportManager::exportTypes_
protected

Definition at line 94 of file QtExportManager.qo.h.

QtDisplayPanelGui* casa::QtExportManager::panel_
private

Definition at line 116 of file QtExportManager.qo.h.

QWidget* casa::QtExportManager::parent_
private

Definition at line 115 of file QtExportManager.qo.h.

QHash<int, QtDisplayData*> casa::QtExportManager::qddList_
protected

Definition at line 93 of file QtExportManager.qo.h.

int casa::QtExportManager::saveType_
private

Definition at line 119 of file QtExportManager.qo.h.

QTreeWidgetItem* casa::QtExportManager::selItem_
private

Definition at line 118 of file QtExportManager.qo.h.

QHash<QString, int> casa::QtExportManager::uiDataType_
protected

Definition at line 90 of file QtExportManager.qo.h.

QHash<QString, int> casa::QtExportManager::uiDisplayType_
protected

Definition at line 92 of file QtExportManager.qo.h.


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