Changeset View
Changeset View
Standalone View
Standalone View
toolboxes/desktoptoolbox/contents/ui/ToolBoxRoot.qml
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 31 | Item { | |||
---|---|---|---|---|---|
49 | onWidthChanged: placeToolBoxTimer.restart(); | 49 | onWidthChanged: placeToolBoxTimer.restart(); | ||
50 | onHeightChanged: placeToolBoxTimer.restart(); | 50 | onHeightChanged: placeToolBoxTimer.restart(); | ||
51 | 51 | | |||
52 | LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft) | 52 | LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft) | ||
53 | LayoutMirroring.childrenInherit: true | 53 | LayoutMirroring.childrenInherit: true | ||
54 | 54 | | |||
55 | ToolBoxButton { | 55 | ToolBoxButton { | ||
56 | id: toolBoxButton | 56 | id: toolBoxButton | ||
57 | visible: false | | |||
58 | Component.onCompleted: { | 57 | Component.onCompleted: { | ||
59 | placeToolBox(plasmoid.configuration.ToolBoxButtonState); | 58 | placeToolBox(plasmoid.configuration.ToolBoxButtonState); | ||
60 | toolBoxButton.visible = true | | |||
61 | } | 59 | } | ||
62 | } | 60 | } | ||
63 | 61 | | |||
64 | Timer { | 62 | Timer { | ||
65 | id: placeToolBoxTimer | 63 | id: placeToolBoxTimer | ||
66 | interval: 100 | 64 | interval: 100 | ||
67 | repeat: false | 65 | repeat: false | ||
68 | running: false | 66 | running: false | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |