|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QStyleOption
com.trolltech.qt.gui.QStyleOptionFocusRect
public class QStyleOptionFocusRect
The QStyleOptionFocusRect
class is used to describe the parameters for drawing a focus rectangle with QStyle
. For performance reasons, the access to the member variables is direct (i.e., using the . or -> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.
For an example demonstrating how style options can be used, see the Styles example.
QStyleOption
.
Nested Class Summary | |
---|---|
static class |
QStyleOptionFocusRect.StyleOptionType
This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass. |
static class |
QStyleOptionFocusRect.StyleOptionVersion
This enum is used to hold information about the version of the style option, and is defined for each QStyleOption subclass. |
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QStyleOption |
---|
QStyleOption.OptionType |
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Constructor Summary | |
---|---|
QStyleOptionFocusRect()
Constructs a QStyleOptionFocusRect , initializing the members variables to their default values. |
|
QStyleOptionFocusRect(QStyleOptionFocusRect other)
Constructs a copy of the other style option. |
Method Summary | |
---|---|
QColor |
backgroundColor()
This variable holds the background color on which the focus rectangle is being drawn. |
QStyleOptionFocusRect |
clone()
This method is reimplemented for internal reasons |
static QStyleOptionFocusRect |
fromNativePointer(QNativePointer nativePointer)
|
static QNativePointer |
nativePointerArray(QStyleOptionFocusRect[] array)
|
void |
setBackgroundColor(QColor backgroundColor)
This variable holds the background color on which the focus rectangle is being drawn. |
Methods inherited from class com.trolltech.qt.gui.QStyleOption |
---|
direction, fontMetrics, initFrom, nativePointerArray, palette, rect, setDirection, setFontMetrics, setPalette, setRect, setState, setType, setVersion, state, type, version |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QStyleOptionFocusRect()
QStyleOptionFocusRect
, initializing the members variables to their default values.
public QStyleOptionFocusRect(QStyleOptionFocusRect other)
Method Detail |
---|
public final void setBackgroundColor(QColor backgroundColor)
public final QColor backgroundColor()
public static QStyleOptionFocusRect fromNativePointer(QNativePointer nativePointer)
public static QNativePointer nativePointerArray(QStyleOptionFocusRect[] array)
public QStyleOptionFocusRect clone()
clone
in class QStyleOption
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |