Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
QApplicationTOPP Class Reference

Extension to the QApplication for running TOPPs GUI tools. More...

#include <OpenMS/VISUAL/APPLICATIONS/MISC/QApplicationTOPP.h>

Inheritance diagram for QApplicationTOPP:
QApplication

Signals

void fileOpen (QString file)
 

Public Member Functions

 QApplicationTOPP (int &argc, char **argv)
 Constructor (no NOT remove the "&" from argc, since Qt will segfault on some platforms otherwise!) More...
 
 ~QApplicationTOPP () override
 Destructor. More...
 
bool notify (QObject *rec, QEvent *ev) override
 
bool event (QEvent *) override
 

Detailed Description

Extension to the QApplication for running TOPPs GUI tools.

Basically re-implements notify of QApplication to prevent ungraceful exit.

Constructor & Destructor Documentation

◆ QApplicationTOPP()

QApplicationTOPP ( int &  argc,
char **  argv 
)

Constructor (no NOT remove the "&" from argc, since Qt will segfault on some platforms otherwise!)

References GUIProgressLoggerImpl::create(), File::find(), GUIProgressLoggerImpl::getProductName(), Factory< FactoryProduct >::registerProduct(), and String::toQString().

◆ ~QApplicationTOPP()

~QApplicationTOPP ( )
override

Destructor.

Member Function Documentation

◆ event()

bool event ( QEvent *  event)
override

◆ fileOpen

void fileOpen ( QString  file)
signal

Referenced by QApplicationTOPP::event().

◆ notify()

bool notify ( QObject rec,
QEvent *  ev 
)
override

OpenMS / TOPP release 2.3.0 Documentation generated on Wed Apr 18 2018 19:29:16 using doxygen 1.8.14