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
mdiworkspacechrome.h File Reference
#include <QString>
#include <functional>
Include dependency graph for mdiworkspacechrome.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Functions

void openswmmvis::ui::installMdiWorkspaceChrome (QMdiArea *area, QWidget *welcome=nullptr)
 Make area's backdrop track the theme and give welcome an opaque background of its own.
 
void openswmmvis::ui::refreshSubWindowTabToolTips (QMdiArea *area, const std::function< QString(QMdiSubWindow *)> &pathFor)
 Give every tab in area a tooltip naming its document in full.
 

Detailed Description

Correct QMdiArea's stale initial backdrop, and make the welcome tab paint one of its own. Extracted from SWMMVis so tests/gui/test_mdi_tab_maximize.cpp can drive the real code against a bare QMdiArea instead of restating the logic.