- 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>
41 lines
820 B
C++
41 lines
820 B
C++
|
|
|
|
#pragma once
|
|
|
|
#include "EventList.h"
|
|
#include "LineMap.h"
|
|
#include "Range.h"
|
|
|
|
#include <QObject>
|
|
|
|
class QPainter;
|
|
class QStyleOptionViewItem;
|
|
|
|
namespace LtsTimelineClassic
|
|
{
|
|
|
|
class PassiveEventContainer : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit PassiveEventContainer(bool ignoreKnownRanges, QObject* parent = nullptr);
|
|
|
|
~PassiveEventContainer();
|
|
|
|
void paint(QPainter* painter, const QStyleOptionViewItem& option, const LineMap& lineMap,
|
|
const QVector<Range>& knownRanges) const;
|
|
|
|
EventGraphicList getEventGraphicList() const;
|
|
|
|
void setEventList(const EventGraphicList& eventGraphicList);
|
|
|
|
private:
|
|
EventGraphicList m_eventGraphicList;
|
|
bool m_ignoreKnownRanges;
|
|
};
|
|
|
|
} // namespace LtsTimelineClassic
|
|
|
|
Q_DECLARE_METATYPE(LtsTimelineClassic::PassiveEventContainer*)
|