#include <QApplicationAdapter.h>
Signals | |
void | aboutQtSignal () |
void | setTranslationSignal (bool *succeed, const QString &fileName) |
void | removeTranslationSignal () |
void | setStyleSheetSignal (const QString &styleSheetText) |
void | setOverrideCursorSignal (jint type) |
void | changeOverrideCursorSignal (jint type) |
void | restoreOverrideCursorSignal () |
void | aboutQSwingSignal () |
Public Member Functions | |
QApplicationAdapter (int &argc, char **argv) | |
Constructs new QApplicationAdapter object. | |
void | aboutQt (JNIEnv *env) |
Displays about Qt message box. | |
void | aboutQSwing (JNIEnv *env) |
Displays about QSwing message box. | |
bool | setTranslation (JNIEnv *env, const QString &fileName) |
Sets translation. | |
void | removeTranslation (JNIEnv *env) |
Removes translation. | |
void | setStyleSheet (JNIEnv *env, jstring styleSheetText) |
Sets style sheet. | |
void | setOverrideCursor (JNIEnv *env, jint type) |
Sets application override cursor. | |
void | changeOverrideCursor (JNIEnv *env, jint type) |
Changes application override cursor. | |
void | restoreOverrideCursor (JNIEnv *env) |
Undos last setOverrideCursor(). | |
void | setFontSet (QFontSet *fontSet) |
Sets font set. | |
Static Public Member Functions | |
static int | exec (bool quitOnLastWindowClosed) |
Quits main loop. |
QApplicationAdapter::QApplicationAdapter | ( | int & | argc, | |
char ** | argv | |||
) |
Constructs new QApplicationAdapter object.
argc | the number of command line arguments | |
argv | the command line arguments |
void QApplicationAdapter::aboutQt | ( | JNIEnv * | env | ) |
Displays about Qt message box.
env | the JNIEnv pointer |
void QApplicationAdapter::aboutQSwing | ( | JNIEnv * | env | ) |
Displays about QSwing message box.
env | the JNIEnv pointer |
bool QApplicationAdapter::setTranslation | ( | JNIEnv * | env, | |
const QString & | fileName | |||
) |
Sets translation.
env | the JNIEnv pointer | |
fileName | the translation file name |
true
if succeed void QApplicationAdapter::removeTranslation | ( | JNIEnv * | env | ) |
Removes translation.
env | the JNIEnv pointer |
void QApplicationAdapter::setStyleSheet | ( | JNIEnv * | env, | |
jstring | styleSheetText | |||
) |
Sets style sheet.
env | the JNIEnv pointer | |
styleSheetText | the style sheet text |
void QApplicationAdapter::setOverrideCursor | ( | JNIEnv * | env, | |
jint | type | |||
) |
Sets application override cursor.
env | the JNIEnv pointer | |
type | the style cursor type |
void QApplicationAdapter::changeOverrideCursor | ( | JNIEnv * | env, | |
jint | type | |||
) |
Changes application override cursor.
env | the JNIEnv pointer | |
type | the style cursor type |
void QApplicationAdapter::restoreOverrideCursor | ( | JNIEnv * | env | ) |
void QApplicationAdapter::setFontSet | ( | QFontSet * | fontSet | ) |
Sets font set.
fontSet | the font set |
int QApplicationAdapter::exec | ( | bool | quitOnLastWindowClosed | ) | [static] |
Quits main loop.
quitOnLastWindowClosed | if true exits main loop when last window is closed |