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

#include <LineOverlaysSearchResultsDialog.qo.h>

Inheritance diagram for casa::LineOverlaysSearchResultsDialog:
casa::SearchMoleculesResultDisplayer

Signals

void graphSelectedLines ()
 
void graphSelectedSpecies ()
 
void showPreviousSearchResults ()
 
void showNextSearchResults ()
 

Public Member Functions

 LineOverlaysSearchResultsDialog (QWidget *parent=0)
 
QList< int > getLineIndices () const
 
bool getLine (int lineIndex, float &peak, float &center, QString &molecularName, QString &chemicalName, QString &resolvedQNs, QString &frequencyUnit) const
 
void getLines (QList< float > &peaks, QList< float > &centers, QString &molecularName, QList< QString > &chemicalNames, QList< QString > &resolvedQNs, QString &frequencyUnit) 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...
 
int getLineCount () const
 
 ~LineOverlaysSearchResultsDialog ()
 
- Public Member Functions inherited from casa::SearchMoleculesResultDisplayer
 SearchMoleculesResultDisplayer ()
 
virtual ~SearchMoleculesResultDisplayer ()
 

Private Slots

void drawSelectedLines ()
 
void drawSelectedSpecies ()
 

Private Member Functions

void setSearchScrollingVisible (bool visible)
 

Private Attributes

Ui::LineOverlaysSearchResultsDialogClass ui
 
SearchMoleculesResultsWidgetsearchResultsWidget
 

Static Private Attributes

static const QString NO_LINES_SELECTED
 

Detailed Description

Definition at line 38 of file LineOverlaysSearchResultsDialog.qo.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void casa::LineOverlaysSearchResultsDialog::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.

void casa::LineOverlaysSearchResultsDialog::drawSelectedLines ( )
privateslot
void casa::LineOverlaysSearchResultsDialog::drawSelectedSpecies ( )
privateslot
bool casa::LineOverlaysSearchResultsDialog::getLine ( int  lineIndex,
float &  peak,
float &  center,
QString &  molecularName,
QString &  chemicalName,
QString &  resolvedQNs,
QString &  frequencyUnit 
) const
int casa::LineOverlaysSearchResultsDialog::getLineCount ( ) const
QList<int> casa::LineOverlaysSearchResultsDialog::getLineIndices ( ) const
void casa::LineOverlaysSearchResultsDialog::getLines ( QList< float > &  peaks,
QList< float > &  centers,
QString &  molecularName,
QList< QString > &  chemicalNames,
QList< QString > &  resolvedQNs,
QString &  frequencyUnit 
) const
void casa::LineOverlaysSearchResultsDialog::graphSelectedLines ( )
signal
void casa::LineOverlaysSearchResultsDialog::graphSelectedSpecies ( )
signal
void casa::LineOverlaysSearchResultsDialog::setSearchScrollingVisible ( bool  visible)
private
void casa::LineOverlaysSearchResultsDialog::showNextSearchResults ( )
signal
void casa::LineOverlaysSearchResultsDialog::showPreviousSearchResults ( )
signal

Member Data Documentation

const QString casa::LineOverlaysSearchResultsDialog::NO_LINES_SELECTED
staticprivate

Definition at line 70 of file LineOverlaysSearchResultsDialog.qo.h.

SearchMoleculesResultsWidget* casa::LineOverlaysSearchResultsDialog::searchResultsWidget
private

Definition at line 69 of file LineOverlaysSearchResultsDialog.qo.h.

Ui::LineOverlaysSearchResultsDialogClass casa::LineOverlaysSearchResultsDialog::ui
private

Definition at line 68 of file LineOverlaysSearchResultsDialog.qo.h.


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