Wireshark-commits: [Wireshark-commits] master f0db412: Convert coloring rules dialog to use model.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f0db412f57effe6234edc78e1f438b735efae805
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f0db412 by Michael Mann (mmann78@xxxxxxxxxxxx):
Convert coloring rules dialog to use model.
Change-Id: I12a465b5451bdbaea871828329d48fda3627fca3
Reviewed-on: https://code.wireshark.org/review/25372
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from a3e14cb Debian: Update Build-Depends.
adds f0db412 Convert coloring rules dialog to use model.
Summary of changes:
ui/qt/CMakeLists.txt | 4 +
ui/qt/Makefile.am | 4 +
ui/qt/coloring_rules_dialog.cpp | 420 ++++++----------
ui/qt/coloring_rules_dialog.h | 51 +-
ui/qt/coloring_rules_dialog.ui | 36 +-
ui/qt/models/coloring_rules_delegate.cpp | 134 +++++
.../{uat_delegate.h => coloring_rules_delegate.h} | 32 +-
ui/qt/models/coloring_rules_model.cpp | 557 +++++++++++++++++++++
ui/qt/models/coloring_rules_model.h | 98 ++++
ui/qt/models/tree_model_helpers.h | 17 +
10 files changed, 1020 insertions(+), 333 deletions(-)
create mode 100644 ui/qt/models/coloring_rules_delegate.cpp
copy ui/qt/models/{uat_delegate.h => coloring_rules_delegate.h} (53%)
create mode 100644 ui/qt/models/coloring_rules_model.cpp
create mode 100644 ui/qt/models/coloring_rules_model.h