casa
$Rev:20696$
|
Widget used for entering options specific to the DS9 format. More...
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. |
Widget used for entering options specific to the DS9 format.
Definition at line 187 of file DS9FileWriter.qo.h.
Constructor.
Destructor.
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.