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

Public Types

enum  {
  COL_DISPLAYED , COL_TITLE , COL_TYPE , COL_FIELDS ,
  COL_OCCURRENCE , COL_DISPLAY , COL_WIDTH , COL_XALIGN
}
 
enum  { OriginalType = Qt::UserRole , DisplayedState }
 

Public Member Functions

 ColumnListModel (QObject *parent=Q_NULLPTR)
 
void saveColumns ()
 
void addEntry ()
 
void deleteEntry (int row)
 
void reset ()
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QStringList mimeTypes () const
 
virtual QMimeData * mimeData (const QModelIndexList &indexes) const
 
virtual Qt::DropActions supportedDropActions () const
 
virtual bool canDropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const
 
virtual bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 

Static Public Member Functions

static bool displayEnabled (const QModelIndex &index, bool &displayStrings, bool &displayDetails)
 

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