Handles exceptions which the QT event handlers and QApplication do not handle.
More...
#include <QIsisApplication.h>
|
| void | openUrl (QUrl url) |
| | Open a URL in the browser specified by Isis.
|
| |
|
| | QIsisApplication (int &argc, char *argv[]) |
| | Constructor.
|
| |
| virtual bool | notify (QObject *rec, QEvent *ev) |
| | notify - this function overrides the QApplication notify as QT event handlers do not handle exceptions.
|
| |
Handles exceptions which the QT event handlers and QApplication do not handle.
This class is derived of QApplication and handles the exception on handled by QT event handlers and QApplication. This class overrides QApplication's notify().
- Author
- 2009-11-24 Sharmila Prasad
◆ QIsisApplication()
| Isis::QIsisApplication::QIsisApplication |
( |
int & | argc, |
|
|
char * | argv[] ) |
Constructor.
- Parameters
-
| argc | Pass this in from main(argc, argv) |
| argv | Pass this in from main(argc, argv) |
◆ notify()
| bool Isis::QIsisApplication::notify |
( |
QObject * | rec, |
|
|
QEvent * | ev ) |
|
virtual |
notify - this function overrides the QApplication notify as QT event handlers do not handle exceptions.
QIsisApplication handles the exception by catching it and displaying the MessageBox Warning.
- Author
- Sharmila Prasad (11/24/2009)
- Parameters
-
| rec | - QObject where the exception occured |
| ev | - Event where the exception occured |
- Returns
- bool
◆ openUrl
| void Isis::QIsisApplication::openUrl |
( |
QUrl | url | ) |
|
|
slot |
Open a URL in the browser specified by Isis.
The documentation for this class was generated from the following files: