Finish forwarder status information dispaly
- Add channel display
- Add strategy choice display
Change-Id: I4e1923b8a0ed0220150c71a3736f6fd618c30abe
diff --git a/src/status.qml b/src/status.qml
index c4bb56c..27f89bf 100644
--- a/src/status.qml
+++ b/src/status.qml
@@ -39,6 +39,22 @@
}
}
Tab {
+ title: "Channel"
+ TableView {
+ anchors.fill: parent
+ anchors.topMargin: 20
+ anchors.bottomMargin: 20
+ anchors.leftMargin: 20
+ anchors.rightMargin: 20
+ model: channelModel
+ TableViewColumn{
+ role: "channel"
+ title: "Channel"
+ width: 500
+ }
+ }
+ }
+ Tab {
title: "Face"
TableView {
anchors.fill: parent
@@ -191,6 +207,27 @@
}
}
}
+ Tab {
+ title: "Strategy"
+ TableView {
+ anchors.fill: parent
+ anchors.topMargin: 20
+ anchors.bottomMargin: 20
+ anchors.leftMargin: 20
+ anchors.rightMargin: 20
+ model: strategyModel
+ TableViewColumn{
+ role: "prefix"
+ title: "NDN prefix"
+ width: 300
+ }
+ TableViewColumn{
+ role: "strategy"
+ title: "Strategy Choice"
+ width: 300
+ }
+ }
+ }
}
Connections {
target: statusViewer;