Dialog that allow selecting a spectrum from a DB. More...
#include <OpenMS/VISUAL/DIALOGS/DBOpenDialog.h>
Public Member Functions | |
DBOpenDialog (DBConnection &connection, std::vector< UInt > &result, QWidget *parent=0) | |
Constructor. More... | |
~DBOpenDialog () | |
Destructor. More... | |
Protected Attributes | |
DBConnection & | connection_ |
DB connection. More... | |
std::vector< UInt > & | result_ |
reference to the result vector More... | |
QLineEdit * | search_string_ |
pointer to the search string lineedit More... | |
QTableWidget * | table_ |
pointer to the table for displaying the overview More... | |
Private Slots | |
void | ok () |
Slot for accepting the selection. More... | |
void | loadSpectra () |
Slot for refreshing the shown spectra. More... | |
Dialog that allow selecting a spectrum from a DB.
DBOpenDialog | ( | DBConnection & | connection, |
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 connection
.
~DBOpenDialog | ( | ) |
Destructor.
|
privateslot |
Slot for refreshing the shown spectra.
|
privateslot |
Slot for accepting the selection.
|
protected |
DB connection.
|
protected |
reference to the result vector
|
protected |
pointer to the search string lineedit
|
protected |
pointer to the table for displaying the overview
OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5 |