Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Common/TopicEditorBase/topic_previewer.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
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
2026-10-20 09:36:57 +02:00

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