20 #ifndef EQ_QT_WINDOW_H 21 #define EQ_QT_WINDOW_H 23 #include <eq/qt/types.h> 24 #include <eq/glWindow.h> 32 namespace detail {
class Window; }
47 virtual bool processEvent( EventType type, QEvent*, SizeEvent& event )
51 virtual bool processEvent( EventType type, QEvent*, PointerEvent& event )
55 virtual bool processEvent( EventType type, QEvent*, KeyEvent& event )
86 QScreen* screen, QThread* thread );
89 EQ_API ~Window()
final;
102 EQ_API
bool configInit()
override;
105 EQ_API
void configExit()
override;
115 EQ_API QOpenGLContext* getContext()
const;
120 EQ_API
void makeCurrent(
const bool cache =
true )
const override;
123 EQ_API
void doneCurrent()
const override;
126 EQ_API
void swapBuffers()
override;
129 EQ_API
void joinNVSwapBarrier(
const uint32_t group,
130 const uint32_t barrier )
override;
133 EQ_API
void leaveNVSwapBarrier();
136 EQ_API
bool processEvent( EventType type, QEvent* qEvent, SizeEvent& event )
151 EQ_API QObject* getEventProcessor();
154 void moveContextToThread( QThread* thread );
157 void destroyImpl( detail::Window* );
160 detail::Window*
const _impl;
164 #endif // EQ_QT_WINDOW_H virtual bool processEvent(EventType type, QEvent *, PointerEvent &event)
Process a mouse event.
A set of settings to setup an eq::SystemWindow.
The interface defining the minimum functionality for a Qt window.
Equalizer default implementation of a Qt window.
virtual bool processEvent(EventType type, QEvent *)
Process a stateless event.
A system window for OpenGL rendering.
virtual bool processEvent(EventType type, QEvent *, SizeEvent &event)
Process a (re)size event.
A base class for notifying errors and events.
EQ_API bool processEvent(EventType type)
Process a stateless event.
The Equalizer client library.
virtual bool processEvent(EventType type, QEvent *, KeyEvent &event)
Process a keyboard event.
virtual bool processEvent(EventType type)
Process a stateless event.