java.lang.Object
io.qt.QtObject
io.qt.widgets.QStyleOption
io.qt.widgets.QStyleOptionHeader
io.qt.widgets.QStyleOptionHeaderV2
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to describe the parameters for drawing a header
Java wrapper for Qt's class QStyleOptionHeaderV2
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.widgets.QStyleOptionHeader
QStyleOptionHeader.SectionPosition, QStyleOptionHeader.SelectedPosition, QStyleOptionHeader.SortIndicator
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
QStyleOptionHeaderV2
(int version) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QStyleOptionHeaderV2 arg__1) clone()
final boolean
Kotlin property getter.final Qt.TextElideMode
Kotlin property getter.final boolean
Whether the section is the location at which a dragged section will be insertedfinal void
set
(QStyleOptionHeaderV2 arg__1) Deprecated.final void
setIsSectionDragTarget
(boolean isSectionDragTarget) Whether the section is the location at which a dragged section will be insertedfinal void
setTextElideMode
(Qt.TextElideMode textElideMode) Where ellipsis should be added for text that is too long to fit into an itemfinal Qt.TextElideMode
Where ellipsis should be added for text that is too long to fit into an itemMethods inherited from class io.qt.widgets.QStyleOptionHeader
assign, getIcon, getIconAlignment, getOrientation, getPosition, getSection, getSelectedPosition, getSortIndicator, getText, getTextAlignment, 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
assign, direction, fontMetrics, getDirection, getFontMetrics, getPalette, getRect, getState, getStyleObject, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
Deprecated.Useassign(io.qt.widgets.QStyleOptionHeaderV2)
instead. -
assign
-
setIsSectionDragTarget
Whether the section is the location at which a dragged section will be inserted
-
getIsSectionDragTarget
Kotlin property getter. In Java use
isSectionDragTarget()
instead. -
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
-
getTextElideMode
Kotlin property getter. In Java use
textElideMode()
instead. -
textElideMode
Where ellipsis should be added for text that is too long to fit into an item
-
clone
- Overrides:
clone
in classQStyleOptionHeader
-
assign(io.qt.widgets.QStyleOptionHeaderV2)
instead.