Files
qt5-legatus-legacy/Lts/Plugins/AreaEffectSimulation/Gui/GasPipe/CustomView/aes_gas_pipe.h
T
2026-08-13 18:33:10 +02:00

37 lines
689 B
C++
Executable File

/**
* @RDE_HEADER@
* CustomView for AES GasPipe
* $Id$
* $HeadURL$
* $Author$
* Created by hjl, SLSE, 2017-06-20
*/
#pragma once
#include <Viewer/LtsDataView/abstract_display_widget.h>
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