com.trolltech.qt.gui
Class QStyleOptionTabBarBaseV2
java.lang.Object
com.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QStyleOption
com.trolltech.qt.gui.QStyleOptionTabBarBase
com.trolltech.qt.gui.QStyleOptionTabBarBaseV2
- All Implemented Interfaces:
- QtJambiInterface, java.lang.Cloneable
public class QStyleOptionTabBarBaseV2
- extends QStyleOptionTabBarBase
- implements java.lang.Cloneable
The QStyleOptionTabBarBaseV2 class is used to describe the base of a tab bar, i. . the part that the tab bar usually overlaps with. QStyleOptionTabBarBase
contains all the information that QStyle
functions need to draw the tab bar base.
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 QTabBar::drawBase()
.
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 |
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
currentSender |
Method Summary |
QStyleOptionTabBarBaseV2 |
clone()
This method is reimplemented for internal reasons |
boolean |
documentMode()
This variable holds whether the tabbar is in document mode. |
void |
setDocumentMode(boolean documentMode)
This variable holds whether the tabbar is in document mode. |
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.internal.QSignalEmitterInternal |
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QStyleOptionTabBarBaseV2
public QStyleOptionTabBarBaseV2()
- Construct a QStyleOptionTabBarBaseV2, initializing the members vaiables to their default values.
QStyleOptionTabBarBaseV2
public QStyleOptionTabBarBaseV2(QStyleOptionTabBarBase other)
- Constructs a copy of other.
QStyleOptionTabBarBaseV2
public QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2 other)
- Constructs a copy of other.
setDocumentMode
public final void setDocumentMode(boolean documentMode)
- This variable holds whether the tabbar is in document mode. The default value is false;
documentMode
public final boolean documentMode()
- This variable holds whether the tabbar is in document mode. The default value is false;
clone
public QStyleOptionTabBarBaseV2 clone()
- This method is reimplemented for internal reasons
- Overrides:
clone
in class QStyleOptionTabBarBase