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

#include <LineOverlaysSearchResultsDialog.qo.h>

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

List of all members.

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 vector< SplatResult > &results, int offset, int totalCount)
 The parameters offset and count determine where the passed in results fit in the overall search.
int getLineCount () const
 ~LineOverlaysSearchResultsDialog ()

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


Member Function Documentation

void casa::LineOverlaysSearchResultsDialog::displaySearchResults ( const 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::LineOverlaysSearchResultsDialog::getLine ( int  lineIndex,
Float peak,
Float center,
QString &  molecularName,
QString &  chemicalName,
QString &  resolvedQNs,
QString &  frequencyUnit 
) const
void casa::LineOverlaysSearchResultsDialog::getLines ( QList< float > &  peaks,
QList< float > &  centers,
QString &  molecularName,
QList< QString > &  chemicalNames,
QList< QString > &  resolvedQNs,
QString &  frequencyUnit 
) const

Member Data Documentation

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

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

Ui::LineOverlaysSearchResultsDialogClass casa::LineOverlaysSearchResultsDialog::ui [private]

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


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