Continues migration with DDS, Common

This commit is contained in:
torsten committed 2026-07-17 12:41:42 +02:00
1 parent 9b15cee841
commit fa48db111e
668 files changed
+111841 -2

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
#pragma once
#include <QDialog>
#include "lts_base.h"
#include "lts_widgets_export.h"
namespace LtsWidgets
{
enum class Behaviour
{
Popup = 0,
Modal,
};
class LTSWIDGETS_EXPORT LtsFramelessDialog : public QDialog
{
Q_OBJECT
public:
explicit LtsFramelessDialog(QWidget *parent = nullptr, const Behaviour &behaviour = Behaviour::Popup);
virtual ~LtsFramelessDialog();
public Q_SLOTS:
void onUpdateGeometry();
private:
QRect screenRectFromPoint(const QPoint &pos) const;
void addTouchScroll(QWidget *widget);
protected:
void showEvent(QShowEvent *event) override;
};
}