summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement "quit on last window closed" logic for QWindowGunnar Sletta2011-08-111-0/+6
| | | | | | | Change-Id: Ide33578ad60796f3e267b09be76cda87eaf873d0 Reviewed-on: http://codereview.qt.nokia.com/2827 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Added workable QScreen API on top of QPlatformScreen.Samuel Rødal2011-07-251-0/+5
| | | | | | | | | | | | | | | | | | | | | 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>
* Add QGuiApp::topLevelAt and fix visibility flagLars Knoll2011-05-221-0/+1
| | | | | | | Add and remove windows to the list of top level windows. Correctly set the visibility flag for windows and implement a QGuiApplication::topLevelAt() method that uses the QPlatformScreen.
* Added QGuiApplication::activeWindow().Samuel Rødal2011-05-201-0/+2
|
* move files in src/gui into their final locationsLars Knoll2011-05-111-0/+146
| | | | | Rename the guikernel subdir to kernel and guiutil to util.
* split kernel/ up according to the future library splitLars Knoll2011-05-041-132/+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.
* move keyboardInputLocale and keyboardInputDirection into QGuiApplicationLars Knoll2011-05-041-0/+3
|
* Remove more QApp dependenciesLars Knoll2011-05-041-0/+4
| | | | | | platformIntegration() lives in QGuiApplication QFont and QFontDatabase can live with QGuiApp only as well.
* move layoutDirection from QApplication to QGuiApplicationLars Knoll2011-05-031-0/+7
| | | | | The concept is needed in both QWidgets and QML, so it has to be in QGuiApplication.
* QGuiApplication is not QPA specificLars Knoll2011-05-031-0/+118
Rename files to reflect that QGuiApplication is going to be used everywhere.