/** * @RDE_HEADER@ * CustomView for Functional Area * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Dassow, SLEA, 2017-06-09 */ #pragma once #include namespace Ui { class CustomViewTechnicalArea; } namespace AreaEffectSimulation { class TechnicalArea; class CustomViewTechnicalArea final : public LtsDataView::AbstractDisplayWidget { Q_OBJECT public: explicit CustomViewTechnicalArea(QWidget *parent = nullptr); ~CustomViewTechnicalArea(); bool init(const QModelIndex &idx) override final; private: bool calculateIcon(const AreaEffectSimulation::TechnicalArea &tecArea, const QColor &color); Ui::CustomViewTechnicalArea *m_ui; }; } // namespace AreaEffectSimulation