MIRA
Public Member Functions | List of all members
FrameworkWithGui::Application Class Reference

Implements our own Application derived from QApplication in order to overwrite the notify method. More...

#include <fw/FrameworkWithGui.h>

Inheritance diagram for FrameworkWithGui::Application:
Inheritance graph
[legend]

Public Member Functions

 Application (int &argc, char **argv)
 
bool notify (QObject *rec, QEvent *ev)
 Overwrites QApplication::notify in order to catch exceptions. More...
 

Detailed Description

Implements our own Application derived from QApplication in order to overwrite the notify method.

In this method we catch exceptions and show a MessageBox instead of terminating the whole process (which is the default behavior of QApplication ...)

Constructor & Destructor Documentation

◆ Application()

Application ( int &  argc,
char **  argv 
)
inline

Member Function Documentation

◆ notify()

bool notify ( QObject *  rec,
QEvent *  ev 
)
inline

Overwrites QApplication::notify in order to catch exceptions.


The documentation for this class was generated from the following file: