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
macoswindowutils.h
Go to the documentation of this file.
1
9#ifndef OPENSWMMVIS_PLATFORM_MACOSWINDOWUTILS_H
10#define OPENSWMMVIS_PLATFORM_MACOSWINDOWUTILS_H
11
12class QWidget;
13
15
37void attachAsChildWindow(QWidget *dialog);
38
54void detachFromParentWindow(QWidget *dialog);
55
63
67
68} // namespace openswmmvis::platform
69
70#endif // OPENSWMMVIS_PLATFORM_MACOSWINDOWUTILS_H
Definition macoswindowutils.h:14
void detachFromParentWindow(QWidget *dialog)
Detach dialog from its parent NSWindow (inverse of attachAsChildWindow).
Definition macoswindowutils.mm:104
void endSimulationActivity()
Release the activity taken by beginSimulationActivity(); ends it when the last overlapping run finish...
Definition macoswindowutils.mm:146
void attachAsChildWindow(QWidget *dialog)
Attach dialog as an NSWindow child window of the nearest non-dialog top-level window above it (the ma...
Definition macoswindowutils.mm:69
void beginSimulationActivity()
Hold a user-initiated NSProcessInfo activity while a simulation runs, so App Nap does not throttle a ...
Definition macoswindowutils.mm:136