Files
qt-migration-legatus/qt5-before/dlbo/Lts/Tools/RestClientUi/main_window.ui
T
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00

216 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>750</width>
<height>580</height>
</rect>
</property>
<property name="windowTitle">
<string>Qt REST Client GUI</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QFrame" name="leftFrame">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>220</width>
<height>16777215</height>
</size>
</property>
<layout class="QVBoxLayout" name="leftLayout">
<item>
<widget class="QLabel" name="labelTemplates">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>JSON Templates:</string>
</property>
</widget>
</item>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>520</height>
</rect>
</property>
<layout class="QVBoxLayout" name="templateButtonContainer">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="mainVerticalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="labelUrl">
<property name="text">
<string>Basis URL:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="m_urlInput">
<property name="text">
<string>http://localhost:8080</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelEndpoint">
<property name="text">
<string>Endpunkt:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="m_endpointInput">
<property name="text">
<string>/posts</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="labelJson">
<property name="text">
<string>JSON Input (for POST / PUT):</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="m_jsonInput"/>
</item>
<item>
<widget class="QCheckBox" name="m_autoSubmitCheck">
<property name="text">
<string>Submit automatically on template click</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="buttonLayout">
<item>
<widget class="QPushButton" name="m_getBtn">
<property name="text">
<string>GET</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_postBtn">
<property name="text">
<string>POST</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_putBtn">
<property name="text">
<string>PUT</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_deleteBtn">
<property name="text">
<string>DELETE</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="labelResponse">
<property name="text">
<string>Server Response / Error Log:</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="m_responseOutput">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="responseActionLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="m_clearResponseBtn">
<property name="text">
<string>Clear Log</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_exportResponseBtn">
<property name="text">
<string>Export as JSON...</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>