Qt 4.8
|
#include <qopenkodewindow.h>
Public Functions | |
QPlatformGLContext * | glContext () const |
Reimplement to return the glContext associated with the window. More... | |
void | lower () |
Reimplement to be able to let Qt lower windows to the bottom of the desktop. More... | |
void | processKeyEvents (const KDEvent *event) |
void | processMouseEvents (const KDEvent *event) |
QOpenKODEWindow (QWidget *tlw) | |
void | raise () |
Reimplement to be able to let Qt rais windows to the top of the desktop. More... | |
void | setGeometry (const QRect &rect) |
This function is called by Qt whenever a window is moved or the window is resized. More... | |
void | setVisible (bool visible) |
Reimplemented in subclasses to show the surface if visible is true , and hide it if visible is false . More... | |
WId | winId () const |
Reimplement in subclasses to return a handle to the native window. More... | |
~QOpenKODEWindow () | |
Public Functions inherited from QPlatformWindow | |
virtual QRect | geometry () const |
Returnes the current geometry of a window. More... | |
QPlatformWindow (QWidget *tlw) | |
Constructs a platform window with the given top level widget. More... | |
virtual void | requestActivateWindow () |
Reimplement to let Qt be able to request activation/focus for a window. More... | |
virtual void | setOpacity (qreal level) |
Reimplement to be able to let Qt set the opacity level of a window. More... | |
virtual void | setParent (const QPlatformWindow *window) |
This function is called to enable native child widgets in QPA. More... | |
virtual Qt::WindowFlags | setWindowFlags (Qt::WindowFlags flags) |
Requests setting the window flags of this surface to type. More... | |
virtual void | setWindowTitle (const QString &title) |
Reimplement to set the window title to title. More... | |
QWidget * | widget () const |
Returnes the widget which belongs to the QPlatformWindow. More... | |
virtual Qt::WindowFlags | windowFlags () const |
Returns the effective window flags for this surface. More... | |
virtual | ~QPlatformWindow () |
Virtual destructor does not delete its top level widget. More... | |
Properties | |
bool | isFullScreen |
EGLenum | m_eglApi |
EGLConfig | m_eglConfig |
QVector< EGLint > | m_eglContextAttrs |
EGLNativeWindowType | m_eglWindow |
QVector< EGLint > | m_eglWindowAttrs |
struct KDWindow * | m_kdWindow |
QEGLPlatformContext * | m_platformGlContext |
Additional Inherited Members | |
Protected Variables inherited from QPlatformWindow | |
QScopedPointer< QPlatformWindowPrivate > | d_ptr |
Definition at line 56 of file qopenkodewindow.h.
QOpenKODEWindow::QOpenKODEWindow | ( | QWidget * | tlw | ) |
Definition at line 79 of file qopenkodewindow.cpp.
QOpenKODEWindow::~QOpenKODEWindow | ( | ) |
Definition at line 170 of file qopenkodewindow.cpp.
|
virtual |
Reimplement to return the glContext associated with the window.
Reimplemented from QPlatformWindow.
Definition at line 238 of file qopenkodewindow.cpp.
|
virtual |
Reimplement to be able to let Qt lower windows to the bottom of the desktop.
Reimplemented from QPlatformWindow.
Definition at line 253 of file qopenkodewindow.cpp.
void QOpenKODEWindow::processKeyEvents | ( | const KDEvent * | event | ) |
Definition at line 279 of file qopenkodewindow.cpp.
Referenced by kdProcessMouseEvents().
void QOpenKODEWindow::processMouseEvents | ( | const KDEvent * | event | ) |
Definition at line 263 of file qopenkodewindow.cpp.
Referenced by kdProcessMouseEvents().
|
virtual |
Reimplement to be able to let Qt rais windows to the top of the desktop.
Reimplemented from QPlatformWindow.
Definition at line 243 of file qopenkodewindow.cpp.
|
virtual |
This function is called by Qt whenever a window is moved or the window is resized.
The resize can happen programatically(from ie. user application) or by the window manager. This means that there is no need to call this function specifically from the window manager callback, instead call QWindowSystemInterface::handleGeometryChange(QWidget *w, const QRect &newRect);
Reimplemented from QPlatformWindow.
Definition at line 178 of file qopenkodewindow.cpp.
|
virtual |
Reimplemented in subclasses to show the surface if visible is true
, and hide it if visible is false
.
Reimplemented from QPlatformWindow.
Definition at line 222 of file qopenkodewindow.cpp.
|
virtual |
Reimplement in subclasses to return a handle to the native window.
Reimplemented from QPlatformWindow.
Definition at line 232 of file qopenkodewindow.cpp.
|
private |
Definition at line 83 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 80 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 77 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 79 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 76 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 78 of file qopenkodewindow.h.
Referenced by QOpenKODEWindow(), and setGeometry().
|
private |
Definition at line 75 of file qopenkodewindow.h.
Referenced by lower(), QOpenKODEWindow(), raise(), setGeometry(), setVisible(), and ~QOpenKODEWindow().
|
private |
Definition at line 81 of file qopenkodewindow.h.
Referenced by glContext(), QOpenKODEWindow(), setGeometry(), and ~QOpenKODEWindow().