casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
casa::AvailableItemsDataModel Class Reference

#include <PlotMSIterateTab.qo.h>

Inheritance diagram for casa::AvailableItemsDataModel:

Public Types

using Items = PageHeaderItemsDef
using Item = Items::Item
using ItemsArray = std::array< Item, Items::n_items >

Public Member Functions

 AvailableItemsDataModel (const ItemsArray &items, QObject *parent=0)
int rowCount (const QModelIndex &parent=QModelIndex()) const
 Read-Only interface. More...
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role) const

Private Attributes

const ItemsArrayitems_

Detailed Description

Definition at line 148 of file PlotMSIterateTab.qo.h.

Member Typedef Documentation

Definition at line 154 of file PlotMSIterateTab.qo.h.

Definition at line 153 of file PlotMSIterateTab.qo.h.

Definition at line 155 of file PlotMSIterateTab.qo.h.

Constructor & Destructor Documentation

casa::AvailableItemsDataModel::AvailableItemsDataModel ( const ItemsArray items,
QObject *  parent = 0 

Member Function Documentation

int casa::AvailableItemsDataModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
QVariant casa::AvailableItemsDataModel::data ( const QModelIndex &  index,
int  role 
) const
int casa::AvailableItemsDataModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Read-Only interface.

Member Data Documentation

const ItemsArray& casa::AvailableItemsDataModel::items_

Definition at line 162 of file PlotMSIterateTab.qo.h.

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