Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
Executable
+38
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
#include "topic_editor_utils.h"
|
||||
|
||||
#include <TopicEditorBase/topiceditorbase_export.h>
|
||||
|
||||
#include <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;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user