Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 30 | QtObject { | |||
---|---|---|---|---|---|
94 | property int longDuration: units.longDuration | 94 | property int longDuration: units.longDuration | ||
95 | 95 | | |||
96 | /** | 96 | /** | ||
97 | * units.shortDuration should be used for short animations, such as accentuating a UI event, | 97 | * units.shortDuration should be used for short animations, such as accentuating a UI event, | ||
98 | * hover events, etc.. | 98 | * hover events, etc.. | ||
99 | */ | 99 | */ | ||
100 | property int shortDuration: units.shortDuration | 100 | property int shortDuration: units.shortDuration | ||
101 | 101 | | |||
102 | /** | ||||
103 | * units.veryLongDuration should be used for specialty animations that benefit | ||||
104 | * from being even longer than longDuration. | ||||
105 | */ | ||||
106 | property int veryLongDuration: units.veryLongDuration | ||||
107 | | ||||
102 | readonly property QtObject __styleItem: QtQuickControlsPrivate.StyleItem {elementType: "frame" } | 108 | readonly property QtObject __styleItem: QtQuickControlsPrivate.StyleItem {elementType: "frame" } | ||
103 | 109 | | |||
104 | /** | 110 | /** | ||
105 | * How much the mouse scroll wheel scrolls, expressed in lines of text. | 111 | * How much the mouse scroll wheel scrolls, expressed in lines of text. | ||
106 | * Note: this is strictly for classical mouse wheels, touchpads 2 figer scrolling won't be affected | 112 | * Note: this is strictly for classical mouse wheels, touchpads 2 figer scrolling won't be affected | ||
107 | */ | 113 | */ | ||
108 | readonly property int wheelScrollLines: __styleItem.styleHint("wheelScrollLines") | 114 | readonly property int wheelScrollLines: __styleItem.styleHint("wheelScrollLines") | ||
109 | 115 | | |||
Show All 21 Lines |