API Documentation
|
A Widget wrapper around a QTGraphicsWindow that allows it to be used inside the UI framework. More...
#include <QtGraphicsWindow.h>
Signals | |
void | mouseInScreenSignal (bool mouse_in_screen) |
Public Member Functions | |
bool | eventCallback (QEvent *event) |
bool | eventFilter (QObject *watched, QEvent *e) override |
QTGraphicsWindow * | graphicsWindow () |
QTGraphicsWidget (QTGraphicsWindow *window, QWidget *parent=nullptr) | |
void | setCamera (UUID camera) |
void | setModelManager (QTModelManager *manager, bool auto_add_models) |
void | updateBackgroundColor () |
void | updateSize () override |
virtual | ~QTGraphicsWidget () |
Public Member Functions inherited from WindowContainer | |
bool | event (QEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
void | resizeEvent (QResizeEvent *resize_event) override |
void | setEventForwarder (const std::function< bool(QEvent *event)> &forwarder) |
void | setWidget (QWidget *window) |
void | setWindow (QWindow *window) |
void | visibleHack () |
WindowContainer (QWidget *parent=nullptr) | |
QPoint | windowOffset () const |
Protected Attributes | |
RGBColor | m_background_color = Constant<RGBColor>::Invalid |
QTimer * | m_check_visibility_timer |
GlobalGraphicsWidgetEventFilter * | m_filter |
QTGraphicsWindow * | m_window |
Protected Attributes inherited from WindowContainer | |
QWidget * | m_container |
std::function< bool(QEvent *event)> | m_event_forwarder |
QSize | m_last_paint_size |
QTimer * | m_location_timer |
QWindow * | m_window |
Additional Inherited Members | |
Static Public Member Functions inherited from WindowContainer | |
static Qt::WindowFlags | windowFlags () |
A Widget wrapper around a QTGraphicsWindow that allows it to be used inside the UI framework.
QTGraphicsWidget | ( | QTGraphicsWindow * | window, |
QWidget * | parent = nullptr ) |
|
virtual |
bool eventCallback | ( | QEvent * | event | ) |
|
override |
|
inline |
|
signal |
void setCamera | ( | UUID | camera | ) |
void setModelManager | ( | QTModelManager * | manager, |
bool | auto_add_models ) |
void updateBackgroundColor | ( | ) |
|
overridevirtual |
Reimplemented from WindowContainer.
|
protected |
|
protected |
|
protected |