Wireshark mailing list archives

Re: wireshark component in Qt


From: Guy Harris <guy () alum mit edu>
Date: Tue, 14 May 2013 11:59:59 -0700


On May 14, 2013, at 11:40 AM, Ahmed Elshaer <a.n.elshaer () gmail com> wrote:

could u plz , tell me what is the component i can use in Qt as "packetList" pane

The Qt version of Wireshark uses the PacketList class, which is a subclass of QTreeView.  See ui/qt/packet_list.h.

and what is the technique i can use so when i select a packet from packetlist pane i can do a tree decode in the 
second pane ,

That's handled in the Qt version of Wireshark by the selectionChanged method of a PacketList; see ui/qt/packet_list.cpp.


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: