com.trolltech.qt.gui
Class QStyleOptionFrameV3

java.lang.Object
  extended by com.trolltech.qt.internal.QSignalEmitterInternal
      extended by com.trolltech.qt.QSignalEmitter
          extended by com.trolltech.qt.QtJambiObject
              extended by com.trolltech.qt.gui.QStyleOption
                  extended by com.trolltech.qt.gui.QStyleOptionFrame
                      extended by com.trolltech.qt.gui.QStyleOptionFrameV2
                          extended by com.trolltech.qt.gui.QStyleOptionFrameV3
All Implemented Interfaces:
QtJambiInterface, java.lang.Cloneable

public class QStyleOptionFrameV3
extends QStyleOptionFrameV2
implements java.lang.Cloneable

The QStyleOptionFrameV3 class is used to describe the parameters necessary for drawing a frame in Qt 4. or above. QStyleOptionFrameV3 inherits QStyleOptionFrameV2

An instance of the QStyleOptionFrameV3 class has typeSO_Frame and version 3. The type is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles. The version is used by QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally do not need to check it.

See also:
QStyleOptionFrameV2, and QStyleOption.


Nested Class Summary
static class QStyleOptionFrameV3.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.QStyleOptionFrameV2
QStyleOptionFrameV2.FrameFeature, QStyleOptionFrameV2.FrameFeatures
 
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QStyleOptionFrame
QStyleOptionFrame.StyleOptionType
 
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QStyleOption
QStyleOption.OptionType
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.AbstractSignal, QSignalEmitter.PrivateSignal0, QSignalEmitter.PrivateSignal1, QSignalEmitter.PrivateSignal2, QSignalEmitter.PrivateSignal3, QSignalEmitter.PrivateSignal4, QSignalEmitter.PrivateSignal5, QSignalEmitter.PrivateSignal6, QSignalEmitter.PrivateSignal7, QSignalEmitter.PrivateSignal8, QSignalEmitter.PrivateSignal9, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9
 
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal
 
Field Summary
 
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
currentSender
 
Constructor Summary
QStyleOptionFrameV3()
          Constructs a QStyleOptionFrameV3 object.
QStyleOptionFrameV3(QStyleOptionFrame other)
          Constructs a QStyleOptionFrameV3 copy of the other style option which can be either of the QStyleOptionFrameV3 or QStyleOptionFrame types.
QStyleOptionFrameV3(QStyleOptionFrameV3 other)
          Constructs a QStyleOptionFrameV3 copy of the other style option.
 
Method Summary
 QStyleOptionFrameV3 clone()
          This method is reimplemented for internal reasons
 QFrame.Shape frameShape()
          This variable holds This property holds the frame shape value of the frame.
 void setFrameShape(QFrame.Shape frameShape)
          This variable holds This property holds the frame shape value of the frame.
 void setUnused(int unused)
           
 int unused()
           
 
Methods inherited from class com.trolltech.qt.gui.QStyleOptionFrameV2
features, setFeatures, setFeatures
 
Methods inherited from class com.trolltech.qt.gui.QStyleOptionFrame
lineWidth, midLineWidth, setLineWidth, setMidLineWidth
 
Methods inherited from class com.trolltech.qt.gui.QStyleOption
direction, fontMetrics, initFrom, palette, rect, setDirection, setFontMetrics, setPalette, setRect, setState, 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 com.trolltech.qt.internal.QSignalEmitterInternal
__qt_signalInitialization
 
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

QStyleOptionFrameV3

public QStyleOptionFrameV3()
Constructs a QStyleOptionFrameV3 object.


QStyleOptionFrameV3

public QStyleOptionFrameV3(QStyleOptionFrame other)
Constructs a QStyleOptionFrameV3 copy of the other style option which can be either of the QStyleOptionFrameV3 or QStyleOptionFrame types.

If the other style option's version is 1, the new style option's FrameFeature value is set to QStyleOptionFrameV2::None . If its version is 2 or lower, QStyleOptionFrameV3::frameShape value is QFrame::NoFrame

See also:
version.


QStyleOptionFrameV3

public QStyleOptionFrameV3(QStyleOptionFrameV3 other)
Constructs a QStyleOptionFrameV3 copy of the other style option.

Method Detail

setFrameShape

public final void setFrameShape(QFrame.Shape frameShape)
This variable holds This property holds the frame shape value of the frame.

See also:
QFrame::frameShape.


frameShape

public final QFrame.Shape frameShape()
This variable holds This property holds the frame shape value of the frame.

See also:
QFrame::frameShape.


setUnused

public final void setUnused(int unused)

unused

public final int unused()

clone

public QStyleOptionFrameV3 clone()
This method is reimplemented for internal reasons

Overrides:
clone in class QStyleOptionFrameV2