Apply clang-format to Lts/Common and DTC/enum headers
- 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>
This commit is contained in:
848 files changed
+89305
-100020
No files matched your search
Executable → Regular
+25
-27
@@ -1,11 +1,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "EventList.h"
|
||||
#include "Event.h"
|
||||
#include "EventList.h"
|
||||
#include "ltstimelineclassic_export.h"
|
||||
|
||||
namespace LtsTimelineClassic
|
||||
@@ -13,36 +11,36 @@ namespace LtsTimelineClassic
|
||||
|
||||
class LTSTIMELINECLASSIC_EXPORT EventGraphic
|
||||
{
|
||||
public:
|
||||
public:
|
||||
enum Action {
|
||||
ACTION_LEFT_CLICKED,
|
||||
ACTION_RIGHT_CLICKED,
|
||||
ACTION_TOOLTIP,
|
||||
};
|
||||
|
||||
enum Action
|
||||
{
|
||||
ACTION_LEFT_CLICKED,
|
||||
ACTION_RIGHT_CLICKED,
|
||||
ACTION_TOOLTIP,
|
||||
};
|
||||
explicit EventGraphic(Event* event);
|
||||
|
||||
explicit EventGraphic(Event *event);
|
||||
bool isMultipleEvent() const;
|
||||
|
||||
bool isMultipleEvent() const;
|
||||
const QVector<Event*> eventList() const
|
||||
{
|
||||
return m_eventList;
|
||||
}
|
||||
|
||||
const QVector<Event *> eventList() const { return m_eventList; }
|
||||
void addEventList(const QVector<Event *> &eventList);
|
||||
void addEvent(Event *event);
|
||||
qint64 lowestTime() const;
|
||||
qint64 getDuration();
|
||||
void addEventList(const QVector<Event*>& eventList);
|
||||
void addEvent(Event* event);
|
||||
qint64 lowestTime() const;
|
||||
qint64 getDuration();
|
||||
|
||||
void drawEventGraphic(QPainter *painter, const QRect &rect) const;
|
||||
void drawDurationBackground(QPainter *painter, const QRect &rect) const;
|
||||
void drawEventGraphic(QPainter* painter, const QRect& rect) const;
|
||||
void drawDurationBackground(QPainter* painter, const QRect& rect) const;
|
||||
|
||||
private:
|
||||
EventList m_eventList;
|
||||
|
||||
private:
|
||||
EventList m_eventList;
|
||||
|
||||
mutable qint64 m_lowest;
|
||||
mutable qint64 m_duration;
|
||||
bool m_isMultipleEvent;
|
||||
|
||||
mutable qint64 m_lowest;
|
||||
mutable qint64 m_duration;
|
||||
bool m_isMultipleEvent;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsTimelineClassic
|
||||
Reference in new issue
Block a user