SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
dialoglayoutwatcher.h
Go to the documentation of this file.
1#ifndef DIALOGLAYOUTWATCHER_H
2#define DIALOGLAYOUTWATCHER_H
3
22#include <QObject>
23
24namespace openswmmvis::ui {
25
27inline constexpr char kNoLayoutPersistenceProp[] = "noLayoutPersistence";
29inline constexpr char kLayoutRestoredOnceProp[] = "layoutRestoredOnce";
30
31class DialogLayoutWatcher : public QObject
32{
33 Q_OBJECT
34
35public:
36 explicit DialogLayoutWatcher(QObject *parent = nullptr);
37
38 bool eventFilter(QObject *watched, QEvent *event) override;
39};
40
41} // namespace openswmmvis::ui
42
43#endif // DIALOGLAYOUTWATCHER_H
Definition dialoglayoutwatcher.h:32
bool eventFilter(QObject *watched, QEvent *event) override
Definition dialoglayoutwatcher.cpp:37
Definition openswmmvislayer.h:43
constexpr char kNoLayoutPersistenceProp[]
Dynamic property opting a QDialog out of automatic persistence.
Definition dialoglayoutwatcher.h:27
constexpr char kLayoutRestoredOnceProp[]
Instance property marking that the first-show restore already ran.
Definition dialoglayoutwatcher.h:29
QVector< int > parent
union-find
Definition pslgminsize.cpp:176