OpendTect
7.0
|
Public Member Functions | |
ODGLWidget (const QGLFormat &format, QWidget *parent=nullptr, const QGLWidget *shareWidget=nullptr, Qt::WindowFlags f=Qt::WindowFlags(), bool forwardKeyEvents=false) | |
ODGLWidget (QGLContext *context, QWidget *parent=nullptr, const QGLWidget *shareWidget=nullptr, Qt::WindowFlags f=Qt::WindowFlags(), bool forwardKeyEvents=false) | |
ODGLWidget (QWidget *parent=nullptr, const QGLWidget *shareWidget=nullptr, Qt::WindowFlags f=Qt::WindowFlags(), bool forwardKeyEvents=false) | |
virtual | ~ODGLWidget () |
virtual bool | gestureEvent (QGestureEvent *) |
bool | getForwardKeyEvents () const |
ODGraphicsWindow * | getGraphicsWindow () |
const ODGraphicsWindow * | getGraphicsWindow () const |
bool | getTouchEventsEnabled () const |
void | keyPressEvent (QKeyEvent *) override |
void | keyReleaseEvent (QKeyEvent *) override |
void | mouseDoubleClickEvent (QMouseEvent *) override |
void | mouseMoveEvent (QMouseEvent *) override |
void | mousePressEvent (QMouseEvent *) override |
void | mouseReleaseEvent (QMouseEvent *) override |
virtual void | setForwardKeyEvents (bool yn) |
void | setGraphicsWindow (ODGraphicsWindow *gw) |
void | setKeyboardModifiers (QInputEvent *) |
void | setTouchEventsEnabled (bool yn) |
void | wheelEvent (QWheelEvent *) override |
Protected Member Functions | |
void | enqueueDeferredEvent (QEvent::Type eventType, QEvent::Type removeEventType=QEvent::None) |
bool | event (QEvent *) override |
int | getNumDeferredEvents () |
void | glDraw () override |
void | moveEvent (QMoveEvent *) override |
void | processDeferredEvents () |
void | resizeEvent (QResizeEvent *) override |
Protected Attributes | |
QQueue< QEvent::Type > | _deferredEventQueue |
QMutex | _deferredEventQueueMutex |
qreal | _devicePixelRatio |
QSet< QEvent::Type > | _eventCompressor |
bool | _forwardKeyEvents |
ODGraphicsWindow * | _gw |
bool | _touchEventsEnabled |
Private Types | |
typedef QGLWidget | inherited |
Friends | |
class | ODGraphicsWindow |
<>
|
private |
ODGLWidget::ODGLWidget | ( | QWidget * | parent = nullptr , |
const QGLWidget * | shareWidget = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() , |
||
bool | forwardKeyEvents = false |
||
) |
ODGLWidget::ODGLWidget | ( | QGLContext * | context, |
QWidget * | parent = nullptr , |
||
const QGLWidget * | shareWidget = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() , |
||
bool | forwardKeyEvents = false |
||
) |
ODGLWidget::ODGLWidget | ( | const QGLFormat & | format, |
QWidget * | parent = nullptr , |
||
const QGLWidget * | shareWidget = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() , |
||
bool | forwardKeyEvents = false |
||
) |
|
virtual |
|
inlineprotected |
|
overrideprotected |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
overrideprotected |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
overrideprotected |
|
protected |
|
overrideprotected |
|
inlinevirtual |
|
inline |
void ODGLWidget::setKeyboardModifiers | ( | QInputEvent * | ) |
void ODGLWidget::setTouchEventsEnabled | ( | bool | yn | ) |
|
override |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024