#include <JQTabbedPaneBridge.h>
Public Slots | |
void | insertTab (JNIEnv *env, jlong tabBridge, jint index, jstring title) |
Inserts tab at specified position. | |
void | removeChild (JNIEnv *env, jlong childBridge) |
Removes the specified child. | |
void | setTabPlacement (JNIEnv *env, jint tabPlacement) |
Sets tab placement. | |
void | setTabEnabled (JNIEnv *env, jint index, jboolean enabled) |
Enables/disables the specified tab. | |
void | setTabTitleText (JNIEnv *env, jint index, jstring titleText) |
Sets tab title. | |
void | setTabToolTipText (JNIEnv *env, jint index, jstring toolTipText) |
Sets tooltip of the specified tab. | |
void | setTabWhatsThisText (JNIEnv *env, jint index, jstring whatsThisText) |
Sets what's this text of the specified tab. | |
void | setTabIcon (JNIEnv *env, jint index, jobject iconSet) |
Sets tab icon. | |
void | setCurrentIndex (JNIEnv *env, jint index) |
Sets currently selected tab index. | |
Public Member Functions | |
void | currentChanged (jint selectedIndex) |
Calls currentChanged method of the tabbed pan object. | |
QTabWidget * | qTabWidget () const |
Returns QTabWidget adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQTabbedPaneBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | currentChangedSlot (int index) |
currentChanged slot. | |
Protected Member Functions | |
JQTabbedPaneBridge (JNIEnv *env, jobject obj) | |
Constructs new JQTabbedPaneBridge object. |
JQTabbedPaneBridge::JQTabbedPaneBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQTabbedPaneBridge object.
env | the JNIEnv pointer | |
obj | JQTabbedPane object |
void JQTabbedPaneBridge::insertTab | ( | JNIEnv * | env, | |
jlong | tabBridge, | |||
jint | index, | |||
jstring | title | |||
) | [slot] |
Inserts tab at specified position.
env | the JNIEnv pointer | |
tabBridge | the tab brige pointer | |
index | the index | |
title | the tab title |
void JQTabbedPaneBridge::removeChild | ( | JNIEnv * | env, | |
jlong | childBridge | |||
) | [slot] |
Removes the specified child.
env | the JNIEnv pointer | |
childBridge | the child bridge pointer |
Reimplemented from JQContainerBridge.
void JQTabbedPaneBridge::setTabPlacement | ( | JNIEnv * | env, | |
jint | tabPlacement | |||
) | [slot] |
Sets tab placement.
env | the JNIEnv pointer | |
tabPlacement | the tab placement |
void JQTabbedPaneBridge::setTabEnabled | ( | JNIEnv * | env, | |
jint | index, | |||
jboolean | enabled | |||
) | [slot] |
Enables/disables the specified tab.
env | the JNIEnv pointer | |
index | the tab index | |
enabled | true if enabled |
void JQTabbedPaneBridge::setTabTitleText | ( | JNIEnv * | env, | |
jint | index, | |||
jstring | titleText | |||
) | [slot] |
Sets tab title.
env | the JNIEnv pointer | |
index | the tab index | |
titleText | the title text |
void JQTabbedPaneBridge::setTabToolTipText | ( | JNIEnv * | env, | |
jint | index, | |||
jstring | toolTipText | |||
) | [slot] |
Sets tooltip of the specified tab.
env | the JNIEnv pointer | |
index | the tab index | |
toolTipText | the tool tip text |
void JQTabbedPaneBridge::setTabWhatsThisText | ( | JNIEnv * | env, | |
jint | index, | |||
jstring | whatsThisText | |||
) | [slot] |
Sets what's this text of the specified tab.
env | the JNIEnv pointer | |
index | the tab index | |
whatsThisText | the what's this text |
void JQTabbedPaneBridge::setTabIcon | ( | JNIEnv * | env, | |
jint | index, | |||
jobject | iconSet | |||
) | [slot] |
Sets tab icon.
env | the JNIEnv pointer | |
index | the tab index | |
iconSet | the tab icon |
void JQTabbedPaneBridge::setCurrentIndex | ( | JNIEnv * | env, | |
jint | index | |||
) | [slot] |
Sets currently selected tab index.
env | the JNIEnv pointer | |
index | the index |
void JQTabbedPaneBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQTabbedPaneBridge class.
env | the JNIEnv pointer | |
cls | the JQTabbedPane class |
FatalError | if failed |
Reimplemented from JQContainerBridge.
jlong JQTabbedPaneBridge::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 JQTabbedPaneBridge::currentChanged | ( | jint | selectedIndex | ) |
Calls currentChanged
method of the tabbed pan object.
selectedIndex | the selected index |
QTabWidget * JQTabbedPaneBridge::qTabWidget | ( | ) | const [inline] |
Returns QTabWidget adaptee.
void JQTabbedPaneBridge::currentChangedSlot | ( | int | index | ) | [protected, slot] |
currentChanged slot.
index | the index |