Commit Graph

14 Commits

Author SHA1 Message Date
Joerg Mayer 21754f43e1 Starting to get rid of Q_UNUSED declarations for unused function parameters.
The official C++ way is to leave out the variable name instead. This has the
advantage to be reliable: In one case a variable declared unused was later
used.

Change-Id: I1c96636f7fa7a621d1594d1e9cacaec75c561faa
Reviewed-on: https://code.wireshark.org/review/9532
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2015-07-07 06:29:31 +00:00
Gerald Combs 4da7570809 Use a QTreeWidget instead of QTableWidget.
Even though Qt's widget naming suggests otherwise, a QTreeWidget is
usually a better choice for tables than QTableWidget. The former gives
you a nice, clean Plain Old Table while the latter gives you something
that looks and acts like a spreadsheet.

In this particular instance using QTreeWidget also gives us the option
of adding sub-items with detailed information. Do so for attached
addresses.

Allow sorting by traffic while we're here. Simplify the column hiding
logic. Make sure the sparkline delegate isn't editable.

Change-Id: Ia36ba2e12c1c0cb86ae5b2154e6afcf6549ae049
Reviewed-on: https://code.wireshark.org/review/3466
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-08 05:57:01 +00:00
Alexis La Goutte 296591399f Remove all $Id$ from top of file
(Using sed : sed -i '/^ \* \$Id\$/,+1 d')

Fix manually some typo (in export_object_dicom.c and crc16-plain.c)

Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8
Reviewed-on: https://code.wireshark.org/review/497
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04 14:27:33 +00:00
Alexis La Goutte 42ace71553 Add modelines for Qtshark file
svn path=/trunk/; revision=44766
2012-09-04 08:18:31 +00:00
Gerald Combs c12c712d9c More welcome screen layout updates. Instantiate the welcome screen
automatically. Try to make the sparklines resolution independent.

svn path=/trunk/; revision=44555
2012-08-17 19:37:18 +00:00
Gerald Combs ac909fa890 Only apply the QWindowsVistaStyle hack when it's the current style.
svn path=/trunk/; revision=44499
2012-08-14 18:36:50 +00:00
Gerald Combs f532cd3064 Use the right color on Windows when selected.
svn path=/trunk/; revision=44479
2012-08-13 23:37:15 +00:00
Jörg Mayer 5bf74638a3 Set svn properties
svn path=/trunk/; revision=44286
2012-08-06 20:58:19 +00:00
Jörg Mayer 78be49a3d0 Add Id header (and the standard copyright headers) to some files.
svn path=/trunk/; revision=44285
2012-08-06 20:50:30 +00:00
Gerald Combs 704c2e0355 Apparently QPointFs draw on center. Offset them in order to avoid
gratuitous antialiasing.

svn path=/trunk/; revision=44284
2012-08-06 20:44:33 +00:00
Gerald Combs 6766420142 Take out a debugging statement.
svn path=/trunk/; revision=44260
2012-08-04 04:35:34 +00:00
Gerald Combs 215d89c890 Draw selected items properly.
svn path=/trunk/; revision=44259
2012-08-04 02:02:40 +00:00
Gerald Combs 1500f3bd42 Fix sparlines on Windows. Unfortunately this means listing device IDs
(for now at least).

svn path=/trunk/; revision=44258
2012-08-04 00:37:04 +00:00
Gerald Combs a234d1215c Move capture_globals.h from ui/gtk/ to ui/. Show interface activity
using sparklines in the qtshark main window.

svn path=/trunk/; revision=44253
2012-08-03 23:30:47 +00:00