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,10 +1,18 @@
/**
* @RDE_HEADER@
* Background Widget that covers a monitor with the project image
* $Id$
* $HeadURL$
* $Author$
* Created by Mike Wille, SLSE, 2016-05-05
*/
#pragma once
#include "lts_widgets_export.h"
#include <QDialog>
#include <QObject>
class QPixmap;
class QEvent;
@@ -12,34 +20,41 @@ class QEvent;
namespace LtsWidgets
{
/**
* @brief The LtsBackgroundWidget class creates a fullscreen Widget that covers a monitor with the project image (used for payloads in opApp)
*/
class LTSWIDGETS_EXPORT LtsBackgroundWidget : public QDialog
{
Q_OBJECT
Q_OBJECT
public:
explicit LtsBackgroundWidget(QWidget* parent = nullptr);
public:
explicit LtsBackgroundWidget(QWidget *parent = nullptr);
protected:
void paintEvent(QPaintEvent* e) override;
void closeEvent(QCloseEvent* e) override;
void resizeEvent(QResizeEvent* e) override;
bool event(QEvent* e) override;
protected:
void paintEvent(QPaintEvent *e) override;
void closeEvent(QCloseEvent *e) override;
void resizeEvent(QResizeEvent *e) override;
bool event(QEvent *e) override;
private:
void setBackground();
void setUltraWide(bool set = true);
private:
void setBackground();
void setUltraWide(bool set = true);
signals:
signals:
/**
* @brief signalOperatorAction is emitted when the operator moves/clickes the cursor or enters some letters - for example, show window again after it's hidden (screen saver effect)
*/
void signalOperatorAction();
void signalOperatorAction();
public slots:
/**
* @brief showFullScreen shows the widget and raises it. Otherwise the widget would be far in the background (and wihtout a show not shown)
*/
void showFullScreen();
private:
QPixmap m_pixmap;
bool m_isUltraWide;
public slots:
void showFullScreen();
private:
QPixmap m_pixmap;
bool m_isUltraWide;
};
} // namespace LtsWidgets
}