Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

DBSpectrumSelectorDialog Class Reference
[Dialogs]

#include <OpenMS/VISUAL/DIALOGS/DBSpectrumSelectorDialog.h>

Inheritance diagram for DBSpectrumSelectorDialog:

QDialog

List of all members.


Detailed Description

Dialog that allow selecting a spectrum from a DB.

Public Member Functions

 DBSpectrumSelectorDialog (DBConnection &adapter, std::vector< UInt > &result, QWidget *parent=0)
 Constructor.
 ~DBSpectrumSelectorDialog ()
 Destructor.

Protected Attributes

DBConnectionadapter_
 DB connection.
std::vector< UInt > & result_
 reference to the result vector
QLineEdit * search_string_
 pointer to the search string lineedit
QTableWidget * table_
 pointer to the table for displaying the overview

Private Slots

void ok ()
 Slot for accepting the selection.
void loadSpectra ()
 Slot for refreshing the shown spectra.

Constructor & Destructor Documentation

DBSpectrumSelectorDialog ( DBConnection adapter,
std::vector< UInt > &  result,
QWidget parent = 0 
)

Constructor.

The spectrum ids to load are inserted into the result vector.

An external DB connection is used by handing over adapter.

~DBSpectrumSelectorDialog (  ) 

Destructor.


Member Function Documentation

void ok (  )  [private, slot]

Slot for accepting the selection.

void loadSpectra (  )  [private, slot]

Slot for refreshing the shown spectra.


Member Data Documentation

DBConnection& adapter_ [protected]

DB connection.

std::vector<UInt>& result_ [protected]

reference to the result vector

QLineEdit* search_string_ [protected]

pointer to the search string lineedit

QTableWidget* table_ [protected]

pointer to the table for displaying the overview


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1