Changeset View
Changeset View
Standalone View
Standalone View
src/controls/ActionTextField.qml
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 87 | Shortcut { | |||
---|---|---|---|---|---|
90 | sequence: root.focusSequence | 90 | sequence: root.focusSequence | ||
91 | onActivated: { | 91 | onActivated: { | ||
92 | root.forceActiveFocus() | 92 | root.forceActiveFocus() | ||
93 | root.selectAll() | 93 | root.selectAll() | ||
94 | } | 94 | } | ||
95 | } | 95 | } | ||
96 | 96 | | |||
97 | Controls.ToolTip { | 97 | Controls.ToolTip { | ||
98 | delay: Kirigami.Units.longDuration | | |||
99 | visible: root.focusSequence && root.text.length === 0 && !rightActionsRow.hovered && !leftActionsRow.hovered && hovered | 98 | visible: root.focusSequence && root.text.length === 0 && !rightActionsRow.hovered && !leftActionsRow.hovered && hovered | ||
100 | text: root.focusSequence ? root.focusSequence : "" | 99 | text: root.focusSequence ? root.focusSequence : "" | ||
101 | } | 100 | } | ||
102 | 101 | | |||
103 | Row { | 102 | Row { | ||
104 | id: leftActionsRow | 103 | id: leftActionsRow | ||
105 | padding: Kirigami.Units.smallSpacing | 104 | padding: Kirigami.Units.smallSpacing | ||
106 | anchors.left: parent.left | 105 | anchors.left: parent.left | ||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |