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
+53
@@ -0,0 +1,53 @@
|
||||
|
||||
|
||||
|
||||
#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;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(LtsTimelineClassic::PassiveEventContainer *)
|
||||
Reference in new issue
Block a user