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>
77 lines
2.0 KiB
C++
77 lines
2.0 KiB
C++
/**
|
|
* @RDE_HEADER@
|
|
* passive container for view which only draws QPushButtons to save ressources
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Mike Wille, SLSE, 2014-10-01
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "EventList.h"
|
|
#include "LineMap.h"
|
|
#include "Range.h"
|
|
|
|
#include <QObject>
|
|
|
|
|
|
class QPainter;
|
|
class QStyleOptionViewItem;
|
|
|
|
|
|
namespace LtsTimelineClassic
|
|
{
|
|
|
|
/**
|
|
* @brief passive container for view which only draws QPushButtons to save ressources
|
|
* contains many Events (EventWidget)
|
|
* only paints the widgets (widgets are not user-accessible)
|
|
*/
|
|
class PassiveEventContainer: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/**
|
|
* @brief sets all required values in class and with the given event list
|
|
* @param eventList event list to manage by this pevcon
|
|
* @param parent parent
|
|
*/
|
|
explicit PassiveEventContainer(bool ignoreKnownRanges, QObject *parent = nullptr);
|
|
|
|
~PassiveEventContainer();
|
|
|
|
/**
|
|
* @brief draws all widgets on itself (which lies directly on the view) by considering the parameters
|
|
* @param painter painter to draw all containers on the view
|
|
* @param option style options of coherant row & column
|
|
* @param max last event in timeline in seconds since epoch
|
|
* @param min first event in timeline in seconds since epoch
|
|
* @param scrollBarPosition scrollbar positiion in seconds since epoch
|
|
* @param zoomFactor zoom factor in percent points
|
|
*/
|
|
void paint(QPainter *painter, const QStyleOptionViewItem &option, const LineMap &lineMap, const QVector<Range> &knownRanges) const;
|
|
|
|
/**
|
|
* @brief returns event list of pevcon (to create a new acecon which needs a event list)
|
|
* @return event list
|
|
*/
|
|
EventGraphicList getEventGraphicList() const;
|
|
|
|
/**
|
|
* @brief sets event list of pevcon
|
|
* @eventList new event list
|
|
*/
|
|
void setEventList(const EventGraphicList &eventGraphicList);
|
|
|
|
private:
|
|
EventGraphicList m_eventGraphicList;
|
|
bool m_ignoreKnownRanges;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
Q_DECLARE_METATYPE(LtsTimelineClassic::PassiveEventContainer *)
|