Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::utilqt::WidgetCloseEventFilter Struct Reference

#include <inviwoqtutils.h>

+ Inheritance diagram for inviwo::utilqt::WidgetCloseEventFilter:

Public Member Functions

 WidgetCloseEventFilter (QObject *parent)
 
virtual bool eventFilter (QObject *obj, QEvent *ev) override
 

Detailed Description

Workaround for closing Widget using the "X" button in the titlebar This filter intercepts the CloseEvent and ignores it, and then hides the widget


The documentation for this struct was generated from the following file: