Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Question regarding QT/future Wireshark version

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Thu, 05 Jan 2012 16:46:50 -0800
On 1/5/12 12:22 PM, Guy Harris wrote:
> Hopefully we're using a Qt widget that supports generating column text as needed, similar to what the *new* GTK+ widget does, so that the as-needed generation of the columns would work similarly.

We do, via QTreeView (packet_list.cpp) and QAbstractItemModel
(packet_list_model.cpp).

> If the add-ons are in the dissecting code, there's no GUI code there; Wireshark handles the GUI display, and TShark handles the text output.  I doubt that we'll be linking TShark with Qt, so I don't think its non-GUI classes will be available for dissectors to use.  (Qt isn't, as far as I know, split into a "non-GUI utility library" like GLib and a "GUI toolkit" like GTK+.)

>From what I understand QtCore corresponds to GLib, providing basic data
types and functionality (QString, QThread, etc) and QtGui corresponds to
GTK+, providing the UI classes.