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

Widget used for entering options specific to the DS9 format. More...

Inheritance diagram for QtDS9RFWOptions:

Public Member Functions

 QtDS9RFWOptions ()
 Constructor. More...
 
 ~QtDS9RFWOptions ()
 Destructor. More...
 
bool isCustomCoordinateSystem () const
 Returns true if the user picked a custom coordinate system, false if DS9RegionFileWriter::CSYS_INDIVIDUAL was chosen. More...
 
bool isPixelCoordinateSystem () const
 Returns true if the user picked a custom coordinate system and that system was DS9RegionFileWriter::CSYS_IMAGE, false otherwise. More...
 
casacore::String getCoordinateSystem () const
 Returns the selected coordinate system. More...
 
casacore::String getPositionUnits () const
 Returns the selected position units. More...
 
casacore::String getSizeUnits () const
 Returns the selected size units. More...
 
int getPrecision () const
 Returns the entered decimal precision. More...
 
casacore::String getComments () const
 Returned the entered comments. More...
 

Private Slots

void coordinateSystemChanged (int index)
 Enable/disable position and size unit chooser accordingly. More...
 

Detailed Description

Widget used for entering options specific to the DS9 format.

Definition at line 194 of file DS9FileWriter.qo.h.

Constructor & Destructor Documentation

QtDS9RFWOptions::QtDS9RFWOptions ( )

Constructor.

QtDS9RFWOptions::~QtDS9RFWOptions ( )

Destructor.

Member Function Documentation

void QtDS9RFWOptions::coordinateSystemChanged ( int  index)
privateslot

Enable/disable position and size unit chooser accordingly.

casacore::String QtDS9RFWOptions::getComments ( ) const

Returned the entered comments.

casacore::String QtDS9RFWOptions::getCoordinateSystem ( ) const

Returns the selected coordinate system.

This should only be used if customCoordinateSystem() and pixelCoordinateSystem() were both false. One of: DS9RegionFileWriter::CSYS_*

casacore::String QtDS9RFWOptions::getPositionUnits ( ) const

Returns the selected position units.

One of: DS9RegionFileWriter::UNIT_* or DS9RegionFileWriter::PUNIT_*

int QtDS9RFWOptions::getPrecision ( ) const

Returns the entered decimal precision.

casacore::String QtDS9RFWOptions::getSizeUnits ( ) const

Returns the selected size units.

One of: DS9RegionFileWriter::UNIT_* or DS9RegionFileWriter::SUNIT_*

bool QtDS9RFWOptions::isCustomCoordinateSystem ( ) const

Returns true if the user picked a custom coordinate system, false if DS9RegionFileWriter::CSYS_INDIVIDUAL was chosen.

bool QtDS9RFWOptions::isPixelCoordinateSystem ( ) const

Returns true if the user picked a custom coordinate system and that system was DS9RegionFileWriter::CSYS_IMAGE, false otherwise.


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