A (hacky) class for storing a window into a container. This is used if the rendering engine for a particular widget is different from the one used by the application. The hackiness comes from Qt's limited support for this functionality which results in the need to hack around the errors in Qt's core library.
More...
#include <WindowContainer.h>
A (hacky) class for storing a window into a container. This is used if the rendering engine for a particular widget is different from the one used by the application. The hackiness comes from Qt's limited support for this functionality which results in the need to hack around the errors in Qt's core library.
◆ WindowContainer()
◆ event()
bool event |
( |
QEvent * | event | ) |
|
|
inlineoverride |
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * | event | ) |
|
|
inlineoverride |
◆ resizeEvent()
void resizeEvent |
( |
QResizeEvent * | resize_event | ) |
|
|
inlineoverride |
◆ setEventForwarder()
void setEventForwarder |
( |
const std::function< bool(QEvent *event)> & | forwarder | ) |
|
|
inline |
◆ setWidget()
void setWidget |
( |
QWidget * | window | ) |
|
|
inline |
◆ setWindow()
void setWindow |
( |
QWindow * | window | ) |
|
|
inline |
◆ updateSize()
virtual void updateSize |
( |
| ) |
|
|
inlinevirtual |
◆ visibleHack()
◆ windowFlags()
static Qt::WindowFlags windowFlags |
( |
| ) |
|
|
inlinestatic |
◆ windowOffset()
QPoint windowOffset |
( |
| ) |
const |
|
inline |
◆ m_container
◆ m_event_forwarder
std::function<bool(QEvent * event)> m_event_forwarder |
|
protected |
◆ m_last_paint_size
◆ m_location_timer
◆ m_window
The documentation for this class was generated from the following file: