Highlight
Properties | |
bool | active |
bool | hovered |
alias | marginHints |
bool | pressed |
Additional Inherited Members | |
Public Member Functions inherited from QtQuick.Item | |
childAt (real x, real y) | |
bool | contains (point point) |
dumpItemTree () | |
forceActiveFocus () | |
forceActiveFocus (Qt::FocusReason reason) | |
bool | grabToImage (callback, targetSize) |
point | mapFromGlobal (real x, real y) |
point | mapFromItem (Item item, point p) |
point | mapFromItem (Item item, real x, real y) |
rect | mapFromItem (Item item, real x, real y, real width, real height) |
rect | mapFromItem (Item item, rect r) |
point | mapToGlobal (real x, real y) |
point | mapToItem (Item item, point p) |
point | mapToItem (Item item, real x, real y) |
rect | mapToItem (Item item, real x, real y, real width, real height) |
rect | mapToItem (Item item, rect r) |
nextItemInFocusChain (bool forward) | |
Detailed Description
Highlight for a list or grid item.
Highlight provides the highlight used to indicate the active item in a model view. It is typically used in conjunction with the
- See also
- QtQuick.ListView::highlight or the
- QtQuick.GridView::highlight properties.
Provides built-in animation of Behavior on opacity Easing.OutQuad for a duration of 50ms (defined in Kirigami.Units.veryShortDuration).
Definition at line 38 of file Highlight.qml.
Property Documentation
◆ active
|
read |
This property holds whether the item is active.
True by default. Set it to false to visually mark an item that's in the "current item" or "selected" state but is not currently being hovered.
Definition at line 61 of file Highlight.qml.
◆ hovered
|
read |
This property holds whether the control is hovered.
This is set automatically when used in a ListView and GridView.
Definition at line 45 of file Highlight.qml.
◆ marginHints
|
read |
This property holds the margin hints used by the background.
Definition at line 55 of file Highlight.qml.
◆ pressed
|
read |
This property holds whether the highlight has a pressed appearance.
Definition at line 49 of file Highlight.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.