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. | |
| ~DBOpenDialog () | |
| Destructor. | |
Protected Attributes | |
| DBConnection & | connection_ |
| 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. | |
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.
| void loadSpectra | ( | ) | [private, slot] |
Slot for refreshing the shown spectra.
| void ok | ( | ) | [private, slot] |
Slot for accepting the selection.
DBConnection& connection_ [protected] |
DB connection.
QLineEdit* search_string_ [protected] |
pointer to the search string lineedit
QTableWidget* table_ [protected] |
pointer to the table for displaying the overview
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |