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

35 lines
748 B
C++
Executable File

/**
* @RDE_HEADER@
* CustomView for Functional Area
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Dassow, SLEA, 2017-06-09
*/
#pragma once
#include <Viewer/LtsDataView/abstract_display_widget.h>
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