Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/FullRepresentation.qml
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 32 | Item { | |||
---|---|---|---|---|---|
45 | state: "Normal" | 45 | state: "Normal" | ||
46 | 46 | | |||
47 | onFocusChanged: { | 47 | onFocusChanged: { | ||
48 | header.input.forceActiveFocus(); | 48 | header.input.forceActiveFocus(); | ||
49 | } | 49 | } | ||
50 | 50 | | |||
51 | function switchToInitial() { | 51 | function switchToInitial() { | ||
52 | if (firstButton != null) { | 52 | if (firstButton != null) { | ||
53 | root.state = "Normal"; | ||||
53 | mainTabGroup.currentTab = firstButton.tab; | 54 | mainTabGroup.currentTab = firstButton.tab; | ||
54 | tabBar.currentTab = firstButton; | 55 | tabBar.currentTab = firstButton; | ||
55 | header.query = "" | 56 | header.query = "" | ||
56 | header.state = "hint"; | 57 | header.state = "hint"; | ||
57 | root.state = "Normal"; | | |||
58 | } | 58 | } | ||
59 | } | 59 | } | ||
60 | 60 | | |||
61 | Kicker.DragHelper { | 61 | Kicker.DragHelper { | ||
62 | id: dragHelper | 62 | id: dragHelper | ||
63 | 63 | | |||
64 | dragIconSize: units.iconSizes.medium | 64 | dragIconSize: units.iconSizes.medium | ||
65 | onDropped: kickoff.dragSource = null | 65 | onDropped: kickoff.dragSource = null | ||
▲ Show 20 Lines • Show All 560 Lines • Show Last 20 Lines |