Commit 8f9cf1ea authored by Martin Kacej's avatar Martin Kacej

icons visible

parent 40971178
......@@ -24,13 +24,6 @@ PlasmaComponents.ListItem {
font.italic: ConnectionState == PlasmaNM.Enums.Activating ? true : false
text: ItemUniqueName
textFormat: Text.PlainText
}
Rectangle {
anchors.horizontalCenter: parent.Center
width: units.gridUnit
height: units.gridUnit
color: status
MouseArea{
anchors.fill: parent
onClicked: {
......@@ -38,5 +31,21 @@ PlasmaComponents.ListItem {
}
}
}
PlasmaCore.SvgItem {
id: connectionSvgIcon
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
}
elementId: ConnectionIcon
height: units.iconSizes.medium; width: height
svg: PlasmaCore.Svg {
multipleImages: true
imagePath: "icons/network"
colorGroup: PlasmaCore.ColorScope.colorGroup
}
}
}
}
......@@ -50,16 +50,11 @@ Item {
id: connectionModel
}
PlasmaNM.AppletProxyModel {
id: appletProxyModel
sourceModel: connectionModel
}
PlasmaNM.MobileAppletProxyModel{
PlasmaNM.MobileAppletProxyModel{
id: mobileappletProxyModel
sourceModel: connectionModel
}
}
Column {
id: formLayout
spacing: units.gridUnit
......@@ -141,14 +136,6 @@ Item {
}
}
}
PlasmaComponents.Button{
id: editorButton
text: "Connection editor"
onClicked: {
connectionEditorDialog.open()
}
}
}
PlasmaComponents.CommonDialog {
......
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