API Documentation
|
#include <QtGraphicsWindow.h>
Signals | |
void | mouseInScreenSignal (bool mouse_in_screen) |
Public Member Functions | |
QTGraphicsWidget (QTGraphicsWindow *window, QWidget *parent=nullptr) | |
virtual | ~QTGraphicsWidget () |
bool | eventCallback (QEvent *event) |
bool | eventFilter (QObject *watched, QEvent *e) override |
void | updateSize () override |
void | setCamera (UUID camera) |
void | setModelManager (QTModelManager *manager, bool auto_add_models) |
void | updateBackgroundColor () |
QTGraphicsWindow * | graphicsWindow () |
Public Member Functions inherited from WindowContainer | |
WindowContainer (QWidget *parent=nullptr) | |
QPoint | windowOffset () const |
void | setWidget (QWidget *window) |
void | setWindow (QWindow *window) |
void | resizeEvent (QResizeEvent *resize_event) override |
void | visibleHack () |
void | paintEvent (QPaintEvent *event) override |
bool | event (QEvent *event) override |
void | setEventForwarder (const std::function< bool(QEvent *event)> &forwarder) |
Protected Attributes | |
QTGraphicsWindow * | m_window |
QTimer * | m_check_visibility_timer |
RGBColor | m_background_color = Constant<RGBColor>::NaN |
GlobalGraphicsWidgetEventFilter * | m_filter |
Protected Attributes inherited from WindowContainer | |
std::function< bool(QEvent *event)> | m_event_forwarder |
QTimer * | m_location_timer |
QSize | m_last_paint_size |
QWindow * | m_window |
QWidget * | m_container |
Additional Inherited Members | |
Static Public Member Functions inherited from WindowContainer | |
static Qt::WindowFlags | windowFlags () |
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 |