aboutsummaryrefslogtreecommitdiffstats
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
2019-07-13Qt: Fix our template icon appearance on LoDPI screens.Gerald Combs1-1/+0
When creating a pixmap for a template icon, don't bother setting its device pixel ratio. Otherwise it will interfere with QIcon's size calculations. Change-Id: I8c89ce49c57d558ae48baf9c31227898c0f7f9ca Reviewed-on: https://code.wireshark.org/review/33919 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-07-12Qt: Fix profile copy and deleteRoland Knall5-30/+71
Delete lead to an issue with the sort model, where indeces where no longer correctly associated with the source model. Copy did not check if the name already existed in the dialog Change-Id: I3668dffb1e1956f04a5b9e21c3fcdac266e0cc0c Reviewed-on: https://code.wireshark.org/review/33911 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-11Qt: Fix warning and remove dead codeRoland Knall1-87/+4
Fix a "discard const qualifier" warning and remove code, which should be active in Qt5, but never made it to majurity Change-Id: I8d4dd526d07413ca30ab0b8430c6b8205e4e3063 Reviewed-on: https://code.wireshark.org/review/33896 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-11Qt: Fix various compiler warningsRoland Knall1-4/+4
Change-Id: I050b74a9d57c8d71a9373b6b4d5e942b7e55e8db Reviewed-on: https://code.wireshark.org/review/33895 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-11Doxygen: Fix some warnings.Anders Broman2-0/+2
Change-Id: I0344d44d08d2e159c895d693500403c067039a44 Reviewed-on: https://code.wireshark.org/review/33894 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-11Qt: remove semicolon from profile model.Dario Lombardo1-1/+1
This causes an error due to -Werror,-Wc++98-compat-extra-semi. ../ui/qt/models/profile_model.h:21:42: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] Q_DECLARE_LOGGING_CATEGORY(profileLogger); ^ 1 error generated. Change-Id: I5c04f431ffc08e90efbee5763e0f7c9b10a039d2 Reviewed-on: https://code.wireshark.org/review/33893 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-11Qt: MainStatusbar and CopyFromProfileMenu to ModelRoland Knall4-90/+95
Remove the profile.? specific implementation and move both functions to profile model, makeing the class the single source for profile related parsing Change-Id: I61ecc2fc1f294e4e3943a00bb8522258c8ff8ec5 Reviewed-on: https://code.wireshark.org/review/33880 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-11Qt: Move Profile Dialog to Model/ViewRoland Knall8-259/+1027
Move the profile dialog to a model/view based concept. Display and ordering works now, but nothing much else. Add possibility to filter for profiles, as well as group filters. Change-Id: I4740ad5aa10feeb31192f8131fb1204f5dca7232 Reviewed-on: https://code.wireshark.org/review/25141 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-07[Automatic update for 2019-07-07]Gerald Combs1-10/+10
Update manuf, services enterprise numbers, translations, and other items. Change-Id: Ib32cb52cb8b439802b343ad62420055177ffc211 Reviewed-on: https://code.wireshark.org/review/33859 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-07-05credentials: don't use wmem file scope but a local copy.Dario Lombardo3-6/+44
Change-Id: I44ca95bffd682a7f2e83b71400937a949f5886ea Reviewed-on: https://code.wireshark.org/review/33844 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-07-04Qt: Properly hide the choosen model from external viewsRoland Knall3-36/+31
This moves the append function to the model, where it makes more sense. Change-Id: Iea9ccaf0672e8ad05454b4c35c303ca7dc2e6373 Reviewed-on: https://code.wireshark.org/review/33843 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-04Qt: Remove glib and wmem from packetlistrecordRoland Knall4-37/+22
These seem to be the last remains of the old gtk interface and can interfere with Qt's thread mechanism. Additionally it saves on memory, by only using memory needed and a list where more are required Change-Id: If5945d926d808f3e6f3e74ffc26d392effc3c142 Reviewed-on: https://code.wireshark.org/review/33845 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-04Qt: Move ColText to QStringList for PacketListRecordRoland Knall3-34/+15
Change-Id: Id6e0593a2ae80fbb97aa6a0d738eb22b22434245 Reviewed-on: https://code.wireshark.org/review/33836 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-04Qt: call retap for credentials.Dario Lombardo1-0/+1
Change-Id: I3c36581260405c8fea6c91c6542248c5acdee49c Reviewed-on: https://code.wireshark.org/review/33842 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-07-04Qt: remove CaptureFile from CredentialsModel constructor.Dario Lombardo3-3/+3
Unused: [55/83] Building CXX object ui/qt/CMakeFiles/qtui.dir/models/credentials_model.cpp.o /Users/stig/Development/wireshark/ui/qt/models/credentials_model.cpp:18:66: warning: unused parameter 'cf' [-Wunused-parameter] CredentialsModel::CredentialsModel(QObject *parent, CaptureFile& cf) ^ 1 warning generated. Change-Id: I8f89a8121c55bae3fdc5d317beb5a87e0135f02a Reviewed-on: https://code.wireshark.org/review/33841 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-04Qt: Workaround for Qt model() bugRoland Knall2-13/+9
model() on the TreeView should return a value, but instead returns a null pointer. Moving the methods to the model would be the next step, but until then, this workaround regains functionality Change-Id: Iaa0b6470af41b297a821c0dd6e3a238481752886 Reviewed-on: https://code.wireshark.org/review/33839 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-04Qt: Do not export the model of the packetlistRoland Knall6-33/+77
Exporting the model for the packetlist via a function prohibits implementing further models (sorting) inside the packetlist Change-Id: Ica159fc8f242ae1a5b657507a26e33827c366bee Reviewed-on: https://code.wireshark.org/review/33834 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>
2019-07-03Qt: Credentials move tap to dialogRoland Knall4-19/+37
Move Taps to the dialog and implement a reset method Change-Id: I8324170a207bc9a9c6fef25bd7457757931a93c8 Reviewed-on: https://code.wireshark.org/review/33830 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-07-03Qt: Cleanup PacketListRoland Knall4-22/+22
Cleanup various smaller issues with PacketList Change-Id: I39581da486c415b6269eeabd4363a323f9436c04 Reviewed-on: https://code.wireshark.org/review/33831 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-01Qt: Move widgets to sub-directoryRoland Knall11-10/+10
General code cleanup Change-Id: Ic99fc24b8f8c6142a7ec46f535f8d5b896236390 Reviewed-on: https://code.wireshark.org/review/33769 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-30MacOS: Fix highlight color in dark mode, graphite highlightJason Cohen2-2/+2
Bug: 15885 Change-Id: I7921f84c05cad560b0673db951571f186adda3f4 Reviewed-on: https://code.wireshark.org/review/33775 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-06-30ui: Refactoring column_prefs_add_customStig Bjørlykke3-27/+5
Unify column_prefs_add_custom() and column_prefs_add_custom_with_position() because the former is unused in the current implementation. Remove the unused custom_occurrence parameter. Change-Id: Ib018b9dc614674fc175810827ef789ef469059eb Reviewed-on: https://code.wireshark.org/review/33760 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-30Qt: fix more more Qt 5.13 deprecation warningsPeter Wu6-18/+31
Potential functional changes: - rect_on_screen: the new function no longer subtracts the space needed for the dock, task bar, etc. - fontMetrics().width(text) -> fontMetrics.boundingRect(text).width(): the bounding box width could be larger than horizontalAdvance(text). For the bytes view, they should be the same due to monospace font. The display filter field calculation was made more accurate (it assumes that textMargins() is 0 which is the default). Change-Id: I70b7937f9215d3bef278befdac7c36a023ffff84 Reviewed-on: https://code.wireshark.org/review/33770 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-30[Automatic update for 2019-06-30]Gerald Combs10-89/+472
Update manuf, services enterprise numbers, translations, and other items. Change-Id: I171c3ed748d4c959876851c338cebdbe1028fc46 Reviewed-on: https://code.wireshark.org/review/33776 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-29Qt: Prevent hidden global parametersRoland Knall3-22/+26
Remove the hidden global parameter settings Change-Id: I186dfb22d972abf8de2e37ccd0a4d76340b188dc Reviewed-on: https://code.wireshark.org/review/33762 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-29credentials: fix tshark output.Dario Lombardo1-1/+1
Change-Id: Idd13b20db07567fee3c6cf13c203e9ad24b6ed35 Reviewed-on: https://code.wireshark.org/review/33767 Reviewed-by: Dario Lombardo <lomato@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-28credentials: add sorting of table.Dario Lombardo1-3/+6
Remove QDebug leftover also. Change-Id: Ibfc3247d5b6256c9df238edec945b10837e2bd42 Reviewed-on: https://code.wireshark.org/review/33766 Reviewed-by: Roland Knall <rknall@gmail.com> Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-06-28Qt: Fix 5.13 deprecated warningsRoland Knall12-18/+44
With Qt 5.13 some methods are deprecated. Fixing those warnings Change-Id: Ia290f06f2b681de1d5b437624de77d8a5c2f5266 Reviewed-on: https://code.wireshark.org/review/33761 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-28Qt: Fix default position when "Apply as Column"Stig Bjørlykke4-6/+6
The default position for a column when "Apply as Column" is before the Info column if this is last, else add last. This bug was introduced in g5ae259c4. Change-Id: I68adaec5092e0ed1c65e771f171c42000fdc83fc Reviewed-on: https://code.wireshark.org/review/33759 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-06-27Qt: Fixup our template icon generation.Gerald Combs1-33/+23
Use generatedIconPixmap() to generate our template icon variants. Change-Id: Ie952f0d02309420c6e8e347e031f37c5f43cdb9e Reviewed-on: https://code.wireshark.org/review/33758 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-27Qt: Drop column content as textRoland Knall1-1/+1
If the column context does not yield a field description (as in the case of the protocol or info column) drop as a text instead Change-Id: Iaa0babf55df8eea65d879aadcf82d6d54f3c8208 Reviewed-on: https://code.wireshark.org/review/33757 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-26Qt: Make sure we create template icons for all modes.Gerald Combs1-5/+23
When creating a StockIcon based on a template, make sure we add pixmaps for each icon mode. Change-Id: Ia894229132e18a22a59797c8fb4590bc09508ba0 Reviewed-on: https://code.wireshark.org/review/33740 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-26tap: add credentials tap.Dario Lombardo14-11/+570
This new tap collects credentials (username and paassword) from the dissectors. So far, few dissectors have been instrumented: - http (basic auth) - http (header auth) - ftp Others can be instrumented as well using the same technique. Tshark has a new option (-z credentials) and Wireshark a new "tools" menu: the documentation has been updated accordingly. Change-Id: I2d0d96598c85bb3ea4fb5ec090dd8dc28b481fc9 Reviewed-on: https://code.wireshark.org/review/33453 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-06-25Qt: Use a lighter link color in dark mode.Gerald Combs9-23/+99
Add ColorUtils::themeLinkBrush, which returns a readable link color in dark mode. Use it in place of existing ...palette().link() calls. Add ColorUtils::themeLinkStyle, which produces an HTML <style/> block that lightens the link foreground color in dark mode. Use this to style links in the about box and in elided labels. Catch ApplicationPaletteChange events where needed. Add dark theme / dark mode notes to the WSDG. Ping-Bug: 15511 Change-Id: I92925bd997f97b155491f55a8c818f03549bc7f4 Reviewed-on: https://code.wireshark.org/review/33704 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-24Qt: Use QEvent::ApplicationPaletteChangeGerald Combs2-2/+2
Use QEvent::ApplicationPaletteChange instead of QEvent::PaletteChange. Change-Id: I98c5db03fe01dc3a716b31c05179330e695835d6 Reviewed-on: https://code.wireshark.org/review/33730 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-23[Automatic update for 2019-06-23]Gerald Combs10-445/+277
Update manuf, services enterprise numbers, translations, and other items. Change-Id: I6e991dce44d14d00e24b8dde4883e0e1e2d4aef8 Reviewed-on: https://code.wireshark.org/review/33714 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-23Qt: Handle ApplicationPaletteChange events in the welcome page.Gerald Combs6-92/+121
Update our various welcome page style sheets when we receive an ApplicationPaletteChange event. It looks like ApplicationPaletteChange is the proper way to detect a system-wide theme change, since we can infinitely recurse if we hold things wrong inside a regular PaletteChange event (I'm guessing setting CSS background and foreground colors were the culprits in this case). Switch from PaletteChange to ApplicationPaletteChange everywhere. Ping-Bug: 15511 Change-Id: I6e7aa627d9ca1d1d3872ab31620ea5c579061191 Reviewed-on: https://code.wireshark.org/review/33703 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-23Qt: Split the filter dropdown arrow icon into dark and light versions.Gerald Combs4-62/+98
The capture and display filter widgets set their dropdown arrow icons using CSS, which means we can't use a template icon without a significant amount of hackery. This is the only instance where we set an icon using CSS, so split it into dark and light versions and use them as appropriate. Ping-Bug: 15511 Change-Id: I699ddc327d8eb109129e60bcb5036b14e6e34414 Reviewed-on: https://code.wireshark.org/review/33696 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-06-21Qt: Convert the rest of the preference dialog list buttons.Gerald Combs17-361/+295
We no longer use the old icon names, so remove their aliases from stock_icons.qrc. Ping-Bug: 15511 Change-Id: If3c5e2b95825207a401e12607fcb94cdcc8a51c8 Reviewed-on: https://code.wireshark.org/review/33689 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-20Qt: Convert the list management icons to templates.Gerald Combs2-57/+38
Move the rest of the list management icons (remove, copy, clear, up, and down) to the stock_icons directory. Convert them to templates by adding ".template" to their name. Switch the UAT dialog to the "new" icons. Convert the image README to .adoc. To do: - Make sure the icons are actually black. - Convert the rest of the preference dialogs and other consumers. Ping-Bug: 15511 Change-Id: Ie39afd52585ecbb644812be9f2762fede6e449ba Reviewed-on: https://code.wireshark.org/review/33687 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-20Use I/O Graphs instead of IO graphs everywhere.Dario Lombardo14-32/+32
Change-Id: I6ce866b03632965dd1bad6eff361d91dd210c62b Reviewed-on: https://code.wireshark.org/review/33680 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-19Revert "Qt: Remove unnecessary ColumnText object"Roland Knall3-31/+36
This has to be a complete overhaul of PacketListRecord. For now it is reverted This reverts commit d95262bf7420ba56ccfded85ebeec6f32ea7069a. Change-Id: Id72dc6911f68c9b811110332588b3da474791d31 Reviewed-on: https://code.wireshark.org/review/33666 Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-17Qt: Filter expression toolbar dark mode updates.Gerald Combs5-23/+37
Move plus-8.png to stock_icons/8x8 and rename it list-add.template.png which conforms to the Freedesktop icon naming specifications and makes it a template icon. Update our style sheet when we recive a QEvent::PaletteChange. Ping-Bug: 15511 Change-Id: I4b8ddcb4eb64f11faec21d5df4a3fd7fdc5cf488 Reviewed-on: https://code.wireshark.org/review/33626 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-06-16Qt: Drag-and-Dropping from ProtoTree copies whole fieldRoland Knall1-0/+2
If a DnD is initiated from the ProtoTree it actually copies the complete text of the expanded tree elements. This can be dropped in any text-window outside of Wireshark Change-Id: Ia174bcf2f061ddb23439c3243149bb54a1ba89d9 Reviewed-on: https://code.wireshark.org/review/33630 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-16Qt: Fix ghost drag-and-drop in PacketList on empty fieldsRoland Knall2-3/+15
If you start dragging on an empty field, you pick up the value of a field you drag over. This is fixed Change-Id: I7e1c5e353dbc79ee1193b305729fb44d62d98470 Reviewed-on: https://code.wireshark.org/review/33629 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-16Qt: Remove unnecessary ColumnText objectRoland Knall3-36/+31
wmem should not be used inside a model, as the memory managment of those models is part of the responsibility of Qt. It could happen, that the file is closed, but the model still needs to access the information, in which case the memory access fails. Change-Id: I740a4bae61cc32f0f0245515c23abf175ef588f1 Reviewed-on: https://code.wireshark.org/review/33622 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-16Qt: Allow Drag-and-drop on info and protocolRoland Knall3-23/+67
Allow for drag-and-drop on info and protocol columns. Protocol columns may also be dragged to the display filter, everything else is dragged as plain-text and can just be used as text Change-Id: I0fff390580c22175efe50037b18d7199949fd8eb Reviewed-on: https://code.wireshark.org/review/33621 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-16Qt: Fix drag-and-drop from packet listRoland Knall6-47/+73
Only initiate drag-and-drop when the left mousebutton has been clicked, and also add the filter as plain text, so to enable dragging to external applications. Change-Id: I2f6ac7f9c543d003070c2a6c0ce671ed5a215669 Reviewed-on: https://code.wireshark.org/review/33620 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
2019-06-16[Automatic update for 2019-06-16]Gerald Combs10-135/+641
Update manuf, services enterprise numbers, translations, and other items. Change-Id: I177c366e318b730c2db1f0f2e0d4f7c04eef97d6 Reviewed-on: https://code.wireshark.org/review/33616 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-06-15Qt: Use UTF8_HORIZONTAL_ELLIPSISStig Bjørlykke2-5/+5
Fix "Resize Column to Width" and display filter drop menu to use UTF8_HORIZONTAL_ELLIPSIS. Change-Id: I0ce2507741e985fbf840296cc956358accc02b01 Reviewed-on: https://code.wireshark.org/review/33611 Reviewed-by: Roland Knall <rknall@gmail.com>