Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
PacketList Class Reference
Inheritance diagram for PacketList:

Public Types

enum  ColumnActions {
  caAlignLeft, caAlignCenter, caAlignRight, caColumnPreferences,
  caEditColumn, caResolveNames, caResizeToContents, caDisplayedColumns,
  caHideColumn, caRemoveColumn
}
 

Public Slots

void setCaptureFile (capture_file *cf)
 
void setMonospaceFont (const QFont &mono_font)
 
void goNextPacket ()
 
void goPreviousPacket ()
 
void goFirstPacket (bool user_selected=true)
 
void goLastPacket ()
 
void goToPacket (int packet)
 
void goToPacket (int packet, int hf_id)
 
void goNextHistoryPacket ()
 
void goPreviousHistoryPacket ()
 
void markFrame ()
 
void markAllDisplayedFrames (bool set)
 
void ignoreFrame ()
 
void ignoreAllDisplayedFrames (bool set)
 
void setTimeReference ()
 
void unsetAllTimeReferences ()
 
void applyTimeShift ()
 
void recolorPackets ()
 
void redrawVisiblePackets ()
 
void redrawVisiblePacketsDontSelectCurrent ()
 
void columnsChanged ()
 
void fieldsChanged (capture_file *cf)
 
void preferencesChanged ()
 

Signals

void packetDissectionChanged ()
 
void showColumnPreferences (QString pane_name)
 
void editColumn (int column)
 
void packetListScrolled (bool at_end)
 
void showProtocolPreferences (const QString module_name)
 
void editProtocolPreference (struct preference *pref, struct pref_module *module)
 
void frameSelected (int frameNum)
 
void fieldSelected (FieldInformation *)
 

Public Member Functions

 PacketList (QWidget *parent=0)
 
PacketListModelpacketListModel () const
 
QMenu * conversationMenu ()
 
QMenu * colorizeMenu ()
 
void setProtoTree (ProtoTree *proto_tree)
 
void freeze ()
 
void thaw (bool restore_selection=false)
 
void clear ()
 
void writeRecent (FILE *rf)
 
bool contextMenuActive ()
 
QString getFilterFromRowAndColumn ()
 
void resetColorized ()
 
QString packetComment ()
 
void setPacketComment (QString new_comment)
 
QString allPacketComments ()
 
void deleteAllPacketComments ()
 
void setVerticalAutoScroll (bool enabled=true)
 
void setCaptureInProgress (bool in_progress=false)
 
void captureFileReadFinished ()
 
void resetColumns ()
 
bool haveNextHistory (bool update_cur=false)
 
bool havePreviousHistory (bool update_cur=false)
 

Protected Slots

void rowsInserted (const QModelIndex &parent, int start, int end)
 
void drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Protected Member Functions

void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void contextMenuEvent (QContextMenuEvent *event)
 
void timerEvent (QTimerEvent *event)
 
void paintEvent (QPaintEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Member Function Documentation

void PacketList::freeze ( )

Disable and clear the packet list.

Disable packet list widget updates, clear the detail and byte views, and disconnect the model.

void PacketList::thaw ( bool  restore_selection = false)

Enable and restore the packet list.

Enable packet list widget updates and reconnect the model.

Parameters
restore_selectionIf true, redissect the previously selected packet. This includes filling in the detail and byte views.

The documentation for this class was generated from the following files: