|
|||||||||
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.QStyleOptionTabWidgetFrame
public class QStyleOptionTabWidgetFrame
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.
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.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
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 |
static QStyleOptionTabWidgetFrame |
fromNativePointer(QNativePointer nativePointer)
|
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. |
static QNativePointer |
nativePointerArray(QStyleOptionTabWidgetFrame[] array)
|
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, 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 QStyleOptionTabWidgetFrame()
QStyleOptionTabWidgetFrame
, initializing the members variables to their default values.
public QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame other)
Method Detail |
---|
public final void setLineWidth(int lineWidth)
public final int lineWidth()
public final void setRightCornerWidgetSize(QSize rightCornerWidgetSize)
QSize
(-1, -1), i.e. an invalid size.
public final QSize rightCornerWidgetSize()
QSize
(-1, -1), i.e. an invalid size.
public final void setTabBarSize(QSize tabBarSize)
QSize
(-1, -1), i.e. an invalid size.
public final QSize tabBarSize()
QSize
(-1, -1), i.e. an invalid size.
public final void setShape(QTabBar.Shape shape)
QTabBar::RoundedNorth
.
public final QTabBar.Shape shape()
QTabBar::RoundedNorth
.
public final void setMidLineWidth(int midLineWidth)
public final int midLineWidth()
public final void setLeftCornerWidgetSize(QSize leftCornerWidgetSize)
QSize
(-1, -1), i.e. an invalid size.
public final QSize leftCornerWidgetSize()
QSize
(-1, -1), i.e. an invalid size.
public static QStyleOptionTabWidgetFrame fromNativePointer(QNativePointer nativePointer)
public static QNativePointer nativePointerArray(QStyleOptionTabWidgetFrame[] array)
public QStyleOptionTabWidgetFrame clone()
clone
in class QStyleOption
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |