Qt6 Migration: Merge latest Qt5 devel content and apply migration fixes

- Merged 292 changed files from dlbo snapshot
- Fixed IDL enum collisions (PortType, PdmEventType)
- Fixed Grantlee template for C++11 scoped enums
- Fixed CMake VERSION_GREATER syntax
- Added missing directories (THP, LtsRestClient, etc.)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-09-15 18:20:51 +00:00
1 parent c9e245a211
commit 3028302f7b
310 files changed
+2823 -740

No files matched your search

@@ -0,0 +1,10 @@
add_library(parentAlphaGui MODULE parent_alpha.cpp parent_alpha.h)
target_link_libraries(parentAlphaGui PRIVATE Qt5::Widgets)
target_include_directories(parentAlphaGui PRIVATE ${CMAKE_SOURCE_DIR}/interfaces)
# Plugin in den Laufzeit-Ordner verschieben
set_target_properties(parentAlphaGui PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${PLUGIN_OUTPUT_DIR}"
RUNTIME_OUTPUT_DIRECTORY "${PLUGIN_OUTPUT_DIR}"
)
@@ -0,0 +1,31 @@
#include "parent_alpha.h"
#include <QLabel>
namespace DLBO
{
ParentAlpha::ParentAlpha()
{
m_widget = new QWidget();
m_layout = new QVBoxLayout(m_widget);
m_widget->setStyleSheet(QStringLiteral("border: 2px solid blue; padding: 10px; margin: 5px;"));
QLabel *label = new QLabel(QStringLiteral("Eltern-Widget (AlphaParent)\nBsp.: Tln-Info-Fenster"));
label->setStyleSheet(QStringLiteral("font-weight: bold; color: blue; font-size: 14px;"));
m_layout->addWidget(label);
m_inputField = new QLineEdit();
m_inputField->setPlaceholderText(QStringLiteral("Live-Eingabe für alle Kinder..."));
m_layout->addWidget(m_inputField);
connect(m_inputField, &QLineEdit::textChanged, this, &ParentAlpha::dataChangedLive);
}
void ParentAlpha::addChildWidget(QWidget *childWidget)
{
if (childWidget)
{
m_layout->addWidget(childWidget);
}
}
}
@@ -0,0 +1,35 @@
#pragma once
#include "../../interfaces/parent_interface.h"
#include <QLineEdit>
#include <QObject>
#include <QVBoxLayout>
namespace DLBO
{
class ParentAlpha
: public QObject
, public ParentInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "gui:3:ParentInterface")
Q_INTERFACES(ParentInterface)
public:
ParentAlpha();
QString pluginName() const override { return QStringLiteral("AlphaParent"); }
QWidget *widget() override { return m_widget; }
void addChildWidget(QWidget *childWidget) override;
QObject *qobjectInstance() override { return this; }
signals:
void dataChangedLive(const QString &text);
private:
QWidget *m_widget;
QVBoxLayout *m_layout;
QLineEdit *m_inputField;
};
}
@@ -0,0 +1,3 @@
{
"Keys": ["parent_alpha"]
}