hilitedItemIcons
Type
property
Summary
The icons for actions when highlighted.
Syntax
get the hilitedItemIcons of <widget>
set the hilitedItemIcons of <widget> to <iconNames>
Description
The icons of the header bar actions. These are the icons displayed by each action when highlighted.
Each icon name must be one of the predefined graphics provided by the "IconSVG"
library. You can get a list of available predefined path names by running
put iconNames()
in the Message Box.
If you set the hilitedItemIcons to a string that has more items than the current number of actions, the header bar will automatically create a new header action with a default label and name.
However, setting the hilitedItemIcons to a string that has fewer items than the current number of actions doesn't remove an action; it just resets any further actions to the default icon.