QtDS9RFWOptions Class Reference

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

List of all members.

Public Member Functions

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

Private Slots

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

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  )  [private, slot]

Enable/disable position and size unit chooser accordingly.

String QtDS9RFWOptions::getComments (  )  const

Returned the entered comments.

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_*

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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1