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

#include <QtExportManager.qo.h>

List of all members.

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_ (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, StringdataType_
QHash< QString, int > uiDataType_
QHash< int, StringdisplayType_
QHash< QString, int > uiDisplayType_
QHash< int, QtDisplayData * > qddList_
QVector< int > exportTypes_

Private Member Functions

void expImageInterfaceToFITS (ImageInterface< Float > *img, String outFile)
void getSectralCoordFlags (const ImageInterface< Float > *img, Bool &preferVelocity, Bool &opticalVelocity, Bool &preferWavelength, Bool &preferAirWavelength)
void expImageInterfaceToCASA (ImageInterface< Float > *img, String outFile)
void messageFromEM (QString &msg)
 void expImageInterfaceToMIRIAD(ImageInterface<Float>* img, String outFile);

Private Attributes

QWidget * parent_
QtDisplayPanelGuipanel_
QDir dir_
QTreeWidgetItem * selItem_
int saveType_

Detailed Description

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


Member Enumeration Documentation

Enumerator:
UNKNOWN 
IMAGE 
MEASUREMENT_SET 
SKY_CATALOG 
RESTORE 
DIRECTORY 
QUALIMG 
CASAREGION 
DS9REGION 

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

Enumerator:
RASTER 
CONTOUR 
VECTOR 
MARKER 
SKY_CAT 
NEWPANEL 
OLDPANEL 

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


Constructor & Destructor Documentation

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

Member Function Documentation

void casa::QtExportManager::browseFileSelection ( ) [protected, slot]
void casa::QtExportManager::browseOutFilePath ( ) [protected, slot]
void casa::QtExportManager::buildFileList ( ) [protected, slot]
void casa::QtExportManager::changeItemSelection ( ) [protected, slot]
void casa::QtExportManager::expImageInterfaceToCASA ( ImageInterface< Float > *  img,
String  outFile 
) [private]
void casa::QtExportManager::expImageInterfaceToFITS ( ImageInterface< Float > *  img,
String  outFile 
) [private]
void casa::QtExportManager::exportData ( ) [protected, slot]
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 ImageInterface< Float > *  img,
Bool preferVelocity,
Bool opticalVelocity,
Bool preferWavelength,
Bool preferAirWavelength 
) [private]
void casa::QtExportManager::messageFromEM ( QString &  msg) [private]

void expImageInterfaceToMIRIAD(ImageInterface<Float>* img, String outFile);

void casa::QtExportManager::showDDCreateError_ ( String  ) [protected, slot]
void casa::QtExportManager::updateEM ( QtDisplayData qdd = 0,
Bool  autoRegister = True 
) [slot]

Member Data Documentation

QHash<int, String> casa::QtExportManager::dataType_ [protected]

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

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

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

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

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

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

QWidget* casa::QtExportManager::parent_ [private]

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

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

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

QTreeWidgetItem* casa::QtExportManager::selItem_ [private]

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

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

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

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

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


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