20 #ifndef EQ_QT_WINDOW_H 21 #define EQ_QT_WINDOW_H 25 #include <eq/glWindow.h> 26 #include <eq/qt/types.h> 53 virtual bool processEvent(EventType type, QEvent*, SizeEvent& event)
59 virtual bool processEvent(EventType type, QEvent*, PointerEvent& event)
65 virtual bool processEvent(EventType type, QEvent*, KeyEvent& event)
100 QScreen* screen, QThread* thread);
103 EQ_API ~Window()
final;
116 EQ_API
bool configInit()
override;
119 EQ_API
void configExit()
override;
129 EQ_API QOpenGLContext* getContext()
const;
134 EQ_API
void makeCurrent(
const bool cache =
true)
const override;
137 EQ_API
void doneCurrent()
const override;
140 EQ_API
void swapBuffers()
override;
143 EQ_API
void joinNVSwapBarrier(
const uint32_t group,
144 const uint32_t barrier)
override;
147 EQ_API
void leaveNVSwapBarrier();
150 EQ_API
bool processEvent(EventType type, QEvent* qEvent,
151 SizeEvent& event)
override;
165 EQ_API QObject* getEventProcessor();
168 void moveContextToThread(QThread* thread);
171 void destroyImpl(detail::Window*);
174 detail::Window*
const _impl;
176 void _resize(
const PixelViewport& pvp)
override;
180 #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.