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

#include <SearchMoleculesResultsWidget.qo.h>

Inheritance diagram for casa::SearchMoleculesResultsWidget:
casa::SearchMoleculesResultDisplayer

Public Member Functions

 SearchMoleculesResultsWidget (QWidget *parent=0)
 
 ~SearchMoleculesResultsWidget ()
 
QList< int > getLineIndices () const
 
bool getLine (int lineIndex, float &peak, float &center, QString &molecularName, QString &chemicalName, QString &resolvedQNs, QString &frequencyUnits) const
 
void getLines (QList< float > &peaks, QList< float > &centers, QString molecularName, QList< QString > &chemicalNames, QList< QString > &resolvedQNSs, QString frequencyUnit) const
 
int getLineCount () const
 
int getSelectedLineCount () const
 
void displaySearchResults (const std::vector< SplatResult > &results, int offset, int totalCount)
 The parameters offset and count determine where the passed in results fit in the overall search. More...
 
- Public Member Functions inherited from casa::SearchMoleculesResultDisplayer
 SearchMoleculesResultDisplayer ()
 
virtual ~SearchMoleculesResultDisplayer ()
 

Private Types

enum  ResultColumns {
  COL_SPECIES_ID,
  COL_SPECIES,
  COL_CHEMICAL,
  COL_FREQUENCY,
  COL_TEMPERATURE,
  COL_QN,
  COL_INTENSITY,
  COLUMN_COUNT
}
 

Private Member Functions

void initializeTable ()
 
void setTableValue (int row, int col, const QString &val)
 
void setTableValueHTML (int row, int col, const QString &val)
 
void setTableValue (int row, int col, double val)
 

Private Attributes

Ui::SearchMoleculesResultsWidgetClass ui
 

Detailed Description

Definition at line 34 of file SearchMoleculesResultsWidget.qo.h.

Member Enumeration Documentation

Enumerator
COL_SPECIES_ID 
COL_SPECIES 
COL_CHEMICAL 
COL_FREQUENCY 
COL_TEMPERATURE 
COL_QN 
COL_INTENSITY 
COLUMN_COUNT 

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

Constructor & Destructor Documentation

casa::SearchMoleculesResultsWidget::SearchMoleculesResultsWidget ( QWidget *  parent = 0)
casa::SearchMoleculesResultsWidget::~SearchMoleculesResultsWidget ( )

Member Function Documentation

void casa::SearchMoleculesResultsWidget::displaySearchResults ( const std::vector< SplatResult > &  results,
int  offset,
int  countTotal 
)
virtual

The parameters offset and count determine where the passed in results fit in the overall search.

The 'offset' parameters in the starting index and countTotal is the total number of search results available. This may be smaller than the number of results returned if the countTotal exceeds the limit on the number of search results obtained at one time.

Implements casa::SearchMoleculesResultDisplayer.

bool casa::SearchMoleculesResultsWidget::getLine ( int  lineIndex,
float &  peak,
float &  center,
QString &  molecularName,
QString &  chemicalName,
QString &  resolvedQNs,
QString &  frequencyUnits 
) const
int casa::SearchMoleculesResultsWidget::getLineCount ( ) const
QList<int> casa::SearchMoleculesResultsWidget::getLineIndices ( ) const
void casa::SearchMoleculesResultsWidget::getLines ( QList< float > &  peaks,
QList< float > &  centers,
QString  molecularName,
QList< QString > &  chemicalNames,
QList< QString > &  resolvedQNSs,
QString  frequencyUnit 
) const
int casa::SearchMoleculesResultsWidget::getSelectedLineCount ( ) const
void casa::SearchMoleculesResultsWidget::initializeTable ( )
private
void casa::SearchMoleculesResultsWidget::setTableValue ( int  row,
int  col,
const QString &  val 
)
private
void casa::SearchMoleculesResultsWidget::setTableValue ( int  row,
int  col,
double  val 
)
private
void casa::SearchMoleculesResultsWidget::setTableValueHTML ( int  row,
int  col,
const QString &  val 
)
private

Member Data Documentation

Ui::SearchMoleculesResultsWidgetClass casa::SearchMoleculesResultsWidget::ui
private

Definition at line 57 of file SearchMoleculesResultsWidget.qo.h.


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