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:
torstenandCopilot committed 2026-08-19 14:46:29 +02:00
1 parent 1881d68aef
commit d6b6ffce7c
848 files changed
+89305 -100020

No files matched your search

+40 -51
View File
@@ -1,82 +1,71 @@
#include "TimelineWidget.h"
#include "TestTimelineModel.h"
#include "TimelineWidget.h"
#include <NGLLogger/NGLLoggerBootstrap.h>
#include <nglapplication/nglapplication.h>
#include <QDebug>
#include <QPushButton>
#include <QVBoxLayout>
#include <Services/ProjectDataManagement/pdm_enums.hpp>
#include <Services/ProjectDataManagement/pdm_translation.h>
#include <nglapplication/nglapplication.h>
#include <time.h>
#include <QVBoxLayout>
#include <QPushButton>
#include <QDebug>
LtsTimelineClassic::TestTimelineModel *ttm;
LtsTimelineClassic::TestTimelineModel* ttm;
void add(qint64 time_offset)
{
qint64 time = 1505292189000;
time += time_offset;
qint64 time = 1505292189000;
time += time_offset;
ttm->addTestEvent(new LtsTimelineClassic::Event(0, (int)ProjectDataManagement::EventType_def::Hit, time, 0, 0, 0, 0,
QStringList() << QStringLiteral("Test"),
LtsTimelineClassic::Event::drawCustomEventGraphicEllipse, QColor("green"), QString()));
ttm->addTestEvent(new LtsTimelineClassic::Event(
0, (int)ProjectDataManagement::EventType_def::Hit, time, 0, 0, 0, 0, QStringList() << QStringLiteral("Test"),
LtsTimelineClassic::Event::drawCustomEventGraphicEllipse, QColor("green"), QString()));
}
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
qputenv("TDS_DEVEL", "yes, of course");
qWarning() << "LtsTimelineClassicTest";
NGLApplication app(argc, argv);
app.createLogger("Timeline", "log4cxx_timeline.props");
qputenv("TDS_DEVEL", "yes, of course");
qWarning() << "LtsTimelineClassicTest";
NGLApplication app(argc, argv);
app.createLogger("Timeline", "log4cxx_timeline.props");
STARTUP_LOG(app.baseLogger());
STARTUP_LOG(app.baseLogger());
int ret = 0;
int ret = 0;
#if 1
QWidget *widget = new QWidget();
widget->setMinimumWidth(500);
QWidget* widget = new QWidget();
widget->setMinimumWidth(500);
QVBoxLayout *layout = new QVBoxLayout();
widget->setLayout(layout);
QVBoxLayout* layout = new QVBoxLayout();
widget->setLayout(layout);
LtsTimelineClassic::TimelineWidget *timelineWidget = new LtsTimelineClassic::TimelineWidget();
layout->addWidget(timelineWidget);
LtsTimelineClassic::TimelineWidget* timelineWidget = new LtsTimelineClassic::TimelineWidget();
layout->addWidget(timelineWidget);
QHBoxLayout *btnLayout = new QHBoxLayout();
QWidget *btnLayoutWidget = new QWidget();
btnLayoutWidget->setLayout(btnLayout);
layout->addWidget(btnLayoutWidget);
QHBoxLayout* btnLayout = new QHBoxLayout();
QWidget* btnLayoutWidget = new QWidget();
btnLayoutWidget->setLayout(btnLayout);
layout->addWidget(btnLayoutWidget);
btnLayout->addWidget(new QPushButton(QStringLiteral("Filter")));
btnLayout->addWidget(new QPushButton(QStringLiteral("CSV Export")));
btnLayout->addStretch(1);
btnLayout->addWidget(new QPushButton(QStringLiteral("Filter")));
btnLayout->addWidget(new QPushButton(QStringLiteral("CSV Export")));
btnLayout->addStretch(1);
widget->show();
widget->show();
ttm = new LtsTimelineClassic::TestTimelineModel();
timelineWidget->setTimelineModel(ttm);
ttm = new LtsTimelineClassic::TestTimelineModel();
timelineWidget->setTimelineModel(ttm);
add(0);
add(100 * 60 * 1000);
add(3000 * 60 * 1000);
add(0);
add(100 * 60 * 1000);
add(3000 * 60 * 1000);
ret = app.exec();
SHUTDOWN_LOG(app.baseLogger());
ret = app.exec();
SHUTDOWN_LOG(app.baseLogger());
#endif
return ret;
return ret;
}