diff options
author | Gerald Combs <gerald@wireshark.org> | 2022-10-06 13:43:53 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2022-10-07 17:01:17 +0000 |
commit | 2b4fcae31f14d5c609530030b5375356db7e2b19 (patch) | |
tree | 0fd97dfa32f106c4ad25ba3c1e391161f1f859dc /docbook | |
parent | 52c130ced7d4c2aa6b0c40e2d97b6826a4b36b9e (diff) |
Qt+extcap: Add editable extcap selectors.
Add an "editselector" argument type, which lets the user override a
predefined selection list with a custom value.
Diffstat (limited to 'docbook')
-rw-r--r-- | docbook/wsdg_src/WSDG_chapter_capture.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_capture.adoc b/docbook/wsdg_src/WSDG_chapter_capture.adoc index a58df5c7f9..d7cf5368ea 100644 --- a/docbook/wsdg_src/WSDG_chapter_capture.adoc +++ b/docbook/wsdg_src/WSDG_chapter_capture.adoc @@ -285,10 +285,11 @@ When _mustexist=false_ is used, the GUI shows the user a file dialog for saving arg {number=3}{call=--logfile}{display=Logfile}{tooltip=A file for log messages}{type=fileselect}{mustexist=false} ---- -_selector_, _radio_, _multicheck_:: +_selector_, __editselector__, _radio_, _multicheck_:: Option fields where the user may choose from one or more options. If _parent_ is provided for the value items, the option fields for _multicheck_ and _selector_ are presented in a tree-like structure. -_selector_ and _radio_ values must present a default value, which will be the value provided to the extcap binary for this argument +_selector_ and _radio_ values must present a default value, which will be the value provided to the extcap binary for this argument. +_editselector_ option fields let the user select from a list of items or enter a custom value. + [source,python] ---- |