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

A Qt Data Model for the table(view) displayed in PlotMS's page header Implements header items layout rules specifications: More...

#include <PlotMSPageHeaderDataModel.qo.h>

Inheritance diagram for casa::PlotMSPageHeaderDataModel:

Public Member Functions

 PlotMSPageHeaderDataModel (PlotMSApp *app, QObject *parent=0)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
int lastColumnIndex () const
 
bool isLogicalColumn (int column) const
 
int logicalColumn (int column) const
 

Static Public Attributes

static constexpr int physicalColumns
 
static constexpr int logicalColumns
 

Private Attributes

PlotMSAppitsParent_
 

Detailed Description

A Qt Data Model for the table(view) displayed in PlotMS's page header Implements header items layout rules specifications:

Definition at line 16 of file PlotMSPageHeaderDataModel.qo.h.

Constructor & Destructor Documentation

casa::PlotMSPageHeaderDataModel::PlotMSPageHeaderDataModel ( PlotMSApp app,
QObject *  parent = 0 
)

Member Function Documentation

int casa::PlotMSPageHeaderDataModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
QVariant casa::PlotMSPageHeaderDataModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
bool casa::PlotMSPageHeaderDataModel::isLogicalColumn ( int  column) const
inline
int casa::PlotMSPageHeaderDataModel::lastColumnIndex ( ) const
inline

Definition at line 26 of file PlotMSPageHeaderDataModel.qo.h.

References physicalColumns.

int casa::PlotMSPageHeaderDataModel::logicalColumn ( int  column) const
inline
int casa::PlotMSPageHeaderDataModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Member Data Documentation

PlotMSApp* casa::PlotMSPageHeaderDataModel::itsParent_
private

Definition at line 31 of file PlotMSPageHeaderDataModel.qo.h.

constexpr int casa::PlotMSPageHeaderDataModel::logicalColumns
static

Definition at line 21 of file PlotMSPageHeaderDataModel.qo.h.

constexpr int casa::PlotMSPageHeaderDataModel::physicalColumns
static

Definition at line 20 of file PlotMSPageHeaderDataModel.qo.h.

Referenced by lastColumnIndex().


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