Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpanderArrow.qml
Show All 31 Lines | 25 | PlasmaCore.ToolTipArea { | |||
---|---|---|---|---|---|
32 | 32 | | |||
33 | subText: root.expanded ? i18n("Close popup") : i18n("Show hidden icons") | 33 | subText: root.expanded ? i18n("Close popup") : i18n("Show hidden icons") | ||
34 | 34 | | |||
35 | MouseArea { | 35 | MouseArea { | ||
36 | id: arrowMouseArea | 36 | id: arrowMouseArea | ||
37 | anchors.fill: parent | 37 | anchors.fill: parent | ||
38 | onClicked: root.expanded = !root.expanded | 38 | onClicked: root.expanded = !root.expanded | ||
39 | 39 | | |||
40 | readonly property int arrowAnimationDuration: units.shortDuration * 3 | 40 | readonly property int arrowAnimationDuration: units.shortDuration | ||
41 | 41 | | |||
42 | PlasmaCore.Svg { | 42 | PlasmaCore.Svg { | ||
43 | id: arrowSvg | 43 | id: arrowSvg | ||
44 | imagePath: "widgets/arrows" | 44 | imagePath: "widgets/arrows" | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | PlasmaCore.SvgItem { | 47 | PlasmaCore.SvgItem { | ||
48 | id: arrow | 48 | id: arrow | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |