![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Functions | |
| QScrollArea * | wrapInScrollArea (QWidget *content, QWidget *parent=nullptr) |
Wrap content in a frameless, resizable QScrollArea. | |
Variables | |
| constexpr int | kSpinMinWidthPx = 110 |
| constexpr int | kComboMinWidthPx = 140 |
|
inline |
Wrap content in a frameless, resizable QScrollArea.
| content | The fully-built content widget to host (takes ownership). |
| parent | Optional parent for the scroll area. |
content would have been added.The scroll area resizes content to the viewport width and shows a scrollbar when the viewport is smaller than the content's minimum — so the dialog/dock may shrink freely while the content stays at a readable size.
|
inlineconstexpr |
|
inlineconstexpr |
Minimum widths for controls that otherwise collapse in a narrow panel. Shared so spin boxes / combo boxes stay readable once the content scrolls. Values match swmm2dresultsstylepanel.cpp, the existing reference.