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

#include <SearchMoleculesWidget.qo.h>

List of all members.

Signals

void searchCompleted ()

Public Member Functions

 SearchMoleculesWidget (QWidget *parent=0)
void setCanvas (QtCanvas *drawCanvas)
QString getUnit () const
bool isLocal () const
void setRange (double min, double max, QString units)
void updateReferenceFrame ()
void setResultDisplay (SearchMoleculesResultDisplayer *resultDisplay)
double getRedShiftedValue (bool reverseRedshift, double value) const
vector< SplatResultgetSearchResults () const
MDoppler::Types getDopplerType () const
MRadialVelocity::Types getReferenceFrame () const
 ~SearchMoleculesWidget ()

Static Public Member Functions

static void setInitialReferenceFrame (QString initialReferenceStr)

Static Public Attributes

static const QString SPLATALOGUE_UNITS

Private Types

enum  AstroFilters {
  NONE,
  TOP_20,
  PLANETARY_ATMOSPHERE,
  HOT_CORES,
  DARK_CLOUDS,
  DIFFUSE_CLOUDS,
  COMETS,
  AGB_PPN_PN,
  EXTRAGALACTIC
}

Private Slots

void search ()
void searchUnitsChanged (const QString &searchUnits)
void dopplerShiftChanged ()
void dopplerVelocityUnitsChanged ()
void searchFinished ()
void prevResults ()
void nextResults ()
void stopSearch ()

Private Member Functions

void setAstronomicalFilters (Searcher *searcher)
void convertRangeLineEdit (QLineEdit *lineEdit, Converter *converter)
void initializeSearchRange (QLineEdit *lineEdit, Double &value)
vector< string > initializeChemicalNames ()
void startSearchThread ()
void setSearchRangeDefault ()
void setRangeValue (double value, QString units, QLineEdit *lineEdit)
MDoppler getRedShiftAdjustment (bool reverseRedshift) const

Private Attributes

Ui::SearchMoleculesWidget ui
QString unitStr
QString dopplerVelocityUnitStr
vector< SplatResultsearchResults
QList< QString > velocityUnitsList
QMap< QString,
MRadialVelocity::Types
radialVelocityTypeMap
QMap< QString, MDoppler::TypesdopplerTypeMap
bool dopplerInVelocity
bool searchInterrupted
SearchThreadsearchThread
Searchersearcher
QtCanvascanvas
QProgressDialog progressBar
int searchResultCount
 Scrolling support.
int searchResultOffset
int searchResultLimit
SearchMoleculesResultDisplayerresultDisplay

Static Private Attributes

static QString initialReferenceStr
static const double SPLATALOGUE_DEFAULT_MIN
static const double SPLATALOGUE_DEFAULT_MAX

Detailed Description

Definition at line 106 of file SearchMoleculesWidget.qo.h.


Member Enumeration Documentation

Enumerator:
NONE 
TOP_20 
PLANETARY_ATMOSPHERE 
HOT_CORES 
DARK_CLOUDS 
DIFFUSE_CLOUDS 
COMETS 
AGB_PPN_PN 
EXTRAGALACTIC 

Definition at line 155 of file SearchMoleculesWidget.qo.h.


Constructor & Destructor Documentation


Member Function Documentation

void casa::SearchMoleculesWidget::convertRangeLineEdit ( QLineEdit *  lineEdit,
Converter converter 
) [private]
MDoppler casa::SearchMoleculesWidget::getRedShiftAdjustment ( bool  reverseRedshift) const [private]
double casa::SearchMoleculesWidget::getRedShiftedValue ( bool  reverseRedshift,
double  value 
) const
void casa::SearchMoleculesWidget::initializeSearchRange ( QLineEdit *  lineEdit,
Double value 
) [private]
void casa::SearchMoleculesWidget::nextResults ( ) [private, slot]
void casa::SearchMoleculesWidget::prevResults ( ) [private, slot]
void casa::SearchMoleculesWidget::search ( ) [private, slot]
void casa::SearchMoleculesWidget::searchUnitsChanged ( const QString &  searchUnits) [private, slot]
static void casa::SearchMoleculesWidget::setInitialReferenceFrame ( QString  initialReferenceStr) [static]
void casa::SearchMoleculesWidget::setRange ( double  min,
double  max,
QString  units 
)
void casa::SearchMoleculesWidget::setRangeValue ( double  value,
QString  units,
QLineEdit *  lineEdit 
) [private]
void casa::SearchMoleculesWidget::stopSearch ( ) [private, slot]

Member Data Documentation

Definition at line 170 of file SearchMoleculesWidget.qo.h.

Definition at line 166 of file SearchMoleculesWidget.qo.h.

Definition at line 165 of file SearchMoleculesWidget.qo.h.

Definition at line 161 of file SearchMoleculesWidget.qo.h.

Definition at line 143 of file SearchMoleculesWidget.qo.h.

QProgressDialog casa::SearchMoleculesWidget::progressBar [private]

Definition at line 171 of file SearchMoleculesWidget.qo.h.

Definition at line 164 of file SearchMoleculesWidget.qo.h.

Definition at line 181 of file SearchMoleculesWidget.qo.h.

Definition at line 169 of file SearchMoleculesWidget.qo.h.

Definition at line 167 of file SearchMoleculesWidget.qo.h.

Scrolling support.

Definition at line 175 of file SearchMoleculesWidget.qo.h.

Definition at line 177 of file SearchMoleculesWidget.qo.h.

Definition at line 176 of file SearchMoleculesWidget.qo.h.

Definition at line 162 of file SearchMoleculesWidget.qo.h.

Definition at line 168 of file SearchMoleculesWidget.qo.h.

Definition at line 180 of file SearchMoleculesWidget.qo.h.

Definition at line 179 of file SearchMoleculesWidget.qo.h.

Definition at line 126 of file SearchMoleculesWidget.qo.h.

Ui::SearchMoleculesWidget casa::SearchMoleculesWidget::ui [private]

Definition at line 158 of file SearchMoleculesWidget.qo.h.

Definition at line 160 of file SearchMoleculesWidget.qo.h.

Definition at line 163 of file SearchMoleculesWidget.qo.h.


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