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
+44
-69
@@ -1,15 +1,13 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
|
||||
#include "EventTools.h"
|
||||
#include "LineMap.h"
|
||||
#include <QWidget>
|
||||
#include <QPoint>
|
||||
#include <QPair>
|
||||
|
||||
#include <QObject>
|
||||
#include <QPair>
|
||||
#include <QPoint>
|
||||
#include <QWidget>
|
||||
|
||||
namespace NGL
|
||||
{
|
||||
@@ -20,92 +18,69 @@ class QPushButton;
|
||||
class QLabel;
|
||||
class QComboBox;
|
||||
|
||||
|
||||
namespace LtsTimelineClassic
|
||||
{
|
||||
|
||||
|
||||
|
||||
class TimelineIndicator : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
static const int s_TimeTextDistanceTolerancePixels = 10;
|
||||
static const int s_pbSize = 18;
|
||||
static const int s_TimeTextDistanceTolerancePixels = 10;
|
||||
static const int s_pbSize = 18;
|
||||
|
||||
public:
|
||||
explicit TimelineIndicator(QWidget *parent);
|
||||
~TimelineIndicator();
|
||||
qint64 zoomFactorPoints() const { return m_zoomFactorPoints * 1000; }
|
||||
public:
|
||||
explicit TimelineIndicator(QWidget* parent);
|
||||
~TimelineIndicator();
|
||||
|
||||
|
||||
qint64 zoomFactorPoints() const
|
||||
{
|
||||
return m_zoomFactorPoints * 1000;
|
||||
}
|
||||
|
||||
void refreshData();
|
||||
void refreshData();
|
||||
|
||||
private:
|
||||
QVector<qint64> m_timeArray;
|
||||
qint64 m_zoomFactorPoints;
|
||||
QPushButton *m_pbZoom;
|
||||
QPushButton *m_pbUnzoom;
|
||||
QComboBox *m_cbZoomLevel;
|
||||
int m_currentTextHeight;
|
||||
int m_currentTextWidth;
|
||||
LineMap m_lineMap;
|
||||
int m_sectionPos;
|
||||
int m_sectionSize;
|
||||
protected:
|
||||
|
||||
private:
|
||||
QVector<qint64> m_timeArray;
|
||||
qint64 m_zoomFactorPoints;
|
||||
QPushButton* m_pbZoom;
|
||||
QPushButton* m_pbUnzoom;
|
||||
QComboBox* m_cbZoomLevel;
|
||||
int m_currentTextHeight;
|
||||
int m_currentTextWidth;
|
||||
LineMap m_lineMap;
|
||||
int m_sectionPos;
|
||||
int m_sectionSize;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
void paintEvent(QPaintEvent *);
|
||||
protected:
|
||||
NGL::INGLLogger& m_logger;
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
signals:
|
||||
|
||||
signals:
|
||||
|
||||
void signalSetTimelineRange(qint64 min, qint64 max);
|
||||
void signalSetTimelineRange(qint64 min, qint64 max);
|
||||
|
||||
|
||||
void signalSetZoomFactor(qint64 zoomFactor);
|
||||
|
||||
void signalSetZoomFactor(qint64 zoomFactor);
|
||||
void signalResetLineList();
|
||||
|
||||
|
||||
void signalAddLine(int posX, qint64 time);
|
||||
|
||||
void signalResetLineList();
|
||||
void signalZoomChanged();
|
||||
|
||||
|
||||
private slots:
|
||||
void afterZoom();
|
||||
|
||||
void signalAddLine(int posX, qint64 time);
|
||||
public slots:
|
||||
|
||||
void signalZoomChanged();
|
||||
void slotSectionResized(int logicalIndex, int oldSize, int newSize);
|
||||
|
||||
void slotZoom();
|
||||
|
||||
private slots:
|
||||
void afterZoom();
|
||||
void slotUnzoom();
|
||||
|
||||
void slotResetLineList();
|
||||
|
||||
public slots:
|
||||
|
||||
|
||||
|
||||
void slotSectionResized(int logicalIndex, int oldSize, int newSize);
|
||||
|
||||
|
||||
|
||||
void slotZoom();
|
||||
|
||||
|
||||
|
||||
void slotUnzoom();
|
||||
|
||||
|
||||
|
||||
void slotResetLineList();
|
||||
|
||||
|
||||
|
||||
void slotAddLine(double posX, qint64 time);
|
||||
|
||||
void slotAddLine(double posX, qint64 time);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsTimelineClassic
|
||||
Reference in new issue
Block a user