- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
40 lines
700 B
C++
40 lines
700 B
C++
#pragma once
|
|
#include "ltsscripttimeline_export.h"
|
|
|
|
#include <QObject>
|
|
#include <QWidget>
|
|
|
|
namespace Ui
|
|
{
|
|
class TrackEntryPreviewWidget;
|
|
}
|
|
|
|
namespace LtsScriptTimeline
|
|
{
|
|
class TrackEntry;
|
|
|
|
class LTSSCRIPTTIMELINE_EXPORT TrackEntryPreviewWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TrackEntryPreviewWidget(QWidget* parent = nullptr);
|
|
~TrackEntryPreviewWidget();
|
|
|
|
void setTrackEntry(TrackEntry* te);
|
|
|
|
void setTopicEnabled(bool enabled);
|
|
|
|
private:
|
|
Ui::TrackEntryPreviewWidget* m_ui;
|
|
|
|
void contextMenuEvent(QContextMenuEvent* event);
|
|
|
|
signals:
|
|
void signalStartDrag();
|
|
void signalStopDrag();
|
|
void signalDelete();
|
|
};
|
|
|
|
} // namespace LtsScriptTimeline
|