Skip to content

Qt: Move Traffic Tables to Model/View

Roland Knall requested to merge (removed):qt_model_for_trafficdata into master

The current model makes it very hard to extend the traffic tables with new functionality. For instance, having a total view column additionally to the normal columns when filtered.

This change removes the QTreeWidget and moves to a more generic approach using QAbstractListModel elements.

It is implemented in thtree parts:

  • ATapDataModel implements the basic collection and handling of the tap data information, as well as updating if new data is becoming available
  • EndpointDataModel / ConversationDataModel handles the display and representation of the data
  • Implementing TrafficTab as a TabWidget which will handle the adding/removing of new protocol tabs
Edited by Roland Knall

Merge request reports