diff --git a/client/portstatswindow.cpp b/client/portstatswindow.cpp index 42092a1..55f8284 100644 --- a/client/portstatswindow.cpp +++ b/client/portstatswindow.cpp @@ -108,6 +108,7 @@ void PortStatsWindow::when_tvPortStats_selectionChanged( tbViewCapture->setDisabled(isEmpty); tbClear->setDisabled(isEmpty); + tbGetStreamStats->setDisabled(isEmpty); tbResolveNeighbors->setDisabled(isEmpty); tbClearNeighbors->setDisabled(isEmpty); diff --git a/client/portstatswindow.ui b/client/portstatswindow.ui index 7c9b8e1..28ff522 100644 --- a/client/portstatswindow.ui +++ b/client/portstatswindow.ui @@ -78,6 +78,22 @@ + + + + Fetch Selected Port Stream Stats + + + Fetches stream statistics from the selected port(s) + + + Fetch Stream Stats + + + :/icons/stream_stats.png + + + @@ -112,22 +128,6 @@ - - - - Fetch Selected Port Stream Stats - - - Fetches stream statistics from the selected port(s) - - - Fetch Stream Stats - - - :/icons/stream_stats.png - - - diff --git a/client/streamstatswindow.ui b/client/streamstatswindow.ui index 23d3b6c..d6e9f89 100644 --- a/client/streamstatswindow.ui +++ b/client/streamstatswindow.ui @@ -1,7 +1,8 @@ - + + StreamStatsWindow - - + + 0 0 @@ -9,27 +10,39 @@ 452 - + Stream Statistics - + - - + + Qt::ActionsContextMenu + + Oops! We don't seem to have any stream statistics for the requested port(s) + +Wait a little bit to see if they appear, otherwise verify your stream stats configuration + - - + + true - + Show Byte Counters + + + XTableView + QTableView +
xtableview.h
+
+