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>
This commit is contained in:
18662 files changed
+4115092
-5435
No files matched your search
@@ -0,0 +1,120 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* widget in MVC pattern which manages the entire timeline to add on a layout or widget
|
||||
* $Id: TimelineWidget.h 49755 2020-02-04 08:44:47Z ehrlicher $
|
||||
* $HeadURL: svn://192.168.133.21/TDS/branches/product/features/hotline/Lts/Common/LtsTimelineClassic/TimelineWidget.h $
|
||||
* $Author: ehrlicher $
|
||||
* Created by Mike Wille, SLSE, 2014-10-01
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "timeline_utils.h"
|
||||
|
||||
#include <LtsTimeline/ltstimeline_export.h>
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
||||
class QScrollBar;
|
||||
class QAbstractItemModel;
|
||||
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class Timeline;
|
||||
}
|
||||
|
||||
|
||||
namespace LtsTimeline
|
||||
{
|
||||
|
||||
class TimelineView;
|
||||
class TimelineHeaderView;
|
||||
class TimelineModel;
|
||||
|
||||
|
||||
class LTSTIMELINE_EXPORT TimelineWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TimelineWidget(QWidget *parent = nullptr);
|
||||
~TimelineWidget();
|
||||
|
||||
TimelineView *view();
|
||||
|
||||
TimelineHeaderView *header();
|
||||
|
||||
TimelineModel *timelineModel();
|
||||
void setModel(QAbstractItemModel *model);
|
||||
|
||||
QScrollBar *slider();
|
||||
|
||||
ZoomFactor zoomFactor() const;
|
||||
void setZoomFactor(ZoomFactor factor);
|
||||
|
||||
ZoomFactor minimumZoomFactor() const;
|
||||
void setMinimumZoomFactor(ZoomFactor factor);
|
||||
|
||||
ZoomFactor maximumZoomFactor() const;
|
||||
void setMaximumZoomFactor(ZoomFactor factor);
|
||||
|
||||
qint64 startTime() const;
|
||||
void setStartTime(qint64 time);
|
||||
|
||||
qint64 currentTime() const;
|
||||
void setCurrentTime(qint64 time);
|
||||
|
||||
qint64 endTime() const;
|
||||
void setEndTime(qint64 time);
|
||||
|
||||
int duration() const;
|
||||
void setDuration(int duration);
|
||||
|
||||
bool isCursorTextVisible() const;
|
||||
void setCursorTextVisible(bool visible);
|
||||
void setCursorText(const QString &text);
|
||||
void setCursorText(const QStringList &texts);
|
||||
|
||||
bool isSnapEnabled() const;
|
||||
void setSnapEnabled(bool enabled);
|
||||
void enableSnap();
|
||||
void disableSnap();
|
||||
void triggerSnap();
|
||||
|
||||
void setZoomInIcon(QIcon icon);
|
||||
void setZoomOutIcon(QIcon icon);
|
||||
|
||||
QWidget *placeholder();
|
||||
void setPlaceholder(QWidget *widget);
|
||||
|
||||
void showDebugWidget();
|
||||
void hideDebugWidget();
|
||||
|
||||
private:
|
||||
void populateZoomFactorComboBox();
|
||||
|
||||
public:
|
||||
void onUpdateZoomButtons();
|
||||
|
||||
private slots:
|
||||
void onSectionResized(int logicalIndex, int oldSize, int newSize);
|
||||
void onSliderValueChanged(int value);
|
||||
void onZoomChanged(ZoomFactor factor);
|
||||
void onZoomSelected();
|
||||
void onZoomIn();
|
||||
void onZoomOut();
|
||||
|
||||
void onUpdateDebugInfo();
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
Ui::Timeline *m_ui{nullptr};
|
||||
NGL::INGLLogger &m_logger;
|
||||
|
||||
};
|
||||
|
||||
} // namespace LtsTimeline
|
||||
Reference in new issue
Block a user