Wireshark-commits: [Wireshark-commits] master 84a0ecc: Qt: Add copy from another profile for colorf
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 05 Oct 2018 12:38:29 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=84a0eccebd02d2f9a63c96e41b110a309d26c4d7
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

84a0ecc by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Add copy from another profile for colorfilters
    
    Add a new button to the Coloring Rules dialog to copy entries from
    another profile, or system defaults. The "copy from profile" button
    will also be used for other dialogs.
    
    Add a clear all button to easily remove all existing entries before
    importing or copying from another profile.
    
    Change-Id: Ia1e66444731018372b4354164c5a722fd73d403b
    Reviewed-on: https://code.wireshark.org/review/30008
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  4e38af0   Qt: add an hint to no interfaces label.
     add  84a0ecc   Qt: Add copy from another profile for colorfilters


Summary of changes:
 ui/qt/CMakeLists.txt                       |  2 +
 ui/qt/coloring_rules_dialog.cpp            | 49 ++++++++++++++++--
 ui/qt/coloring_rules_dialog.h              |  4 ++
 ui/qt/coloring_rules_dialog.ui             | 15 ++++++
 ui/qt/widgets/copy_from_profile_button.cpp | 82 ++++++++++++++++++++++++++++++
 ui/qt/widgets/copy_from_profile_button.h   | 35 +++++++++++++
 6 files changed, 183 insertions(+), 4 deletions(-)
 create mode 100644 ui/qt/widgets/copy_from_profile_button.cpp
 create mode 100644 ui/qt/widgets/copy_from_profile_button.h