[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-nm] applet/declarative/contents/ui: Make connected/disconnected icon as button
From: Jan Grulich <jgrulich () redhat ! com>
Date: 2013-03-25 21:02:57
Message-ID: 20130325210257.A392AA604F () git ! kde ! org
[Download RAW message or body]
Git commit 808be7ff4abb4f98d922e8edec2dfea7dc2ac1da by Jan Grulich.
Committed on 25/03/2013 at 20:45.
Pushed by grulich into branch 'master'.
Make connected/disconnected icon as button
M +4 -4 applet/declarative/contents/ui/ConnectionItem.qml
http://commits.kde.org/plasma-nm/808be7ff4abb4f98d922e8edec2dfea7dc2ac1da
diff --git a/applet/declarative/contents/ui/ConnectionItem.qml b/applet/dec=
larative/contents/ui/ConnectionItem.qml
index d16f67f..215f9b9 100644
--- a/applet/declarative/contents/ui/ConnectionItem.qml
+++ b/applet/declarative/contents/ui/ConnectionItem.qml
@@ -70,12 +70,12 @@ Item {
font.weight: connected ? Font.DemiBold : Font.Normal;
}
=
- QIconItem {
+ PlasmaComponents.ToolButton {
id: connectionConnected;
=
- width: 20; height: 30;
+ width: 35; height: 35;
anchors { right: parent.right; top: parent.top; rightMargin: 5 }
- icon: connected ? QIcon("user-online") : QIcon("user-offline");
+ iconSource: connected ? "user-online" : "user-offline";
=
PlasmaComponents.BusyIndicator {
id: connectingIndicator;
@@ -177,7 +177,7 @@ Item {
PropertyChanges { target: connectionItem; height: connectionIt=
em.ListView.view.height }
PropertyChanges { target: details; visible: true}
PropertyChanges { target: connectionItem.ListView.view; intera=
ctive: false }
- PropertyChanges { target: connectionItem.ListView.view; explic=
it: true; contentY: connectionItem.y }
+ PropertyChanges { target: connectionItem.ListView.view; conten=
tY: connectionItem.y }
}
]
=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic