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
47 lines
882 B
C++
47 lines
882 B
C++
#pragma once
|
|
#include "topic_editor_utils.h"
|
|
#include <Lts/Common/TopicEditorBase/topiceditorbase_export.h>
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
namespace Ui
|
|
{
|
|
class TopicPreviewWidget;
|
|
}
|
|
|
|
namespace TopicEditorBase
|
|
{
|
|
|
|
class TopicPreviewer;
|
|
|
|
class TOPICEDITORBASE_EXPORT TopicPreviewWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TopicPreviewWidget(QWidget* parent = nullptr);
|
|
~TopicPreviewWidget();
|
|
|
|
void setTopicData(const TopicData& data);
|
|
void setTopicEnabled(bool enabled);
|
|
|
|
QString description() const;
|
|
void setDescription(const QString& description);
|
|
|
|
TopicPreviewer* previewer();
|
|
|
|
private:
|
|
void contextMenuEvent(QContextMenuEvent* event);
|
|
|
|
signals:
|
|
void startDragMe();
|
|
void stopDragMe();
|
|
void deleteMe();
|
|
|
|
private:
|
|
Ui::TopicPreviewWidget* m_ui{nullptr};
|
|
};
|
|
|
|
} // namespace TopicEditorBase
|