Changeset View
Changeset View
Standalone View
Standalone View
plugins/kdecorations/aurorae/src/qml/aurorae.qml
Show All 24 Lines | 24 | Component.onCompleted: { | |||
---|---|---|---|---|---|
25 | borders.left = Qt.binding(function() { return Math.max(0, auroraeTheme.borderLeft);}); | 25 | borders.left = Qt.binding(function() { return Math.max(0, auroraeTheme.borderLeft);}); | ||
26 | borders.right = Qt.binding(function() { return Math.max(0, auroraeTheme.borderRight);}); | 26 | borders.right = Qt.binding(function() { return Math.max(0, auroraeTheme.borderRight);}); | ||
27 | borders.top = Qt.binding(function() { return Math.max(0, auroraeTheme.borderTop);}); | 27 | borders.top = Qt.binding(function() { return Math.max(0, auroraeTheme.borderTop);}); | ||
28 | borders.bottom = Qt.binding(function() { return Math.max(0, auroraeTheme.borderBottom);}); | 28 | borders.bottom = Qt.binding(function() { return Math.max(0, auroraeTheme.borderBottom);}); | ||
29 | maximizedBorders.left = Qt.binding(function() { return Math.max(0, auroraeTheme.borderLeftMaximized);}); | 29 | maximizedBorders.left = Qt.binding(function() { return Math.max(0, auroraeTheme.borderLeftMaximized);}); | ||
30 | maximizedBorders.right = Qt.binding(function() { return Math.max(0, auroraeTheme.borderRightMaximized);}); | 30 | maximizedBorders.right = Qt.binding(function() { return Math.max(0, auroraeTheme.borderRightMaximized);}); | ||
31 | maximizedBorders.bottom = Qt.binding(function() { return Math.max(0, auroraeTheme.borderBottomMaximized);}); | 31 | maximizedBorders.bottom = Qt.binding(function() { return Math.max(0, auroraeTheme.borderBottomMaximized);}); | ||
32 | maximizedBorders.top = Qt.binding(function() { return Math.max(0, auroraeTheme.borderTopMaximized);}); | 32 | maximizedBorders.top = Qt.binding(function() { return Math.max(0, auroraeTheme.borderTopMaximized);}); | ||
33 | extendedBorders.left = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderLeft)); | ||||
34 | extendedBorders.right = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderRight)); | ||||
35 | extendedBorders.top = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderTop)); | ||||
36 | extendedBorders.bottom = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderBottom)); | ||||
37 | maximizedExtendedBorders.left = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderLeftMaximized)); | ||||
38 | maximizedExtendedBorders.right = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderRightMaximized)); | ||||
39 | maximizedExtendedBorders.top = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderTopMaximized)); | ||||
40 | maximizedExtendedBorders.bottom = Qt.binding(() => Math.max(0, auroraeTheme.resizeOnlyBorderBottomMaximized)); | ||||
33 | padding.left = auroraeTheme.paddingLeft; | 41 | padding.left = auroraeTheme.paddingLeft; | ||
34 | padding.right = auroraeTheme.paddingRight; | 42 | padding.right = auroraeTheme.paddingRight; | ||
35 | padding.bottom = auroraeTheme.paddingBottom; | 43 | padding.bottom = auroraeTheme.paddingBottom; | ||
36 | padding.top = auroraeTheme.paddingTop; | 44 | padding.top = auroraeTheme.paddingTop; | ||
37 | root.animate = true; | 45 | root.animate = true; | ||
38 | } | 46 | } | ||
39 | DecorationOptions { | 47 | DecorationOptions { | ||
40 | id: options | 48 | id: options | ||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |