Warning, /maui/mauikit/src/controls.6/Icon.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick
0002 import org.mauikit.controls 1.3 as Maui
0003
0004 /**
0005 * @inherit Icon
0006 * @brief An item for displaying an icon from an asset or from the icon theme, or from an image source.
0007 *
0008 * @warning This element is just an alias around the Icon object. Checkout the Icon properties for more details.
0009 * @see Icon.
0010 */
0011 Maui.PrivateIcon
0012 {
0013 id: control
0014
0015 implicitHeight: Maui.Style.iconSize
0016 implicitWidth: implicitHeight
0017
0018 /**
0019 * @brief The current icon theme being used as part of the Maui Shell.
0020 * This is exposed to check changes on the used icon theme for hot reloading the icons.
0021 */
0022 readonly property string currentIconTheme: Maui.Style.currentIconTheme
0023
0024 onCurrentIconThemeChanged:
0025 {
0026 control.refresh();
0027 }
0028 }
0029