diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-08-14 13:20:09 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-29 00:24:02 +0000 |
commit | a71f6807b82bb4a4149141af7eff79738304ee22 (patch) | |
tree | 8dbd4bfa0cb7774345f4b6e5d54e01626b692bf7 /ui/help_url.h | |
parent | b65d0e07193fe15df08739f89d95c29edb6aafed (diff) |
Qt: Rework the "Manage Interfaces" dialog.
Convert QTableWidget to QTreeWidget.
It looks like the GTK+ version has a separate set of apply/save buttons
for each tab which *only* operates on that tab. This can result unexpected
behavior which throws away changes if the user updates more than one
tab. Use a single "OK" button that applies all of our changes instead.
Reorder the tabs. Put Local Interfaces first and select it by default.
Always show Remote Interfaces. Disable it on platforms that don't have
PCAP_REMOTE.
Automatically start editing when we add a new pipe. Don't immediately
update pipe interface settings. Wait until we hit "OK" instead.
Rename NewFileDelegate to PathChooserDelegate. Note that we might want
to move it use it elsewhere in the application.
Try switching the user-facing terminology from "Hide" to the more
positive "Show".
Tell the user that we don't save pipe or remote interface settings.
Add a help URL for the "Manage Interfaces" dialog box.
Use the GLib and Qt string functions and classes to split and join
comma-separated preferences. This makes sure capture_dev_user_descr_find
doesn't skip over the first interface. It also keeps the Qt code from
adding a leading comma to our capture preferences.
Add a note about strings to README.qt. Summary: Use QStrings.
For another day:
- If we *do* save remote settings we need to store credentials securely,
e.g. with CryptProtectData.
- Get rid of the remote settings dialogs. Their controls should fit in the
remote settings tab.
- Add an extcap tab.
- We need getter/setter functions for global_capture_opts.all_ifaces. We
iterate over it *way* too much.
Change-Id: Ib7b61972f3ece4325e0230f725e7f2678acbb24b
Reviewed-on: https://code.wireshark.org/review/3873
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/help_url.h')
-rw-r--r-- | ui/help_url.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/help_url.h b/ui/help_url.h index ab11c4221e..ecaa0b4ee3 100644 --- a/ui/help_url.h +++ b/ui/help_url.h @@ -77,6 +77,7 @@ typedef enum { HELP_FIREWALL_DIALOG, HELP_GOTO_DIALOG, HELP_CAPTURE_INTERFACES_DIALOG, + HELP_CAPTURE_MANAGE_INTERFACES_DIALOG, HELP_ENABLED_PROTOCOLS_DIALOG, HELP_DECODE_AS_DIALOG, HELP_DECODE_AS_SHOW_DIALOG, |