java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionHeader
io.qt.widgets.QStyleOptionHeaderV2
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionHeaderV2 extends QStyleOptionHeader implements Cloneable
Used to describe the parameters for drawing a header
Java wrapper for Qt class QStyleOptionHeaderV2
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.widgets.QStyleOptionHeader
QStyleOptionHeader.SectionPosition, QStyleOptionHeader.SelectedPosition, QStyleOptionHeader.SortIndicator
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionHeaderV2()
protected
QStyleOptionHeaderV2(int version)
protected
QStyleOptionHeaderV2(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionHeaderV2(QStyleOptionHeaderV2 other)
-
Method Summary
Modifier and Type Method Description QStyleOptionHeaderV2
clone()
boolean
isSectionDragTarget()
Whether the section is the location at which a dragged section will be insertedvoid
set(QStyleOptionHeaderV2 arg__1)
void
setIsSectionDragTarget(boolean isSectionDragTarget)
Whether the section is the location at which a dragged section will be insertedvoid
setTextElideMode(Qt.TextElideMode textElideMode)
Where ellipsis should be added for text that is too long to fit into an itemQt.TextElideMode
textElideMode()
Where ellipsis should be added for text that is too long to fit into an itemMethods inherited from class io.qt.widgets.QStyleOptionHeader
icon, iconAlignment, orientation, position, section, selectedPosition, set, setIcon, setIconAlignment, setIconAlignment, setOrientation, setPosition, setSection, setSelectedPosition, setSortIndicator, setText, setTextAlignment, setTextAlignment, sortIndicator, text, textAlignment
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionHeaderV2
public QStyleOptionHeaderV2() -
QStyleOptionHeaderV2
-
QStyleOptionHeaderV2
protected QStyleOptionHeaderV2(int version) -
QStyleOptionHeaderV2
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setIsSectionDragTarget
Whether the section is the location at which a dragged section will be inserted
-
isSectionDragTarget
Whether the section is the location at which a dragged section will be inserted
-
setTextElideMode
Where ellipsis should be added for text that is too long to fit into an item
-
textElideMode
Where ellipsis should be added for text that is too long to fit into an item
-
clone
- Overrides:
clone
in classQStyleOptionHeader
-