Qt6 Migration: LtsWidgets, BUILD_RTI Guards, externe Dependencies dokumentiert

- LtsWidgets Verzeichnis vollständig migriert (Qt5→Qt6)
- BUILD_RTI Guards für RTI-spezifische Module hinzugefügt
- Externe Dependencies in EXTERNAL_DEPS.md dokumentiert
- Qt6 API-Änderungen: QRegExp→QRegularExpression, enterEvent(QEnterEvent*)
- AutoUic-Fehler bei ui_requirement behoben (SKIP_AUTOUIC)
- Include-Pfade korrigiert (LtsElevation, LtsMultiMonitor, LtsUtilsCore)
- MOC-Fehler behoben (Q_INTERFACES entfernt wo nicht benötigt)
- CMakeLists.txt Anpassungen für Qt6 (PUBLIC statt INTERFACE)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-21 10:29:34 +02:00
1 parent 27fe03a03a
commit d890b11c5f
145 files changed
+17700 -14377

No files matched your search

@@ -1,9 +1,10 @@
#pragma once
#include "lts_widgets_export.h"
#include <QObject>
#include <LtsWidgets/lts_widgets_export.h>
#include <QWidget>
namespace Ui
{
class LtsTextEditor;
@@ -12,46 +13,49 @@ 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 slotTextStyle(int styleIndex);
void slotTextAlign();
};
} // namespace LtsWidgets