#pragma once #include #include #include namespace AssetManagement { class AsmTrainingAreaDialogModel : public LtsWidgets::LtsAbstractTableModel { Q_OBJECT public: enum Columns { Id, Name, BottomLeft_x, BottomLeft_y, Height, Width, Image, }; explicit AsmTrainingAreaDialogModel(QObject *parent = nullptr); ~AsmTrainingAreaDialogModel(); bool initModel(const std::shared_ptr &asmDtc, bool hideRemoved); QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override final; private: bool m_hideRemoved; std::shared_ptr m_asmDtc; LOGGER_T m_logger; }; }// namespace AssetManagement