Differential D9287 Diff 23814 src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml
Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml
Show All 13 Lines | |||||
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public | ||
15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.1 | 20 | import QtQuick 2.1 | ||
21 | //for Settings | 21 | //for Settings | ||
22 | import QtQuick.Controls 1.0 as Controls | 22 | import QtQuick.Controls 1.0 as Controls | ||
23 | import QtQuick.Controls.Private 1.0 | | |||
24 | import org.kde.plasma.core 2.0 as PlasmaCore | 23 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
davidedmundson: does this change kill this?
If so +1000 | |||||
mart: ah, yes it does, will remove | |||||
24 | import org.kde.kirigami 2.2 as Kirigami | ||||
25 | 25 | | |||
26 | PlasmaCore.FrameSvgItem { | 26 | PlasmaCore.FrameSvgItem { | ||
27 | id: background | 27 | id: background | ||
28 | 28 | | |||
29 | property bool separatorVisible: false | 29 | property bool separatorVisible: false | ||
30 | imagePath: "widgets/listitem" | 30 | imagePath: "widgets/listitem" | ||
31 | prefix: control.highlighted || control.pressed ? "pressed" : "normal" | 31 | prefix: control.highlighted || control.pressed ? "pressed" : "normal" | ||
32 | 32 | | |||
33 | visible: control.ListView.view ? control.ListView.view.highlight === null : true | 33 | visible: control.ListView.view ? control.ListView.view.highlight === null : true | ||
34 | 34 | | |||
35 | PlasmaCore.FrameSvgItem { | 35 | PlasmaCore.FrameSvgItem { | ||
36 | imagePath: "widgets/listitem" | 36 | imagePath: "widgets/listitem" | ||
37 | visible: !Settings.isMobile | 37 | visible: !Kirigami.Settings.isMobile | ||
38 | prefix: "hover" | 38 | prefix: "hover" | ||
39 | anchors.fill: parent | 39 | anchors.fill: parent | ||
40 | opacity: control.hovered && !control.pressed ? 1 : 0 | 40 | opacity: control.hovered && !control.pressed ? 1 : 0 | ||
41 | Behavior on opacity { NumberAnimation { duration: units.longDuration } } | 41 | Behavior on opacity { NumberAnimation { duration: units.longDuration } } | ||
42 | } | 42 | } | ||
43 | 43 | | |||
44 | PlasmaCore.SvgItem { | 44 | PlasmaCore.SvgItem { | ||
45 | svg: PlasmaCore.Svg {imagePath: "widgets/listitem"} | 45 | svg: PlasmaCore.Svg {imagePath: "widgets/listitem"} | ||
Show All 11 Lines |
does this change kill this?
If so +1000