Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Types | Public Slots | Signals | Public Member Functions | List of all members
PacketListModel Class Reference
Inheritance diagram for PacketListModel:

Public Types

enum  { HEADER_CAN_RESOLVE = Qt::UserRole }
 

Public Slots

void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
 
void stopSorting ()
 
void flushVisibleRows ()
 
void dissectIdle (bool reset=false)
 

Signals

void packetAppended (capture_file *cap_file, frame_data *fdata, qsizetype row)
 
void goToPacket (int)
 
void maxLineCountChanged (const QModelIndex &ih_index) const
 
void itemHeightChanged (const QModelIndex &ih_index)
 
void bgColorizationProgress (int first, int last)
 

Public Member Functions

 PacketListModel (QObject *parent=0, capture_file *cf=NULL)
 
void setCaptureFile (capture_file *cf)
 
QModelIndex index (int row, int column, const QModelIndex &=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &) const
 
int packetNumberToRow (int packet_num) const
 
unsigned recreateVisibleRows ()
 
void clear ()
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
int columnCount (const QModelIndex &=QModelIndex()) const
 
QVariant data (const QModelIndex &d_index, int role) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
int appendPacket (frame_data *fdata)
 
frame_data * getRowFdata (QModelIndex idx) const
 
frame_data * getRowFdata (int row) const
 
void ensureRowColorized (int row)
 
int visibleIndexOf (frame_data *fdata) const
 
void invalidateAllColumnStrings ()
 Invalidate any cached column strings.
 
void resetColumns ()
 Rebuild columns from settings.
 
void resetColorized ()
 
void toggleFrameMark (const QModelIndexList &indeces)
 
void setDisplayedFrameMark (bool set)
 
void toggleFrameIgnore (const QModelIndexList &indeces)
 
void setDisplayedFrameIgnore (bool set)
 
void toggleFrameRefTime (const QModelIndex &rt_index)
 
void unsetAllFrameRefTime ()
 
void addFrameComment (const QModelIndexList &indices, const QByteArray &comment)
 
void setFrameComment (const QModelIndex &index, const QByteArray &comment, unsigned c_number)
 
void deleteFrameComments (const QModelIndexList &indices)
 
void deleteAllFrameComments ()
 
void setMaximumRowHeight (int height)
 

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