com.trolltech.qt.gui
Class QStyleOptionTabWidgetFrame

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.QStyleOptionTabWidgetFrame
All Implemented Interfaces:
QtJambiInterface, java.lang.Cloneable

public class QStyleOptionTabWidgetFrame
extends QStyleOption
implements java.lang.Cloneable

The QStyleOptionTabWidgetFrame class is used to describe the parameters for drawing the frame around a tab widget. QStyleOptionTabWidgetFrame contains all the information that QStyle functions need to draw the frame around QTabWidget.

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.

See also:
QStyleOption, and QTabWidget.


Nested Class Summary
static class QStyleOptionTabWidgetFrame.StyleOptionType
          This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass.
static class QStyleOptionTabWidgetFrame.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.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
QStyleOptionTabWidgetFrame()
          Constructs a QStyleOptionTabWidgetFrame, initializing the members variables to their default values.
QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame other)
          Constructs a copy of other.
 
Method Summary
 QStyleOptionTabWidgetFrame clone()
          This method is reimplemented for internal reasons
 QSize leftCornerWidgetSize()
          This variable holds the size of the left-corner widget.
 int lineWidth()
          This variable holds the line width for drawing the panel.
 int midLineWidth()
          This variable holds the mid-line width for drawing the panel.
 QSize rightCornerWidgetSize()
          This variable holds the size of the right-corner widget.
 void setLeftCornerWidgetSize(QSize leftCornerWidgetSize)
          This variable holds the size of the left-corner widget.
 void setLineWidth(int lineWidth)
          This variable holds the line width for drawing the panel.
 void setMidLineWidth(int midLineWidth)
          This variable holds the mid-line width for drawing the panel.
 void setRightCornerWidgetSize(QSize rightCornerWidgetSize)
          This variable holds the size of the right-corner widget.
 void setShape(QTabBar.Shape shape)
          This variable holds the tab shape used to draw the tabs.
 void setTabBarSize(QSize tabBarSize)
          This variable holds the size of the tab bar.
 QTabBar.Shape shape()
          This variable holds the tab shape used to draw the tabs.
 QSize tabBarSize()
          This variable holds the size of the tab bar.
 
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

QStyleOptionTabWidgetFrame

public QStyleOptionTabWidgetFrame()
Constructs a QStyleOptionTabWidgetFrame, initializing the members variables to their default values.


QStyleOptionTabWidgetFrame

public QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame other)
Constructs a copy of other.

Method Detail

setLineWidth

public final void setLineWidth(int lineWidth)
This variable holds the line width for drawing the panel. The default value is 0.


lineWidth

public final int lineWidth()
This variable holds the line width for drawing the panel. The default value is 0.


setRightCornerWidgetSize

public final void setRightCornerWidgetSize(QSize rightCornerWidgetSize)
This variable holds the size of the right-corner widget. The default value is QSize(-1, -1), i.e. an invalid size.


rightCornerWidgetSize

public final QSize rightCornerWidgetSize()
This variable holds the size of the right-corner widget. The default value is QSize(-1, -1), i.e. an invalid size.


setTabBarSize

public final void setTabBarSize(QSize tabBarSize)
This variable holds the size of the tab bar. The default value is QSize(-1, -1), i.e. an invalid size.


tabBarSize

public final QSize tabBarSize()
This variable holds the size of the tab bar. The default value is QSize(-1, -1), i.e. an invalid size.


setShape

public final void setShape(QTabBar.Shape shape)
This variable holds the tab shape used to draw the tabs. The default value is QTabBar::RoundedNorth .


shape

public final QTabBar.Shape shape()
This variable holds the tab shape used to draw the tabs. The default value is QTabBar::RoundedNorth .


setMidLineWidth

public final void setMidLineWidth(int midLineWidth)
This variable holds the mid-line width for drawing the panel. The mid line width is usually used in drawing sunken or raised frames. The default value is 0.


midLineWidth

public final int midLineWidth()
This variable holds the mid-line width for drawing the panel. The mid line width is usually used in drawing sunken or raised frames. The default value is 0.


setLeftCornerWidgetSize

public final void setLeftCornerWidgetSize(QSize leftCornerWidgetSize)
This variable holds the size of the left-corner widget. The default value is QSize(-1, -1), i.e. an invalid size.


leftCornerWidgetSize

public final QSize leftCornerWidgetSize()
This variable holds the size of the left-corner widget. The default value is QSize(-1, -1), i.e. an invalid size.


clone

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

Overrides:
clone in class QStyleOption