#include <QStyleManager.h>
Public Slots | |
jboolean | setStyle (JNIEnv *env, jstring name) |
Sets the specified style. | |
void | setTheme (JNIEnv *env, jobject colorPalette, jobject fontSet) |
Sets theme. | |
void | setUseSystemTheme (JNIEnv *env, jboolean useSystemTheme) |
Sets whether or not using system theme. | |
void | fillPalette (JNIEnv *env, jobject customColorPalette, jstring name) |
Fills the specified color palette. | |
void | fillPalette (JNIEnv *env, jobject customColorPalette, jint argb) |
Fills the palette using specified color. | |
void | fillFontSet (JNIEnv *env, jobject customFontSet, jstring name) |
Fills the specified font set. | |
Public Member Functions | |
const QString & | systemStyleName () const |
Returns system style name. | |
const QString & | systemStyleDescription () const |
Returns system style description. | |
QStringList & | availableStyleNames () |
Returns available style names. | |
QStringList & | availableThemeNames () |
Returns available theme names. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass systemColorPaletteClass, jclass systemFontSetClass) |
Initializes QStyleManager class. | |
static void | setCustomProperty (const QString &name, const QString &value) |
Sets custom property. | |
static QStyleManager * | instance () |
Returns QStyleManager instance. |
const QString & QStyleManager::systemStyleName | ( | ) | const |
Returns system style name.
const QString & QStyleManager::systemStyleDescription | ( | ) | const |
Returns system style description.
QStringList & QStyleManager::availableStyleNames | ( | ) |
Returns available style names.
QStringList & QStyleManager::availableThemeNames | ( | ) |
Returns available theme names.
jboolean QStyleManager::setStyle | ( | JNIEnv * | env, | |
jstring | name | |||
) | [slot] |
Sets the specified style.
env | the JNIEnv pointer | |
name | the style name |
true
if succeed void QStyleManager::setTheme | ( | JNIEnv * | env, | |
jobject | colorPalette, | |||
jobject | fontSet | |||
) | [slot] |
Sets theme.
env | the JNIEnv pointer | |
colorPalette | the color palette | |
fontSet | the font set |
void QStyleManager::setUseSystemTheme | ( | JNIEnv * | env, | |
jboolean | useSystemTheme | |||
) | [slot] |
Sets whether or not using system theme.
env | the JNIEnv pointer | |
useSystemTheme | true if using system theme |
void QStyleManager::fillPalette | ( | JNIEnv * | env, | |
jobject | customColorPalette, | |||
jstring | name | |||
) | [slot] |
Fills the specified color palette.
env | the JNIEnv pointer | |
customColorPalette | the CustomColorPalette java object | |
name | the color palette name |
void QStyleManager::fillPalette | ( | JNIEnv * | env, | |
jobject | customColorPalette, | |||
jint | argb | |||
) | [slot] |
Fills the palette using specified color.
env | the JNIEnv pointer | |
customColorPalette | the ColorPalette java object | |
argb | the argb value of the color |
void QStyleManager::fillFontSet | ( | JNIEnv * | env, | |
jobject | customFontSet, | |||
jstring | name | |||
) | [slot] |
Fills the specified font set.
env | the JNIEnv pointer | |
customFontSet | the CustomFontSet java object | |
name | the font set name |
void QStyleManager::initialize | ( | JNIEnv * | env, | |
jclass | systemColorPaletteClass, | |||
jclass | systemFontSetClass | |||
) | [static] |
Initializes QStyleManager class.
env | the JNIEnv pointer | |
systemColorPaletteClass | the CustomColorPalette class | |
systemFontSetClass | the CustomFontSet class |
void QStyleManager::setCustomProperty | ( | const QString & | name, | |
const QString & | value | |||
) | [static] |
Sets custom property.
name | the property name | |
value | the property value |
QStyleManager * QStyleManager::instance | ( | ) | [inline, static] |