com.trolltech.qt.gui
Class QStyleOptionViewItemV3

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.QStyleOptionViewItem
                      extended by com.trolltech.qt.gui.QStyleOptionViewItemV2
                          extended by com.trolltech.qt.gui.QStyleOptionViewItemV3
All Implemented Interfaces:
QtJambiInterface, java.lang.Cloneable
Direct Known Subclasses:
QStyleOptionViewItemV4

public class QStyleOptionViewItemV3
extends QStyleOptionViewItemV2
implements java.lang.Cloneable

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

An instance of the QStyleOptionViewItemV3 class has typeSO_ViewItem 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 QStyleOptionFrameV2's detailed description for a discussion of how to handle "V2" and other versioned classes.

See also:
QStyleOptionViewItem, and QStyleOption.


Nested Class Summary
static class QStyleOptionViewItemV3.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.QStyleOptionViewItemV2
QStyleOptionViewItemV2.ViewItemFeature, QStyleOptionViewItemV2.ViewItemFeatures
 
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QStyleOptionViewItem
QStyleOptionViewItem.Position, QStyleOptionViewItem.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
QStyleOptionViewItemV3()
          Constructs a QStyleOptionViewItemV3 object.
QStyleOptionViewItemV3(QStyleOptionViewItem other)
          Constructs a copy of other.
QStyleOptionViewItemV3(QStyleOptionViewItemV3 other)
          Creates a new QStyleOptionViewItemV3 that is a copy of other.
 
Method Summary
 QStyleOptionViewItemV3 clone()
          This method is reimplemented for internal reasons
 QLocale locale()
           
 void setLocale(QLocale locale)
           
 QWidget widget()
           
 
Methods inherited from class com.trolltech.qt.gui.QStyleOptionViewItemV2
features, setFeatures, setFeatures
 
Methods inherited from class com.trolltech.qt.gui.QStyleOptionViewItem
decorationAlignment, decorationPosition, decorationSize, displayAlignment, font, setDecorationAlignment, setDecorationAlignment, setDecorationPosition, setDecorationSize, setDisplayAlignment, setDisplayAlignment, setFont, setShowDecorationSelected, setTextElideMode, showDecorationSelected, textElideMode
 
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

QStyleOptionViewItemV3

public QStyleOptionViewItemV3()
Constructs a QStyleOptionViewItemV3 object.


QStyleOptionViewItemV3

public QStyleOptionViewItemV3(QStyleOptionViewItem other)
Constructs a copy of other.


QStyleOptionViewItemV3

public QStyleOptionViewItemV3(QStyleOptionViewItemV3 other)
Creates a new QStyleOptionViewItemV3 that is a copy of other.

Method Detail

widget

public final QWidget widget()

setLocale

public final void setLocale(QLocale locale)

locale

public final QLocale locale()

clone

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

Overrides:
clone in class QStyleOptionViewItemV2