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