Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
SyntaxLineEdit Class Reference
Inheritance diagram for SyntaxLineEdit:
CaptureFilterEdit DisplayFilterEdit DissectorSyntaxLineEdit FieldFilterEdit RangeSyntaxLineEdit

Public Types

enum  SyntaxState {
  Empty , Busy , Invalid , Deprecated ,
  Valid
}
 

Public Slots

void setStyleSheet (const QString &style_sheet)
 
void insertFilter (const QString &filter)
 
bool checkDisplayFilter (QString filter)
 
void checkFieldName (QString field)
 
void checkCustomColumn (QString fields)
 
void checkInteger (QString number)
 

Public Member Functions

 SyntaxLineEdit (QWidget *parent=0)
 
SyntaxState syntaxState () const
 
void setSyntaxState (SyntaxState state=Empty)
 
QString syntaxErrorMessage ()
 
QString syntaxErrorMessageFull ()
 
QString styleSheet () const
 
QString deprecatedToken ()
 
void setCompleter (QCompleter *c)
 
QCompleter * completer () const
 
void allowCompletion (bool enabled)
 

Static Public Member Functions

static QString createSyntaxErrorMessageFull (const QString &filter, const QString &err_msg, qsizetype loc_start, size_t loc_length)
 

Protected Member Functions

void setCompletionTokenChars (const QString &token_chars)
 
bool isComplexFilter (const QString &filter)
 
virtual void buildCompletionList (const QString &field_word, const QString &preamble)
 
QPoint getTokenUnderCursor ()
 
QStringList splitLineUnderCursor ()
 
virtual bool event (QEvent *event)
 
void completionKeyPressEvent (QKeyEvent *event)
 
void completionFocusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QCompleter * completer_
 
QStringListModel * completion_model_
 

Properties

SyntaxState syntaxState
 

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