bioformats
5.1.8
|
GL window container. More...
#include <ome/qtwidgets/GLContainer.h>
Public Member Functions | |
GLContainer (QWidget *parent=0, QWindow *window=0) | |
Create a window container. More... | |
~GLContainer () | |
Destructor. | |
QWindow * | getWindow () const |
Get contained GL window. More... | |
QWidget * | getContainer () const |
Get child GL window container. More... | |
Private Attributes | |
QWindow * | window |
GL window. | |
QWidget * | child |
Child containing the GL window. | |
GL window container.
A Qt GL window is an entire top-level window. If this is to be placed in a standard application window, it requires embedding in a widget. This widget serves to embed a GL window as a regular widget.
This may be used to embed any top-level window, not just GL windows. However, there's rarely any point for non-GL windows since you can just contain their content directly.
|
explicit |
Create a window container.
parent | the parent of this object. |
window | the GL window to embed. |
References child.
QWidget * ome::qtwidgets::GLContainer::getContainer | ( | ) | const |
QWindow * ome::qtwidgets::GLContainer::getWindow | ( | ) | const |