An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer 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. | |
Public Member Functions | |
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().
Isis::QIsisApplication::QIsisApplication | ( | int & | argc, |
char * | argv[] ) |
Constructor.
argc | Pass this in from main(argc, argv) |
argv | Pass this in from main(argc, argv) |
References Isis::PvlObject::clear(), Isis::FileName::expanded(), Isis::Preference::Load(), and Isis::Preference::Preferences().
|
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 |
References Isis::IException::what().
|
slot |
Open a URL in the browser specified by Isis.