summaryrefslogtreecommitdiff
path: root/ui/help_url.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-08-14 13:20:09 -0700
committerGerald Combs <gerald@wireshark.org>2014-08-29 00:24:02 +0000
commita71f6807b82bb4a4149141af7eff79738304ee22 (patch)
tree8dbd4bfa0cb7774345f4b6e5d54e01626b692bf7 /ui/help_url.c
parentb65d0e07193fe15df08739f89d95c29edb6aafed (diff)
downloadwireshark-a71f6807b82bb4a4149141af7eff79738304ee22.tar.gz
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.c')
-rw-r--r--ui/help_url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/help_url.c b/ui/help_url.c
index f82860c7b5..024481cbf7 100644
--- a/ui/help_url.c
+++ b/ui/help_url.c
@@ -242,6 +242,9 @@ topic_action_url(topic_action_e action)
case(HELP_CAPTURE_INFO_DIALOG):
url = user_guide_url("ChCapRunningSection.html");
break;
+ case(HELP_CAPTURE_MANAGE_INTERFACES_DIALOG):
+ url = user_guide_url("ChCapManageInterfacesSection.html");
+ break;
case(HELP_ENABLED_PROTOCOLS_DIALOG):
url = user_guide_url("ChCustProtocolDissectionSection.html");
break;