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:
310 files changed
+2823
-740
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user