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
openswmmvis::ui::RibbonCompactor Class Reference

#include <ribboncompactor.h>

Inheritance diagram for openswmmvis::ui::RibbonCompactor:
Collaboration diagram for openswmmvis::ui::RibbonCompactor:

Public Member Functions

 RibbonCompactor (QToolBar *bar, const QList< RibbonGroup * > &groups)
 
void relayoutNow ()
 

Protected Member Functions

bool eventFilter (QObject *watched, QEvent *event) override
 

Constructor & Destructor Documentation

◆ RibbonCompactor()

openswmmvis::ui::RibbonCompactor::RibbonCompactor ( QToolBar *  bar,
const QList< RibbonGroup * > &  groups 
)

Watches bar (and becomes its QObject child). groups in leading → trailing order — demotion starts at the back.

Member Function Documentation

◆ eventFilter()

bool openswmmvis::ui::RibbonCompactor::eventFilter ( QObject *  watched,
QEvent *  event 
)
overrideprotected

◆ relayoutNow()

void openswmmvis::ui::RibbonCompactor::relayoutNow ( )

Solve + apply immediately (the event filter funnels here through a compressed zero-timer).

Here is the call graph for this function:

The documentation for this class was generated from the following files: