- 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>
34 lines
714 B
C++
34 lines
714 B
C++
#pragma once
|
|
|
|
#include "ltsscripttimeline_export.h"
|
|
|
|
#include <QObject>
|
|
|
|
class QMouseEvent;
|
|
class QKeyEvent;
|
|
|
|
namespace LtsScriptTimeline
|
|
{
|
|
class TrackContentWidget;
|
|
class TrackEntry;
|
|
|
|
class LTSSCRIPTTIMELINE_EXPORT SelectHandler : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SelectHandler(TrackContentWidget* _tcw) : QObject(nullptr), tcw(_tcw), m_pressedEntry(nullptr) {}
|
|
|
|
void mouseDoubleClick(QMouseEvent* event);
|
|
void mousePressEvent(QMouseEvent* event);
|
|
void mouseReleaseEvent(QMouseEvent* event);
|
|
void keyPressEvent(QKeyEvent* event);
|
|
|
|
TrackContentWidget* tcw;
|
|
TrackEntry* m_pressedEntry;
|
|
|
|
public slots:
|
|
void slotSetDescription();
|
|
};
|
|
} // namespace LtsScriptTimeline
|