casa
$Rev:20696$
|
#include <SearchMoleculesResultsWidget.qo.h>
Public Member Functions | |
SearchMoleculesResultsWidget (QWidget *parent=0) | |
~SearchMoleculesResultsWidget () | |
QList< int > | getLineIndices () const |
bool | getLine (int lineIndex, Float &peak, Float ¢er, QString &molecularName, QString &chemicalName, QString &resolvedQNs, QString &frequencyUnits) const |
void | getLines (QList< float > &peaks, QList< float > ¢ers, QString molecularName, QList< QString > &chemicalNames, QList< QString > &resolvedQNSs, QString frequencyUnit) const |
int | getLineCount () const |
int | getSelectedLineCount () 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. | |
Private Types | |
enum | ResultColumns { COL_SPECIES_ID, COL_SPECIES, COL_CHEMICAL, COL_FREQUENCY, 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 |
Definition at line 34 of file SearchMoleculesResultsWidget.qo.h.
enum casa::SearchMoleculesResultsWidget::ResultColumns [private] |
Definition at line 59 of file SearchMoleculesResultsWidget.qo.h.
casa::SearchMoleculesResultsWidget::SearchMoleculesResultsWidget | ( | QWidget * | parent = 0 | ) |
void casa::SearchMoleculesResultsWidget::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::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] |
Ui::SearchMoleculesResultsWidgetClass casa::SearchMoleculesResultsWidget::ui [private] |
Definition at line 58 of file SearchMoleculesResultsWidget.qo.h.