|
ORE Studio 0.0.4
|
Utility functions for MDI window operations. More...
#include <MdiUtils.hpp>

Static Public Member Functions | |
| static bool | markParentWindowAsStale (QWidget *widget) |
| Mark the parent MDI subwindow as having stale data. | |
| static bool | clearParentWindowStaleMarker (QWidget *widget) |
| Clear the stale marker from the parent MDI subwindow. | |
Utility functions for MDI window operations.
|
static |
Mark the parent MDI subwindow as having stale data.
Traverses up the widget hierarchy to find the parent QMdiSubWindow and appends "(Data Changed)" to its title if not already present.
| widget | The widget whose parent MDI window should be marked. |
|
static |
Clear the stale marker from the parent MDI subwindow.
Removes "(Data Changed)" from the window title if present.
| widget | The widget whose parent MDI window should be cleared. |