Explorer::AddressItemModel Class Referencefinal

Displays an address. More...

Inheritance diagram for Explorer::AddressItemModel:

Detailed Description

Displays an address.

Rows:

  • Name
  • Full address
  • Value
  • Unit
  • Type
  • Domain
  • Access mode
  • Bounding mode
  • Repetition filter
  • Description
  • Tags
  • Extended attributes

Public Types

enum  Rows {
  Name , Address , Value , Type ,
  Min , Max , Values , Unit ,
  Access , Bounding , Repetition , Count
}
 

Public Member Functions

 AddressItemModel (QObject *parent)
 
void setState (DeviceExplorerModel *model, Device::NodePath nodepath, const Device::FullAddressSettings &s)
 
void clear ()
 
const Device::FullAddressSettingssettings () const
 
bool setData (const QModelIndex &index, const QVariant &value, int role) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent) const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant valueColumnData (const State::Value &val, int role) const
 
QVariant data (const QModelIndex &index, int role) const override
 

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