Wireshark-commits: [Wireshark-commits] master 864f750: ManageInterfacesDialog: Implement View/Data
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=864f750be560a7a739c7453f19a8f5679cf7d6b3
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
864f750 by Roland Knall (rknall@xxxxxxxxx):
ManageInterfacesDialog: Implement View/Data Model
Implement the same interface view/data model as used for
the interface_tree selection in this dialog, to encapsulate
all access to global_capture_devices from the dialog.
Change-Id: I0e568fe236d077befa2a79765638db8bb3ed1a3f
Reviewed-on: https://code.wireshark.org/review/18062
Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 5cbdbec GTPv2: Add support for NB-IoT features
adds 864f750 ManageInterfacesDialog: Implement View/Data Model
Summary of changes:
ui/qt/CMakeLists.txt | 2 +
ui/qt/Makefile.am | 2 +
ui/qt/interface_tree_cache_model.cpp | 261 ++++++++++++++++++++++++++++++++++
ui/qt/interface_tree_cache_model.h | 76 ++++++++++
ui/qt/interface_tree_model.cpp | 124 +++++++++++-----
ui/qt/interface_tree_model.h | 2 +
ui/qt/manage_interfaces_dialog.cpp | 193 +++----------------------
ui/qt/manage_interfaces_dialog.h | 13 +-
ui/qt/manage_interfaces_dialog.ui | 24 +---
9 files changed, 456 insertions(+), 241 deletions(-)
create mode 100644 ui/qt/interface_tree_cache_model.cpp
create mode 100644 ui/qt/interface_tree_cache_model.h