#include <JQStatusBarBridge.h>
Public Slots | |
void | showMessage (JNIEnv *env, jstring message, jint timeout) |
Displays the specified message. | |
void | clearMessage (JNIEnv *env) |
Clears status message. | |
void | insertChild (JNIEnv *env, jlong childBridge, jint index) |
Inserts temporary child. | |
void | insertPermanentChild (JNIEnv *env, jlong childBridge, jint index) |
Inserts permanent child. | |
void | removeChild (JNIEnv *env, jlong childBridge) |
Removes the specified child. | |
void | setSizeGripEnabled (JNIEnv *env, jboolean enabled) |
Sets whether or not the size grip is visible. | |
Public Member Functions | |
void | statusMessgeChanged (jstring message) |
Calls statusMessgeChanged method of the JQStatusBar object. | |
QStatusBar * | qStatusBar () const |
Returns QStatusBar adaptee. | |
virtual void | setParentBridge (JQContainerBridge *parentBridge) |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQStatusBarBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | messageChangedSlot (const QString &message) |
Message changend slot. | |
Protected Member Functions | |
JQStatusBarBridge (JNIEnv *env, jobject obj) | |
Constructs new JQStatusBarBridge object. |
JQStatusBarBridge::JQStatusBarBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQStatusBarBridge object.
env | the JNIEnv pointer | |
obj | the QSwing JQStatusBar object |
void JQStatusBarBridge::showMessage | ( | JNIEnv * | env, | |
jstring | message, | |||
jint | timeout | |||
) | [slot] |
Displays the specified message.
env | the JNIEnv pointer | |
message | the message | |
timeout | the message time out |
void JQStatusBarBridge::clearMessage | ( | JNIEnv * | env | ) | [slot] |
Clears status message.
env | the JNIEnv pointer |
void JQStatusBarBridge::insertChild | ( | JNIEnv * | env, | |
jlong | childBridge, | |||
jint | index | |||
) | [slot] |
Inserts temporary child.
env | the JNIEnv pointer | |
childBridge | the child bridge | |
index | the child index |
Reimplemented from JQContainerBridge.
void JQStatusBarBridge::insertPermanentChild | ( | JNIEnv * | env, | |
jlong | childBridge, | |||
jint | index | |||
) | [slot] |
Inserts permanent child.
env | the JNIEnv pointer | |
childBridge | the child bridge pointer | |
index | the child index |
void JQStatusBarBridge::removeChild | ( | JNIEnv * | env, | |
jlong | childBridge | |||
) | [slot] |
Removes the specified child.
env | the JNIEnv pointer | |
childBridge | the child bridge pointer |
Reimplemented from JQContainerBridge.
void JQStatusBarBridge::setSizeGripEnabled | ( | JNIEnv * | env, | |
jboolean | enabled | |||
) | [slot] |
Sets whether or not the size grip is visible.
env | the JNIEnv pointer | |
enabled | true if enabled |
void JQStatusBarBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQStatusBarBridge class.
env | the JNIEnv pointer | |
cls | the JQStatusBar class |
FatalError | if failed |
Reimplemented from JQContainerBridge.
jlong JQStatusBarBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQContainerBridge.
void JQStatusBarBridge::statusMessgeChanged | ( | jstring | message | ) |
Calls statusMessgeChanged method of the JQStatusBar object.
message | the new status message |
QStatusBar * JQStatusBarBridge::qStatusBar | ( | ) | const [inline] |
Returns QStatusBar adaptee.
void JQStatusBarBridge::setParentBridge | ( | JQContainerBridge * | parentBridge | ) | [virtual] |
Sets parent bridge.
parentBridge | the parent bridge |
Reimplemented from JQComponentBridge.
void JQStatusBarBridge::messageChangedSlot | ( | const QString & | message | ) | [protected, slot] |
Message changend slot.
message | the status message |