Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Signals | Public Member Functions | List of all members
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...
 
virtual ~QApplicationTOPP ()
 Destructor. More...
 
virtual bool notify (QObject *rec, QEvent *ev)
 
bool event (QEvent *)
 

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 ( )
virtual

Destructor.

Member Function Documentation

◆ event()

bool event ( QEvent *  event)

◆ fileOpen

void fileOpen ( QString  file)
signal

Referenced by QApplicationTOPP::event().

◆ notify()

bool notify ( QObject rec,
QEvent *  ev 
)
virtual

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:12 using doxygen 1.8.13