Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/IntroIcon.qml
Show All 28 Lines | 25 | MouseArea { | |||
---|---|---|---|---|---|
29 | property string module | 29 | property string module | ||
30 | property int iconSize: Kirigami.Units.iconSizes.huge | 30 | property int iconSize: Kirigami.Units.iconSizes.huge | ||
31 | Layout.minimumWidth: Kirigami.Units.iconSizes.medium | 31 | Layout.minimumWidth: Kirigami.Units.iconSizes.medium | ||
32 | Layout.minimumHeight: column.implicitHeight | 32 | Layout.minimumHeight: column.implicitHeight | ||
33 | cursorShape: Qt.PointingHandCursor | 33 | cursorShape: Qt.PointingHandCursor | ||
34 | Layout.fillWidth: true | 34 | Layout.fillWidth: true | ||
35 | Layout.alignment: Qt.AlignTop | 35 | Layout.alignment: Qt.AlignTop | ||
36 | activeFocusOnTab: true | 36 | activeFocusOnTab: true | ||
37 | hoverEnabled: true | ||||
37 | 38 | | |||
38 | onClicked: systemsettings.loadMostUsed(index); | 39 | onClicked: systemsettings.loadMostUsed(index); | ||
40 | onEntered: systemsettings.requestMostUsedToolTip(index, item.mapToItem(root, 0, Kirigami.Units.largeSpacing, width, height)); | ||||
41 | onExited: systemsettings.hideMostUsedToolTip(); | ||||
39 | 42 | | |||
40 | Keys.onTabPressed: { | 43 | Keys.onTabPressed: { | ||
41 | if (index < (mostUsedRepeater.count-1)) { | 44 | if (index < (mostUsedRepeater.count-1)) { | ||
42 | event.accepted = false; | 45 | event.accepted = false; | ||
43 | } else { | 46 | } else { | ||
44 | root.focusNextRequest(); | 47 | root.focusNextRequest(); | ||
45 | } | 48 | } | ||
46 | } | 49 | } | ||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |