PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::subwindows::decoder_selector::DecoderCollectionModel Class Reference

#include <subwindow.hpp>

Inheritance diagram for pv::subwindows::decoder_selector::DecoderCollectionModel:
Collaboration diagram for pv::subwindows::decoder_selector::DecoderCollectionModel:

Public Member Functions

 DecoderCollectionModel (QObject *parent=nullptr)
 
QVariant data (const QModelIndex &index, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent_idx=QModelIndex()) const override
 
QModelIndex parent (const QModelIndex &index) const override
 
int rowCount (const QModelIndex &parent_idx=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent_idx=QModelIndex()) const override
 

Private Attributes

shared_ptr< DecoderCollectionItemroot_
 

Detailed Description

Definition at line 63 of file subwindow.hpp.

Constructor & Destructor Documentation

pv::subwindows::decoder_selector::DecoderCollectionModel::DecoderCollectionModel ( QObject parent = nullptr)

Definition at line 36 of file model.cpp.

Member Function Documentation

int pv::subwindows::decoder_selector::DecoderCollectionModel::columnCount ( const QModelIndex &  parent_idx = QModelIndex()) const
override

Definition at line 194 of file model.cpp.

QVariant pv::subwindows::decoder_selector::DecoderCollectionModel::data ( const QModelIndex &  index,
int  role 
) const
override

Definition at line 111 of file model.cpp.

Here is the call graph for this function:

Qt::ItemFlags pv::subwindows::decoder_selector::DecoderCollectionModel::flags ( const QModelIndex &  index) const
override

Definition at line 134 of file model.cpp.

QVariant pv::subwindows::decoder_selector::DecoderCollectionModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
override

Definition at line 142 of file model.cpp.

QModelIndex pv::subwindows::decoder_selector::DecoderCollectionModel::index ( int  row,
int  column,
const QModelIndex &  parent_idx = QModelIndex() 
) const
override

Definition at line 151 of file model.cpp.

Here is the call graph for this function:

QModelIndex pv::subwindows::decoder_selector::DecoderCollectionModel::parent ( const QModelIndex &  index) const
override

Definition at line 167 of file model.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int pv::subwindows::decoder_selector::DecoderCollectionModel::rowCount ( const QModelIndex &  parent_idx = QModelIndex()) const
override

Definition at line 181 of file model.cpp.

Here is the call graph for this function:

Member Data Documentation

shared_ptr<DecoderCollectionItem> pv::subwindows::decoder_selector::DecoderCollectionModel::root_
private

Definition at line 84 of file subwindow.hpp.


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