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

+34 -39
View File
@@ -1,11 +1,9 @@
#pragma once
#include <QObject>
#include "ltswidgets_export.h"
#include <QObject>
#include <QWidget>
namespace Ui
{
class LtsTextEditor;
@@ -14,49 +12,46 @@ class LtsTextEditor;
class QTextEdit;
class QTextCharFormat;
namespace LtsWidgets
{
class LTSWIDGETS_EXPORT LtsTextEditor : public QWidget
{
Q_OBJECT
public:
LtsTextEditor(QWidget *parent = nullptr);
~LtsTextEditor();
void enableBackgroundColor(bool onOff);
void setInitialBackgroundColor(const QColor &bgColor);
QTextEdit *textEdit();
QColor backgroundColor() const;
Q_OBJECT
public:
LtsTextEditor(QWidget* parent = nullptr);
~LtsTextEditor();
void enableBackgroundColor(bool onOff);
void setInitialBackgroundColor(const QColor& bgColor);
QTextEdit* textEdit();
QColor backgroundColor() const;
Q_SIGNALS:
void backgroundColorChanged(const QColor &bgColor);
Q_SIGNALS:
void backgroundColorChanged(const QColor& bgColor);
private:
Ui::LtsTextEditor *m_ui;
QColor m_backgroundColor{Qt::white};
QColor m_foregroundColor{Qt::black};
private:
Ui::LtsTextEditor* m_ui;
QColor m_backgroundColor{Qt::white};
QColor m_foregroundColor{Qt::black};
private slots:
void slotCurrentCharFormatChanged(const QTextCharFormat &format);
void slotFontChanged(const QFont &f);
void slotTextColorChanged(const QColor &c);
void slotBackgroundColorChanged(const QColor &bgColor);
void slotAlignmentChanged();
void slotMergeFormatOnWordOrSelection(const QTextCharFormat &format);
void slotClipboardDataChanged();
void slotTextColor();
void slotBackgroundColor();
void slotTextSize(const QString &p);
void slotTextSizeEditingFinished();
void slotTextFamily(const QString &f);
void slotTextItalic();
void slotTextUnderline();
void slotTextBold();
void slotTextAlign();
private slots:
void slotCurrentCharFormatChanged(const QTextCharFormat& format);
void slotFontChanged(const QFont& f);
void slotTextColorChanged(const QColor& c);
void slotBackgroundColorChanged(const QColor& bgColor);
void slotAlignmentChanged();
void slotMergeFormatOnWordOrSelection(const QTextCharFormat& format);
void slotClipboardDataChanged();
void slotTextColor();
void slotBackgroundColor();
void slotTextSize(const QString& p);
void slotTextSizeEditingFinished();
void slotTextFamily(const QString& f);
void slotTextItalic();
void slotTextUnderline();
void slotTextBold();
void slotTextAlign();
};
}
} // namespace LtsWidgets