summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Compile fix for -qpa/Linux.Friedemann Kleint2011-05-233-0/+4
| | | | Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Added QWindow::setTransientParent().Samuel Rødal2011-05-233-4/+24
| | | | | 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-232-14/+0
|
* clean up unused codeLars Knoll2011-05-221-148/+1
| | | | | | Remove some now unused platform dependent code. This needs to move into the different lighthouse plugins.
* implement dragging between top levelsLars Knoll2011-05-221-28/+23
| | | | | | Correctly make use of the topLevelAt() functionality to determine which QWindow should get the drag events.
* Add QGuiApp::topLevelAt and fix visibility flagLars Knoll2011-05-223-2/+30
| | | | | | | 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.
* re-add in-process DnD implementationLars Knoll2011-05-223-50/+46
| | | | | | Get in-process DnD working again. QDragManager only cares about QWindow's now, and QWidgetWindow maps this to DnD events inside the widget hierachy.
* Added QGuiApplication::activeWindow().Samuel Rødal2011-05-204-2/+14
|
* remove an unused classLars Knoll2011-05-202-28/+0
| | | | | QDrgResponseEvent wasn't used anywhere in Qt anymore. Get rid of it.
* move drag handling back to GuiLars Knoll2011-05-206-0/+1721
| | | | | | | | | | Move the DnD related classes back into QtGui. Parts of the implementation is currently commented out and needs to be moved to QWidgetWindow. SC incompatible change: APIs taking QWidget * now take QObject *
* Better setWindowFlags() support in XCB window.Samuel Rødal2011-05-191-3/+0
| | | | | We need to re-create the native window in setParent, as used to be done in QWidgetPrivate::setParent_sys in qwidget_x11.cpp.
* Add QWindow::setWindowModality().Samuel Rødal2011-05-183-1/+23
| | | | Also set corresponding window manager hints in xcb plugin.
* Re-implement transient window support in XCB backend.Samuel Rødal2011-05-164-6/+24
| | | | | | 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-165-13/+94
|
* Initial QPlatformWindow window state setting API and xcb implementation.Samuel Rødal2011-05-135-8/+33
|
* move files in src/gui into their final locationsLars Knoll2011-05-1168-0/+19903
| | | | | Rename the guikernel subdir to kernel and guiutil to util.
* move to the right locationLars Knoll2011-05-071-213/+0
|
* library splitLars Knoll2011-05-0780-49922/+0
|
* split up qguivariant into two filesLars Knoll2011-05-062-2/+216
| | | | | | Move everything that will end up in QtWidgets into a qwidgetsvariant.cpp file. Currently this is QIcon and QSizePolicy only.
* move QPalette into QtGuiLars Knoll2011-05-066-1306/+3
| | | | | also add QGuiApplication::palette() for the default application palette.
* Get rid of qt_qpa_set_cursor from QGuiApplication for now.Samuel Rødal2011-05-061-0/+2
|
* Get rid of stale QWidget-stuff from QGuiApplication.Samuel Rødal2011-05-061-0/+2
|
* move gesture event into qgesture.*Lars Knoll2011-05-053-0/+412
| | | | | Since QGesture stays in QtWidgets for now, move the event there as well.
* Get rid of more QWidget / QApplication dependencies.Samuel Rødal2011-05-043-8/+11
|
* Move some cursor handling to QGuiApplication from QApplication.Samuel Rødal2011-05-044-299/+0
|
* that signal has moved to QGuiApplicationLars Knoll2011-05-041-1/+0
|
* Move KeyPlatform and currentPlatform() to QGuiApplicationPrivate.Samuel Rødal2011-05-042-31/+0
|
* Closing of popups in QWidgetWindow.Samuel Rødal2011-05-042-1/+5
|
* Remove unused variable.Samuel Rødal2011-05-041-1/+0
|
* move platform specific files out of the wayLars Knoll2011-05-0464-45756/+0
| | | | | | | Keep the files as reference to implement the lighthouse plugins, but move them away from the main directory hierachy as they won't be part of Qt5 in any case.
* Implemented enter / leave events for QWidget.Samuel Rødal2011-05-042-0/+26
|
* Improved handling of child windows.Samuel Rødal2011-05-042-13/+18
| | | | Don't force-create QWindows until they're explicitly created or shown.
* moving some more files around.Lars Knoll2011-05-0410-2/+2926
|
* split kernel/ up according to the future library splitLars Knoll2011-05-04108-42773/+1957
| | | | | | | 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.
* Merge remote branch 'origin/master' into refactorLars Knoll2011-05-045-11/+17
|\
| * Compile on WindowsEskil Abrahamsen Blomfeldt2011-05-041-1/+1
| | | | | | | | | | | | | | | | | | The SPI_FONTSMOOTHINGCONTRAST macro is not defined everywhere. When the code was refactored, the workaround for this was lost. This resubmits the work-around to make it compile. Reviewed-by: Samuel (cherry picked from commit 4c3630c1fcd2b3008f540a8906a19c533604f36a)
| * Remove warningsJørgen Lind2011-05-042-1/+2
| | | | | | | | (cherry picked from commit 9625c564877414695a9706acf34bc8719018ef06)
| * Lighthouse: Fix virtual desktopwidgetJørgen Lind2011-05-042-9/+4
| | | | | | | | (cherry picked from commit 69c759f5b84c2f6a44377e5f72cfe9d5bf7344c6)
| * Support gamma correction of text on GLEskil Abrahamsen Blomfeldt2011-05-031-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the SRGB framebuffer extension in GL is available, we can support gamma correction of text with a gamma of 2.1. On Mac this is sufficient for gamma correcting subpixel antialiased text. Gray antialiasing should not be gamma corrected on Mac. On Windows, the user can potentially set the gamma value to anything between 1.0 and 2.2 (or something like that). We support anything that resembles 1.0 closely enough by pushing the text out without any correction (like before). We also support anything that resembles 2.1 (the gamma hardcoded in GL's SRGB extension) by turning on the extension before blending the text. In between the two, we'll use gray antialiasing to avoid differing too much from the raster engine (which is our reference in this.) For gray antialiasing on Windows, we use a constant gamma of 2.3 which has been determined by experimentation. Since this is close enough to 2.1 we do gamma correction with SRGB extension. The distance limit of 0.2 is determined by some experimentation. Reviewed-by: Samuel (cherry picked from commit 79ba7cceca5e4029876ace2121edd25b08ae14ce)
| * Initial import from qtquick2.Qt by Nokia2011-04-272-1/+2
| | | | | | | | | | Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469
* | remove dependency to QStyle::visualAlignmentLars Knoll2011-05-042-1/+14
| | | | | | | | | | | | | | The current position of the code in QGuiAppPrivate is a bit messy, but we can later on consider consolidating some of this in some helper namespace.
* | Proper sub-widget mouse grabbing in QWidgetWindow.Samuel Rødal2011-05-042-1/+8
| |
* | Clean up some QWidget dependencies in gui/image.Samuel Rødal2011-05-041-20/+0
| |
* | Get rid of remaining QWidget dependencies in QPainter.Samuel Rødal2011-05-042-1/+24
| |
* | Remove QWidget dependency in QPainter::initFrom().Samuel Rødal2011-05-042-0/+11
| |
* | move keyboardInputLocale and keyboardInputDirection into QGuiApplicationLars Knoll2011-05-044-27/+28
| |
* | Remove more QApp dependenciesLars Knoll2011-05-0413-34/+37
| | | | | | | | | | | | platformIntegration() lives in QGuiApplication QFont and QFontDatabase can live with QGuiApp only as well.
* | even less QT3_SUPPORTLars Knoll2011-05-033-31/+0
| | | | | | | | | | the new libQtGui should now be free of any Qt3 related methods.
* | remove more QT3_SUPPORT codeLars Knoll2011-05-0311-754/+2
| |
* | move layoutDirection from QApplication to QGuiApplicationLars Knoll2011-05-036-82/+106
| | | | | | | | | | The concept is needed in both QWidgets and QML, so it has to be in QGuiApplication.