Changeset View
Changeset View
Standalone View
Standalone View
kcm/qml/ConnectionItem.qml
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 62 | anchors { | |||
---|---|---|---|---|---|
65 | leftMargin: Math.round(units.gridUnit / 2) | 65 | leftMargin: Math.round(units.gridUnit / 2) | ||
66 | right: connectingIndicator.visible ? connectingIndicator.left : parent.right | 66 | right: connectingIndicator.visible ? connectingIndicator.left : parent.right | ||
67 | } | 67 | } | ||
68 | color: textColor | 68 | color: textColor | ||
69 | height: paintedHeight | 69 | height: paintedHeight | ||
70 | elide: Text.ElideRight | 70 | elide: Text.ElideRight | ||
71 | font.weight: ConnectionState == PlasmaNM.Enums.Activated ? Font.DemiBold : Font.Normal | 71 | font.weight: ConnectionState == PlasmaNM.Enums.Activated ? Font.DemiBold : Font.Normal | ||
72 | font.italic: ConnectionState == PlasmaNM.Enums.Activating ? true : false | 72 | font.italic: ConnectionState == PlasmaNM.Enums.Activating ? true : false | ||
73 | text: Name | 73 | text: DisplayName | ||
74 | textFormat: Text.PlainText | 74 | textFormat: Text.StyledText | ||
75 | } | 75 | } | ||
76 | 76 | | |||
77 | Text { | 77 | Text { | ||
78 | id: connectionStatusLabel | 78 | id: connectionStatusLabel | ||
79 | 79 | | |||
80 | anchors { | 80 | anchors { | ||
81 | left: connectionIcon.right | 81 | left: connectionIcon.right | ||
82 | leftMargin: Math.round(units.gridUnit / 2) | 82 | leftMargin: Math.round(units.gridUnit / 2) | ||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |