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 class QStyleOptionHeaderV2
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.widgets.QStyleOptionHeader
QStyleOptionHeader.SectionPosition, QStyleOptionHeader.SelectedPosition, QStyleOptionHeader.SortIndicator -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QStyleOptionHeaderV2 arg__1) SeeQStyleOptionHeaderV2::operator=(QStyleOptionHeaderV2) clone()Creates and returns a copy of this object.final booleanWhether the section is the location at which a dragged section will be insertedfinal voidset(QStyleOptionHeaderV2 arg__1) Deprecated.final voidsetIsSectionDragTarget(boolean isSectionDragTarget) Whether the section is the location at which a dragged section will be insertedfinal voidsetTextElideMode(Qt.TextElideMode textElideMode) Where ellipsis should be added for text that is too long to fit into an itemfinal Qt.TextElideModeWhere ellipsis should be added for text that is too long to fit into an itemMethods inherited from class io.qt.widgets.QStyleOptionHeader
assign, icon, iconAlignment, orientation, position, section, selectedPosition, set, setIcon, setIcon, setIconAlignment, setIconAlignment, setOrientation, setPosition, setSection, setSelectedPosition, setSortIndicator, setText, setTextAlignment, setTextAlignment, sortIndicator, text, textAlignmentMethods inherited from class io.qt.widgets.QStyleOption
assign, direction, fontMetrics, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toStringMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStyleOptionHeaderV2
public QStyleOptionHeaderV2() -
QStyleOptionHeaderV2
-
-
Method Details
-
assign
See
QStyleOptionHeaderV2::operator=(QStyleOptionHeaderV2) -
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
Creates and returns a copy of this object.
See
QStyleOptionHeaderV2::QStyleOptionHeaderV2(QStyleOptionHeaderV2) - Overrides:
clonein classQStyleOptionHeader
-
set
Deprecated.Useassign(io.qt.widgets.QStyleOptionHeaderV2)instead.
-
assign(io.qt.widgets.QStyleOptionHeaderV2)instead.