1#ifndef H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_HISTORYMODEL_HPP
2#define H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_HISTORYMODEL_HPP
4#include "internal/common.hpp"
6#include "AbstractListModel.hpp"
7#include "internal/HistoryCollective.hpp"
8#include "internal/ModelMixin.hpp"
13namespace dataacquisition {
38 Q_PROPERTY(
QStringList tags READ tags WRITE setTags NOTIFY tagsChanged)
40 Q_PROPERTY(
QDateTime begin READ begin NOTIFY beginChanged)
42 Q_PROPERTY(
QDateTime end READ end NOTIFY endChanged)
44 Q_PROPERTY(
QDateTime from READ from WRITE setFrom NOTIFY fromChanged)
46 Q_PROPERTY(
QDateTime to READ to WRITE setTo NOTIFY toChanged)
66 bool busy()
const override;
86 void requestUpdate()
override;
89 void confirmUpdateFinished()
override;
97 void onSchemaChanged();
Definition: AbstractListModel.hpp:19
Definition: HistoryModel.hpp:18
Role
Definition: HistoryModel.hpp:27
@ CLOSE_TIME_ROLE
Definition: HistoryModel.hpp:34
@ OPEN_ROLE
Definition: HistoryModel.hpp:29
@ OPEN_TIME_ROLE
Definition: HistoryModel.hpp:33
@ MAX_ROLE
Definition: HistoryModel.hpp:32
@ CLOSE_ROLE
Definition: HistoryModel.hpp:30
@ MIN_ROLE
Definition: HistoryModel.hpp:31
Definition: HistoryCollective.hpp:16
Definition: ModelMixin.hpp:16
Definition: HistoryCollective.hpp:23