Commit 39052265 authored by Alexander Stippich's avatar Alexander Stippich

Port elisa kcm to qqc2

Summary:
Port to the local file kcm to qqc2, no visual and functional change
CCBUG: 405144

Reviewers: mgallien, ngraham

Reviewed By: mgallien, ngraham

Subscribers: ngraham

Tags: #elisa

Differential Revision: https://phabricator.kde.org/D21920
parent 5402d67f
......@@ -16,7 +16,7 @@
*/
import QtQuick 2.7
import QtQuick.Controls 1.4
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtQuick.Dialogs 1.2
import QtQml.Models 2.3
......@@ -55,7 +55,7 @@ Item {
height: 3 * 30
width: pathList.width
width: scrollBar.visible ? pathList.width - scrollBar.width : pathList.width
Rectangle {
anchors.fill: parent
......@@ -77,7 +77,7 @@ Item {
}
ToolButton {
iconName: 'list-remove'
icon.name: 'list-remove'
Accessible.onPressAction: onClicked
......@@ -101,25 +101,24 @@ Item {
anchors.fill: parent
ScrollView {
flickableItem.boundsBehavior: Flickable.StopAtBounds
ListView {
id:pathList
Layout.fillWidth: true
Layout.fillHeight: true
boundsBehavior: Flickable.StopAtBounds
ListView {
id:pathList
model: DelegateModel {
model: kcm.rootPath
anchors.fill: parent
model: DelegateModel {
model: kcm.rootPath
delegate: pathDelegate
}
delegate: pathDelegate
}
highlight: highlightBar
ScrollBar.vertical: ScrollBar {
id: scrollBar
}
highlight: highlightBar
}
ColumnLayout {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment