19 #ifndef EQ_QT_WINDOW_H
20 #define EQ_QT_WINDOW_H
22 #include <eq/client/qt/types.h>
23 #include <eq/client/glWindow.h>
24 #include <boost/function/function1.hpp>
30 namespace detail {
class Window; }
40 # pragma clang diagnostic push
41 # pragma clang diagnostic ignored "-Woverloaded-virtual"
44 # pragma clang diagnostic pop
93 void makeCurrent( const
bool cache = true ) const override;
100 const uint32_t barrier ) override;
105 QGLWidget* getQGLWidget() const;
113 detail::
Window* const _impl;
117 #endif // EQ_QT_WINDOW_H
void swapBuffers() override
EQ_API bool processEvent(const WindowEvent &event) override
bool configInit() override
Initialize this window for the Qt window system.
virtual bool processEvent(const WindowEvent &event)=0
Process the given event.
A set of settings to setup an eq::SystemWindow.
boost::function< void(QGLWidget *) > DeleteGLWidgetFunc
Function invoked to delete the QGLWidget from the destructor.
~Window() final
Destruct this Qt window.
The interface defining the minimum functionality for a Qt window.
Window(NotifierInterface &parent, const WindowSettings &settings, QGLWidget *glWidget, DeleteGLWidgetFunc deleteGLWidget=0)
Construct a new Qt system window.
Equalizer default implementation of a Qt window.
void configExit() override
EQ_API GLWindow(NotifierInterface &parent, const WindowSettings &settings)
Construct a new OpenGL window.
A system window for OpenGL rendering.
A base class for notifying errors and events.
virtual EQ_API void exitEventHandler()
void joinNVSwapBarrier(const uint32_t group, const uint32_t barrier) override
Implementation untested for Qt.
A window-system event for a qt::WindowIF.
void makeCurrent(const bool cache=true) const override
virtual EQ_API void initEventHandler()
void leaveNVSwapBarrier()
Implementation untested for Qt.