Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | Private Slots

DBOpenDialog Class Reference
[Dialogs]

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

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

Inheritance diagram for DBOpenDialog:
QDialog

List of all members.

Public Member Functions

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

Protected Attributes

DBConnectionconnection_
 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.

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.

~DBOpenDialog (  ) 

Destructor.


Member Function Documentation

void loadSpectra (  )  [private, slot]

Slot for refreshing the shown spectra.

void ok (  )  [private, slot]

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.10.0 Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1