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

#include <modules/qtwidgets/inviwoqtutils.h>

Inheritance diagram for inviwo::utilqt::WidgetCloseEventFilter:

Public Member Functions

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

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:
  • modules/qtwidgets/include/modules/qtwidgets/inviwoqtutils.h