#include <OpenMS/VISUAL/DIALOGS/DBSpectrumSelectorDialog.h>
Public Member Functions | |
DBSpectrumSelectorDialog (DBConnection &adapter, std::vector< UInt > &result, QWidget *parent=0) | |
Constructor. | |
~DBSpectrumSelectorDialog () | |
Destructor. | |
Protected Attributes | |
DBConnection & | adapter_ |
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. |
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
.
Destructor.
void ok | ( | ) | [private, slot] |
Slot for accepting the selection.
void loadSpectra | ( | ) | [private, slot] |
Slot for refreshing the shown spectra.
DBConnection& adapter_ [protected] |
DB connection.
QLineEdit* search_string_ [protected] |
pointer to the search string lineedit
QTableWidget* table_ [protected] |
pointer to the table for displaying the overview
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |