aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/resolved_addresses_dialog.h
AgeCommit message (Collapse)AuthorFilesLines
2023-12-04Qt: Add context menu to Resolved AddressesJohn Thacker1-10/+2
Create a derived class for the TableViews to make it easier to create the context menus. Enable copying and saving only selected rows Add release notes Related to #16419
2023-12-02Qt: Add Copy, Save As to Resolved Addresses dialogJohn Thacker1-0/+16
Add basic Copy to clipboard and Save As functionality to the Resolved Addresses dialog. This saves in text formats compatible with hosts(5), ethers(5), and services(5), with tabs between the columns, along with CSV and JSON. This copies whatever is currently visible in the dialog. More file formats could be added later, or a Context Window pop-up; the latter could allow Copying or Saving only the selected items. Fix #16419
2022-09-09Qt: Fix resolved addresses dialog sorting, filtering, Ethernet groupsJohn Thacker1-2/+2
Qt6 removed QComboBox:currentIndexChanged(QString), which had previously been deprecated in favor of the version with an int. Switch to using the supported function, so that the comboboxes work. The models used for the resolved addresses require that the source models be set first before setting other properties, so do that so that filtering works. For some reason the portTypeModel has to indicate that the port number column is numeric in order for the ports to numerically sort instead of lexicographically, so do that too. Add the Ethernet addresses in their specific groups (Addresses, Manufacturers, Well-Known Hosts) instead of adding them all to the Well-Known hosts groups, so that that filtering works. Fix #18087
2021-11-30Add UI header files to DoxygenMoshe Kaplan1-1/+1
Add @file markers for UI header files so that Doxygen will generate documentation for them.
2021-03-08Remove modelines in ui/qt.Gerald Combs1-13/+0
Remove the editor modeline blocks from most of the source files in ui/qt by running perl -i -p0e 's{ \n+ /[ *\n]+ editor \s+ modelines .* shiftwidth= .* \*/ \s+ } {\n}gsix' $( ag -g '\.(cpp|h)' ) then cleaning up the remaining files by hand. This *shouldn't* affect anyone since - All of the source files in ui/qt use 4 space indentation, which matches the default in our top-level .editorconfig - The one notable editor that's likely to be used on these files and *doesn't* support EditorConfig (Qt Creator) defaults to 4 space indentation.
2019-10-07Qt: Reduce use of CaptureFileRoland Knall1-1/+3
In preparation of having just a single instance of CaptureFile dialogs are redesigned to not use CaptureFile Change-Id: I2bff036d6f9e946954873c90b935b6653fbeb474 Reviewed-on: https://code.wireshark.org/review/34723 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-09-01Qt: Rework Resolved Addresses dialogRoland Knall1-22/+11
This is a refactoring/redesign of the "Resolved Addresses" dialog, allowing for sorting/filtering and searching within the addresses and ports. Change-Id: I5071e92ff699323b6c93fc533eeaf92e0db334de Reviewed-on: https://code.wireshark.org/review/34398 Reviewed-by: Roland Knall <rknall@gmail.com> Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-05-01Fix comment end after SPDX identifierStig Bjørlykke1-1/+2
Move */ to a separate line below the SPDX identifier. Change-Id: Id1032215449cfccae0933147b45e04b65e0b727f Reviewed-on: https://code.wireshark.org/review/27211 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-08replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later.Dario Lombardo1-1/+1
The first is deprecated, as per https://spdx.org/licenses/. Change-Id: I8e21e1d32d09b8b94b93a2dc9fbdde5ffeba6bed Reviewed-on: https://code.wireshark.org/review/25661 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-02Qt: use SPDX identifiers.Dario Lombardo1-14/+1
Change-Id: I111945c08f99818c249a868c12d9a7b3a3df64b3 Reviewed-on: https://code.wireshark.org/review/25563 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-28Qt: Add dialog geometry restoreStig Bjørlykke1-2/+2
Add GeometryStateDialog class to handle load and save dialog geometry. The QDialog class name will be used as window name. For shared classes the UAT name or the statistics title or abbr will be used. Change-Id: I5a019598307fb3861518f41e733de834788184d8 Reviewed-on: https://code.wireshark.org/review/14139 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2015-08-06Pcapng: support Name Resolution Block optionsHadriel Kaplan1-0/+2
Make pcapng decode options in an NRB during read, and store the comment option, and write it back out as well. Also make it handle plugin handlers for unknown options in received NRB(s). Change-Id: I81863ef8d85cb1c8b5ba6673ba0e562efe77714f Reviewed-on: https://code.wireshark.org/review/9723 Petri-Dish: Hadriel Kaplan <hadrielk@yahoo.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-07-10Add the "Resolved Addresses" dialog.Gerald Combs1-0/+85
The GTK+ equivalent is named "Address Resolution" but "Resolved Addresses" seemed (to me at least) to be more clear. Change-Id: I1806354d91bb5ce8af11d20568b92a04c78d4d73 Reviewed-on: https://code.wireshark.org/review/9580 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>