Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | Private Slots | List of all members
DBOpenDialog Class Reference

Dialog that allow selecting a spectrum from a DB. More...

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

Inheritance diagram for DBOpenDialog:
QDialog

Public Member Functions

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

Protected Attributes

DBConnectionconnection_
 DB connection. More...
 
std::vector< UInt > & result_
 reference to the result vector More...
 
QLineEditsearch_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...
 

Detailed Description

Dialog that allow selecting a spectrum from a DB.

Constructor & Destructor Documentation

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.

Destructor.

Member Function Documentation

void loadSpectra ( )
privateslot

Slot for refreshing the shown spectra.

void ok ( )
privateslot

Slot for accepting the selection.

Member Data Documentation

DBConnection& connection_
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


OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5