summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* resize convenince functionGunnar Sletta2011-08-241-0/+1
| | | | | | | Change-Id: I81b39912fbc76bb8532ff1d80ff25bce5e84f727 Reviewed-on: http://codereview.qt.nokia.com/3452 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
* Added some convenience to QWindowGunnar Sletta2011-08-051-0/+13
| | | | | | | Change-Id: I367f5e3f586661322184cfa5f7653814569cb6e3 Reviewed-on: http://codereview.qt.nokia.com/2611 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Added workable QScreen API on top of QPlatformScreen.Samuel Rødal2011-07-251-1/+6
| | | | | | | | | | | | | | | | | | | | | QPlatformIntegration::screens() no longer has to be implemented, implementations should call QPlatformIntegration::screenAdded() for each screen instead. This is for being able to support adding screens at run-time later on, by connecting it to a signal in QGuiApplication. The QGuiGLContext API has changed a bit, by not sending in all the parameters in the constructor but instead having a create() function. The createPlatformGLContext() factory in QPlatformIntegration takes a QGuiGLContext * instead of a QSurfaceFormat and a share context, similar to how the window and backing store factory functions work. The XCB plugin has experimental support for connecting to multiple X displays simultaneously, creating one or more QScreen for each. Change-Id: I248a22a4fd3481280710110272c04a30a8021e8f Reviewed-on: http://codereview.qt.nokia.com/2103 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Reintroduce QWindow::SurfaceTypeMorten Sorvig2011-06-221-0/+5
| | | | | | | On Cocoa it makes sense to distinguish between the two window types. Reviewed-by: Samuel
* Made QExposeEvent public and added exposeEvent() in QWindow.Samuel Rødal2011-06-221-0/+2
| | | | This is needed for applications that use QBackingStore directly.
* OpenGL API refactor.Samuel Rødal2011-06-211-15/+27
| | | | | | Rename QGuiGLFormat to QSurfaceFormat, and make QWindow sub-class of QSurface and QPlatformWindow sub-class of QPlatformSurface, instead of having QPlatformGLSurface accessor in QWindow.
* Rename QWindowSurface -> QBackingStore and split into platform / public.Samuel Rødal2011-06-211-3/+1
| | | | Also get rid of GL window surface and related classes.
* Added frameMargins() API and support in XCB plugin.Samuel Rødal2011-06-101-0/+3
|
* QWindowContext / QWindowFormat refactor.Samuel Rødal2011-06-101-7/+8
| | | | | | | | | | | | | To enable having a single GL context used for multiple drawables we need to de-couple the context class a bit more from the window class in the plugin API. Now contexts are created stand-alone based on a GL format and a share context, and when calling makeCurrent() a desired surface is specified. This maps well to GLX, EGL, Cocoa, AGL, and WGL, which all support this use case. QWindowContext is renamed to QGuiGLContext, and QWindowFormat is renamed to QGuiGLFormat. We have the ability to introduce a pbuffer or similar other offscreen GL drawable abstraction in the future.
* Add support for mouse and keyboard grab.Laszlo Agocs2011-06-031-0/+3
| | | | Reviewed-by: Samuel Rødal
* Added QWindow::setTransientParent().Samuel Rødal2011-05-231-0/+3
| | | | | Make the transient parent relationship explicit instead of having it encoded through the window flags.
* Remove superfluous setter / getter for QWindowFormat in QWindow.Samuel Rødal2011-05-231-3/+0
|
* Add QWindow::setWindowModality().Samuel Rødal2011-05-181-1/+3
| | | | Also set corresponding window manager hints in xcb plugin.
* Re-implement transient window support in XCB backend.Samuel Rødal2011-05-161-0/+1
| | | | | | If a QWindow has a parent but is top-level the corresponding QPlatformWindow should not be re-parented but instead be made transient for the parent window if possible.
* Implement QWindow minimum/maximum/base size hints and size increments.Samuel Rødal2011-05-161-2/+9
|
* Initial QPlatformWindow window state setting API and xcb implementation.Samuel Rødal2011-05-131-2/+2
|
* move files in src/gui into their final locationsLars Knoll2011-05-111-0/+186
| | | | | Rename the guikernel subdir to kernel and guiutil to util.
* split kernel/ up according to the future library splitLars Knoll2011-05-041-186/+0
| | | | | | | Create a guikernel/ directory that contains the files that'll go into libQtGui. What remains in kernel/ will go into QtWidgets. In addition to that image/, painting/ and text will end up int QtGui.
* rename qwindow_qpa to qwindowLars Knoll2011-05-031-0/+186