Qt 4.8
|
#include <qdirectfbwindow.h>
Public Functions | |
IDirectFBSurface * | dfbSurface () |
IDirectFBWindow * | dfbWindow () const |
void | lower () |
Reimplement to be able to let Qt lower windows to the bottom of the desktop. More... | |
QDirectFbWindow (QWidget *tlw, QDirectFbInput *inputhandler) | |
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... | |
bool | setKeyboardGrabEnabled (bool grab) |
bool | setMouseGrabEnabled (bool grab) |
void | setOpacity (qreal level) |
Reimplement to be able to let Qt set the opacity level of a window. More... | |
void | setVisible (bool visible) |
Reimplemented in subclasses to show the surface if visible is true , and hide it if visible is false . More... | |
Qt::WindowFlags | setWindowFlags (Qt::WindowFlags flags) |
Requests setting the window flags of this surface to type. More... | |
WId | winId () const |
Reimplement in subclasses to return a handle to the native window. More... | |
~QDirectFbWindow () | |
Public Functions inherited from QPlatformWindow | |
virtual QRect | geometry () const |
Returnes the current geometry of a window. More... | |
virtual QPlatformGLContext * | glContext () const |
Reimplement to return the glContext associated with the 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 | setParent (const QPlatformWindow *window) |
This function is called to enable native child widgets in QPA. 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 | |
QDirectFBPointer< IDirectFBSurface > | m_dfbSurface |
QDirectFBPointer< IDirectFBWindow > | m_dfbWindow |
QDirectFbInput * | m_inputHandler |
Additional Inherited Members | |
Protected Variables inherited from QPlatformWindow | |
QScopedPointer< QPlatformWindowPrivate > | d_ptr |
Definition at line 52 of file qdirectfbwindow.h.
QDirectFbWindow::QDirectFbWindow | ( | QWidget * | tlw, |
QDirectFbInput * | inputhandler | ||
) |
Definition at line 52 of file qdirectfbwindow.cpp.
QDirectFbWindow::~QDirectFbWindow | ( | ) |
Definition at line 95 of file qdirectfbwindow.cpp.
IDirectFBSurface * QDirectFbWindow::dfbSurface | ( | ) |
Definition at line 202 of file qdirectfbwindow.cpp.
IDirectFBWindow * QDirectFbWindow::dfbWindow | ( | ) | const |
Definition at line 197 of file qdirectfbwindow.cpp.
|
virtual |
Reimplement to be able to let Qt lower windows to the bottom of the desktop.
Reimplemented from QPlatformWindow.
Definition at line 161 of file qdirectfbwindow.cpp.
|
virtual |
Reimplement to be able to let Qt rais windows to the top of the desktop.
Reimplemented from QPlatformWindow.
Definition at line 156 of file qdirectfbwindow.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 101 of file qdirectfbwindow.cpp.
bool QDirectFbWindow::setKeyboardGrabEnabled | ( | bool | grab | ) |
Definition at line 173 of file qdirectfbwindow.cpp.
bool QDirectFbWindow::setMouseGrabEnabled | ( | bool | grab | ) |
Definition at line 185 of file qdirectfbwindow.cpp.
|
virtual |
Reimplement to be able to let Qt set the opacity level of a window.
Reimplemented from QPlatformWindow.
Definition at line 117 of file qdirectfbwindow.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 123 of file qdirectfbwindow.cpp.
Referenced by QDirectFbWindow().
|
virtual |
Requests setting the window flags of this surface to type.
Returns the actual flags set.
Reimplemented from QPlatformWindow.
Definition at line 139 of file qdirectfbwindow.cpp.
|
virtual |
Reimplement in subclasses to return a handle to the native window.
Reimplemented from QPlatformWindow.
Definition at line 166 of file qdirectfbwindow.cpp.
|
private |
Definition at line 76 of file qdirectfbwindow.h.
Referenced by dfbSurface().
|
private |
Definition at line 77 of file qdirectfbwindow.h.
Referenced by dfbSurface(), dfbWindow(), lower(), QDirectFbWindow(), raise(), setGeometry(), setKeyboardGrabEnabled(), setMouseGrabEnabled(), setOpacity(), setVisible(), setWindowFlags(), winId(), and ~QDirectFbWindow().
|
private |
Definition at line 78 of file qdirectfbwindow.h.
Referenced by QDirectFbWindow(), and ~QDirectFbWindow().