Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
HexDataSourceView Class Reference
Inheritance diagram for HexDataSourceView:
BaseDataSourceView IDataPrintable

Classes

struct  ByteViewAnnotation
 

Public Slots

void setMonospaceFont (const QFont &mono_font)
 
void updateByteViewSettings ()
 
void markProtocol (int start, int length)
 
void markField (int start, int length, bool scroll_to=true, bool hover=false)
 
void markAppendix (int start, int length)
 
void unmarkField ()
 
- Public Slots inherited from BaseDataSourceView
virtual void setMonospaceFont (const QFont &mono_font)=0
 
virtual void detachData ()
 
virtual void markProtocol (int start, int length)=0
 
virtual void markField (int start, int length, bool scroll_to=true, bool hover=false)=0
 
virtual void markAppendix (int start, int length)=0
 
virtual void unmarkField ()=0
 

Signals

void byteViewSettingsChanged ()
 
void addAnnotationRequested ()
 
void editAnnotationRequested ()
 
void removeAnnotationRequested ()
 
void offsetStartRequested (int byte)
 
void offsetEndRequested (int byte)
 
void offsetMarkersCleared ()
 
- Signals inherited from BaseDataSourceView
void byteHovered (int pos)
 
void byteSelected (int pos)
 

Public Member Functions

 HexDataSourceView (const QByteArray &data, packet_char_enc encoding=PACKET_CHAR_ENC_CHAR_ASCII, QWidget *parent=nullptr)
 
void setFormat (bytes_view_type format)
 
void setAnnotations (const QVector< ByteViewAnnotation > &annotations)
 
bool selectionRange (int *start, int *length) const
 
int selectionAnchor () const
 
int selectionEnd () const
 
int contextByteOffset () const
 
int dataSize () const
 
int offsetStart () const
 
int offsetEnd () const
 
int selectedFieldStart () const
 
int selectedFieldLength () const
 
int selectedProtocolStart () const
 
int selectedProtocolLength () const
 
bool selectedFieldIsProtocol () const
 
bool selectedFieldUsesOwnRange () const
 
void setOffsetStart (int byte)
 
void setOffsetEnd (int byte)
 
void clearOffsetMarkers ()
 
void setSelectedFieldIsProtocol (bool is_protocol)
 
void setSelectedFieldUsesOwnRange (bool use_own_range)
 
- Public Member Functions inherited from BaseDataSourceView
 BaseDataSourceView (const QByteArray &data, QWidget *parent=nullptr)
 
virtual QSize minimumSizeHint () const
 
virtual bool isEmpty () const
 
struct tvbufftvb () const
 
void setTvb (struct tvbuff *tvb)
 
int tabIndex () const
 
void setTabIndex (int tab_index)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual void showEvent (QShowEvent *)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 

Additional Inherited Members

- Protected Attributes inherited from BaseDataSourceView
QByteArray data_
 

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