49 lines
820 B
C++
Executable File
49 lines
820 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* CustomView for MapObjects
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Norbert Thoden, SLSE, 2017-04-11
|
|
*/
|
|
#pragma once
|
|
|
|
// Own
|
|
#include <Map/situation_map_types.h>
|
|
#include <LtsDataView/abstract_display_widget.h>
|
|
|
|
|
|
class QDataWidgetMapper;
|
|
namespace Ui
|
|
{
|
|
class JumpPointCustomView;
|
|
}
|
|
|
|
|
|
namespace SituationMap
|
|
{
|
|
class Map;
|
|
|
|
class JumpPointCustomView final : public LtsDataView::AbstractDisplayWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
using BaseClass = AbstractDisplayWidget;
|
|
|
|
public:
|
|
explicit JumpPointCustomView(QWidget *parent = nullptr);
|
|
~JumpPointCustomView();
|
|
bool init(const QModelIndex &idx) override;
|
|
|
|
protected:
|
|
void setRow(int row);
|
|
|
|
private:
|
|
Ui::JumpPointCustomView *m_ui;
|
|
QDataWidgetMapper *m_mapper = nullptr;
|
|
|
|
QString m_name;
|
|
};
|
|
|
|
} // SituationMap
|