new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
40 lines
753 B
C++
40 lines
753 B
C++
#pragma once
|
|
#include "topic_editor_utils.h"
|
|
#include <Lts/Common/TopicEditorBase/topiceditorbase_export.h>
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
namespace TopicEditorBase
|
|
{
|
|
|
|
class TOPICEDITORBASE_EXPORT TopicPreviewer : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TopicPreviewer(QWidget* parent = nullptr);
|
|
~TopicPreviewer();
|
|
|
|
void setTopicData(const TopicData& data);
|
|
|
|
TopicData topicData() const
|
|
{
|
|
return m_topicData;
|
|
}
|
|
|
|
protected:
|
|
void mousePressEvent(QMouseEvent* event) override;
|
|
void paintEvent(QPaintEvent* event) override;
|
|
|
|
signals:
|
|
void startDragMe();
|
|
void stopDragMe();
|
|
void deleteMe();
|
|
|
|
private:
|
|
TopicData m_topicData;
|
|
};
|
|
|
|
} // namespace TopicEditorBase
|