/** * @RDE_HEADER@ * CustomView for AES GasPipe * $Id$ * $HeadURL$ * $Author$ * Created by hjl, SLSE, 2017-06-20 */ #pragma once #include namespace Ui { class CustomViewGasPipe; } namespace AreaEffectSimulation { class GasPipe; class CustomViewGasPipe final : public LtsDataView::AbstractDisplayWidget { Q_OBJECT public: explicit CustomViewGasPipe(QWidget *parent = nullptr); ~CustomViewGasPipe(); bool init(const QModelIndex &idx) override final; private: bool calculateIcon(const AreaEffectSimulation::GasPipe &line, const QColor &color); Ui::CustomViewGasPipe *m_ui; }; } // namespace AreaEffectSimulation