Wireshark-commits: [Wireshark-commits] master a50bed0: Interface List: Allow column filtering in mo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 3 Oct 2016 17:07:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a50bed094bdb03ce68b65c6a69696ce446f9dd3d
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a50bed0 by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):

    Interface List: Allow column filtering in model
    
    This change allows for the definition of columns to be shown
    to the enduser if instanting the proxy model. The tree model
    will allways transport ALL data, and it is the job of the proxy
    model to determine which data is actually shown.
    
    Additionally, this removes the final definitions of the global
    interface array from interface_frame as well as sort_filter, so
    that knowledge about the inner workings of the interface list
    is contained to interface_tree_model
    
    Change-Id: Ib34b150066ee344ad0d18bec1d90826eb0fa28b2
    Reviewed-on: https://code.wireshark.org/review/18039
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  542c3c6   ssl: use ws_strtou function.
    adds  a50bed0   Interface List: Allow column filtering in model


Summary of changes:
 ui/qt/interface_frame.cpp             |  102 ++++++---------------------
 ui/qt/interface_sort_filter_model.cpp |   62 ++++++++++++----
 ui/qt/interface_sort_filter_model.h   |   10 ++-
 ui/qt/interface_tree_model.cpp        |  125 ++++++++++++++++++++++++++++++++-
 ui/qt/interface_tree_model.h          |   11 +++
 5 files changed, 210 insertions(+), 100 deletions(-)