Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,35 @@
/**
* @RDE_HEADER@
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Last, NLSE, 2018-03-29
*/
#pragma once
#include <QPointer>
#include <QWidget>
namespace BuildingViewer
{
/*
* Purpose: The capture/stolen BgViewer widget may be used within a LtsDialog
* by accessing it via 'BgViewerControllerSingleton::getBgViewerWidget()'.
* To prevent the deletion of 'pBgViewerWidget' we return this container whose
* dtor avoids a deletion.
*/
class BgViewerWidgetContainer : public QWidget
{
Q_OBJECT
public:
explicit BgViewerWidgetContainer(QWidget *pBgViewerWidget);
~BgViewerWidgetContainer();
signals:
void signalWidgetReleased();
private:
QPointer<QWidget> m_pBgViewerWidget;
};
}