Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
eq::qt::Window Class Reference

Equalizer default implementation of a Qt window. More...

#include <window.h>

+ Inheritance diagram for eq::qt::Window:
+ Collaboration diagram for eq::qt::Window:

Public Types

typedef boost::function< void(QGLWidget *) > DeleteGLWidgetFunc
 Function invoked to delete the QGLWidget from the destructor. More...
 

Public Member Functions

 Window (NotifierInterface &parent, const WindowSettings &settings, QGLWidget *glWidget, DeleteGLWidgetFunc deleteGLWidget=0)
 Construct a new Qt system window. More...
 
 ~Window () final
 Destruct this Qt window. More...
 
Qt initialization
bool configInit () override
 Initialize this window for the Qt window system. More...
 
void configExit () override
 
virtual EQ_API void initEventHandler ()
 
virtual EQ_API void exitEventHandler ()
 
Operations.
void makeCurrent (const bool cache=true) const override
 
void swapBuffers () override
 
void joinNVSwapBarrier (const uint32_t group, const uint32_t barrier) override
 Implementation untested for Qt. More...
 
void leaveNVSwapBarrier ()
 Implementation untested for Qt. More...
 
QGLWidget * getQGLWidget () const
 
GLWidgetgetGLWidget () const
 
EQ_API bool processEvent (const WindowEvent &event) override
 
- Public Member Functions inherited from eq::qt::WindowIF
 WindowIF (NotifierInterface &parent, const WindowSettings &settings)
 
- Public Member Functions inherited from eq::GLWindow
EQ_API GLWindow (NotifierInterface &parent, const WindowSettings &settings)
 Construct a new OpenGL window. More...
 
virtual EQ_API ~GLWindow ()
 Destruct a new OpenGL window. More...
 
EQ_API bool isCurrent () const
 
virtual EQ_API void initGLEW ()
 Initialize the GLEW context for this window. More...
 
virtual EQ_API void exitGLEW ()
 De-initialize the GLEW context. More...
 
EQ_API const GLEWContext * glewGetContext () const override
 Get the GLEW context for this window. More...
 
EQ_API void queryDrawableConfig (DrawableConfig &) override
 Set up the drawable config by querying the current context. More...
 
EQ_API void bindFrameBuffer () const override
 Bind the window's FBO, if it uses an FBO drawable. More...
 
EQ_API void flush () override
 Flush all command buffers. More...
 
EQ_API void finish () override
 Finish execution of all commands. More...
 
virtual EQ_API bool configInitFBO ()
 Build and initialize the FBO. More...
 
virtual EQ_API void configExitFBO ()
 Destroy the FBO. More...
 
EQ_API const
util::FrameBufferObject
getFrameBufferObject () const override
 
- Public Member Functions inherited from eq::SystemWindow
EQ_API SystemWindow (NotifierInterface &parent, const WindowSettings &settings)
 Create a new SystemWindow for the given eq::Window. More...
 
virtual EQ_API ~SystemWindow ()
 Destroy the SystemWindow. More...
 
EQ_API EventOCommand sendError (const uint32_t error)
 Send a window error event to the application node. More...
 
virtual EQ_API bool processEvent (const Event &event)
 Process an event. More...
 
EQ_API void setPixelViewport (const PixelViewport &pvp)
 Set the window's pixel viewport wrt its parent pipe. More...
 
EQ_API const PixelViewport & getPixelViewport () const
 
EQ_API uint32_t getColorFormat () const
 
EQ_API void setName (const std::string &name)
 Set the window's name. More...
 
EQ_API const std::string & getName () const
 
EQ_API int32_t getIAttribute (const WindowSettings::IAttribute attr) const
 
EQ_API const SystemWindowgetSharedContextWindow () const
 

Detailed Description

Equalizer default implementation of a Qt window.

Definition at line 48 of file include/eq/client/qt/window.h.

Member Typedef Documentation

typedef boost::function< void( QGLWidget* ) > eq::qt::Window::DeleteGLWidgetFunc

Function invoked to delete the QGLWidget from the destructor.

Version
1.7.3

Definition at line 55 of file include/eq/client/qt/window.h.

Constructor & Destructor Documentation

eq::qt::Window::Window ( NotifierInterface parent,
const WindowSettings settings,
QGLWidget *  glWidget,
DeleteGLWidgetFunc  deleteGLWidget = 0 
)

Construct a new Qt system window.

If no DeleteGLWidgetFunc is given, the QGLWidget is destroyed using delete.

Version
1.7.3
eq::qt::Window::~Window ( )
final

Destruct this Qt window.

Version
1.7.3

Member Function Documentation

void eq::qt::Window::configExit ( )
overridevirtual
Version
1.7.3

Implements eq::SystemWindow.

bool eq::qt::Window::configInit ( )
overridevirtual

Initialize this window for the Qt window system.

Returns
true if the initialization was successful, false otherwise.
Version
1.7.3

Implements eq::SystemWindow.

virtual EQ_API void eq::qt::Window::exitEventHandler ( )
virtual
Version
1.7.3
virtual EQ_API void eq::qt::Window::initEventHandler ( )
virtual
Version
1.7.3
void eq::qt::Window::joinNVSwapBarrier ( const uint32_t  group,
const uint32_t  barrier 
)
overridevirtual

Implementation untested for Qt.

Version
1.7.3

Implements eq::SystemWindow.

void eq::qt::Window::leaveNVSwapBarrier ( )

Implementation untested for Qt.

Version
1.7.3
void eq::qt::Window::makeCurrent ( const bool  cache = true) const
overridevirtual
Version
1.7.3

Reimplemented from eq::GLWindow.

EQ_API bool eq::qt::Window::processEvent ( const WindowEvent event)
overridevirtual
Version
1.7.3

Implements eq::qt::WindowIF.

void eq::qt::Window::swapBuffers ( )
overridevirtual
Version
1.7.3

Implements eq::SystemWindow.


The documentation for this class was generated from the following file: