Isis 3 Programmer Reference
|
Handles exceptions which the QT event handlers and QApplication do not handle. More...
#include <QIsisApplication.h>
Public Slots | |
void | openUrl (QUrl url) |
Open a URL in the browser specified by Isis. More... | |
Public Member Functions | |
QIsisApplication (int &argc, char *argv[]) | |
Constructor. More... | |
virtual bool | notify (QObject *rec, QEvent *ev) |
notify - this function overrides the QApplication notify as QT event handlers do not handle exceptions. More... | |
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().
2010-06-29 Steven Lambright - Added a setlocale to english for numeric values
2012-03-22 Steven Lambright - Added the Url handler for http:// links. Currently using QWebView - we may want options later.
Definition at line 50 of file QIsisApplication.h.
Isis::QIsisApplication::QIsisApplication | ( | int & | argc, |
char * | argv[] | ||
) |
Constructor.
argc | Pass this in from main(argc, argv) |
argv | Pass this in from main(argc, argv) |
Definition at line 28 of file QIsisApplication.cpp.
References Isis::FileName::expanded().
|
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.
rec | - QObject where the exception occured |
ev | - Event where the exception occured |
Definition at line 74 of file QIsisApplication.cpp.
References Isis::IException::what().
|
slot |
Open a URL in the browser specified by Isis.
Definition at line 88 of file QIsisApplication.cpp.