CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::WidgetObscuredListener Class Reference

#include <cxWidgetObscuredListener.h>

Inheritance diagram for cx::WidgetObscuredListener:

Signals

void obscured (bool visible)
 

Public Member Functions

 WidgetObscuredListener (QWidget *listenedTo)
 
bool isObscured () const
 

Detailed Description

Listen to a widget, then emit signals when it is obscured. This hack solves the issue of tabbed widgets no receiving hide() events, or being !visible at all.

Definition at line 31 of file cxWidgetObscuredListener.h.

Constructor & Destructor Documentation

cx::WidgetObscuredListener::WidgetObscuredListener ( QWidget *  listenedTo)

Definition at line 20 of file cxWidgetObscuredListener.cpp.

Member Function Documentation

bool cx::WidgetObscuredListener::isObscured ( ) const

Definition at line 29 of file cxWidgetObscuredListener.cpp.

void cx::WidgetObscuredListener::obscured ( bool  visible)
signal

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