summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | rename qwindow_qpa to qwindowLars Knoll2011-05-038-10/+10
| |
* | QGuiApplication is not QPA specificLars Knoll2011-05-038-9/+11
| | | | | | | | | | Rename files to reflect that QGuiApplication is going to be used everywhere.
* | Wheel event forwarding.Samuel Rødal2011-05-032-0/+19
| |
* | remove the graphicssystem code paths.Lars Knoll2011-05-036-105/+4
| | | | | | | | | | QPA's platform integration layer replaces the graphics system now.
* | split the HexString template class out of qstylehelperLars Knoll2011-05-032-0/+99
| | | | | | | | | | | | The class is used in quite a few places and has no relation to styles. Split it out into it's own file to remove a dependency between Gui and Widgets.
* | QWS removal, part 2Lars Knoll2011-05-022-28/+2
| |
* | remove Qt/Embedded.Lars Knoll2011-05-0214-6669/+2
| | | | | | | | Everybody use Lighhouse instead :)
* | Implemented close event for QWindow and QWidgetWindow.Samuel Rødal2011-05-025-14/+30
| |
* | Properly handle the expose event for QWindow.Samuel Rødal2011-05-023-1/+11
| |
* | Set the window title even if it was set before calling create().Samuel Rødal2011-05-021-0/+2
| |
* | Resizing support in QWidgetWindow.Samuel Rødal2011-05-022-0/+22
| |
* | Proper child delivery of mouse and key events.Samuel Rødal2011-05-024-4/+47
| |
* | Make the wayland plugin compilePaul Olav Tvete2011-04-292-2/+2
| |
* | Add QWidgetWindow to bridge events from QWindow to QWidget.Samuel Rødal2011-04-2914-35/+168
| | | | | | | | | | Gets rid of QWidget dependencies in QWindow and QWindowSurface. Events are not delivered to the correct child widget yet.
* | Key and wheel events.Samuel Rødal2011-04-292-49/+61
| |
* | Add resize event support to QWindow.Samuel Rødal2011-04-284-39/+129
| | | | | | | | (cherry picked from commit 12b4e7e5a2b18cdd23f540821e1f2785f62b0b9a)
* | Preliminary QWindow event delivery.Samuel Rødal2011-04-285-19/+66
| | | | | | | | (cherry picked from commit 28a09e668a8125cff680ab9f1e7256e7e4e34158)
* | QApplication: Baseclass fixupJørgen Lind2011-04-282-13/+15
| | | | | | | | (cherry picked from commit 5bbdf65632feed1a2e3f30e97bcdd47950f2b8d4)
* | FontJørgen Lind2011-04-285-5/+39
| | | | | | | | (cherry picked from commit 050925ccac957dea3d4e138babdd7aa93925dffc)