casa
5.7.0-16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
casa
code
casaqt
QwtPlotter
QtPageHeaderDataModel.h
Go to the documentation of this file.
1
#ifndef QTPAGEHEADERDATAMODEL_H_
2
#define QTPAGEHEADERDATAMODEL_H_
3
4
#include <QtCore/QAbstractItemModel>
5
6
#include <
graphics/GenericPlotter/PageHeaderDataModel.h
>
7
8
namespace
casa {
9
10
// Qt-based implementation of PageHeaderDataModel
11
class
QtPageHeaderDataModel
:
public
PageHeaderDataModel
{
12
public
:
13
QtPageHeaderDataModel
(QAbstractItemModel *qtModel=
nullptr
) :
qtModel_
(qtModel) {}
14
QAbstractItemModel *
model
() {
return
qtModel_
; }
15
private
:
16
QAbstractItemModel *
qtModel_
;
17
};
18
typedef
casacore::CountedPtr<QtPageHeaderDataModel>
QtPageHeaderDataModelPtr
;
19
20
21
}
22
23
24
25
#endif
/* QTPAGEHEADERDATAMODEL_H_ */
casa::PageHeaderDataModel
The purpose of this class is simply to provide a base for implementations, and not to define an abstr...
Definition:
PageHeaderDataModel.h:17
casa::QtPageHeaderDataModel::qtModel_
QAbstractItemModel * qtModel_
Definition:
QtPageHeaderDataModel.h:16
casacore::CountedPtr
Referenced counted pointer for constant data.
Definition:
VisModelData.h:42
casa::QtPageHeaderDataModel::model
QAbstractItemModel * model()
Definition:
QtPageHeaderDataModel.h:14
casa::QtPageHeaderDataModelPtr
casacore::CountedPtr< QtPageHeaderDataModel > QtPageHeaderDataModelPtr
Definition:
QtPageHeaderDataModel.h:18
casa::QtPageHeaderDataModel::QtPageHeaderDataModel
QtPageHeaderDataModel(QAbstractItemModel *qtModel=nullptr)
Definition:
QtPageHeaderDataModel.h:13
casa::QtPageHeaderDataModel
Qt-based implementation of PageHeaderDataModel.
Definition:
QtPageHeaderDataModel.h:11
PageHeaderDataModel.h
Generated on Sun Sep 1 2019 23:32:29 for casa by
1.8.5