summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | clipboardJørgen Lind2011-04-286-8/+48
| | | | | | | | (cherry picked from commit 3f5c0e26e0f8b6876c3fb4d3822df49c748b2eea)
* | QGuiApplication refactor in progress.Samuel Rødal2011-04-2818-673/+1059
| | | | | | | | | | Things are a bit broken now... At least wiggly runs :) (cherry picked from commit 6cdcf395ffe1e051d109a45ecd71141173a4a4c0)
* | Fix QWindow::destroyJørgen Lind2011-04-281-5/+5
| | | | | | | | (cherry picked from commit 00cd7aa93f916772b22c6137293c7127fe5a33b8)
* | Lazy init of QWindowJørgen Lind2011-04-281-11/+33
| | | | | | | | (cherry picked from commit a2c884b6d2fcc77f6aa5e7aaa0aa329f5bef0bbd)
* | Added a visible state to QWindowJørgen Lind2011-04-282-0/+11
| | | | | | | | (cherry picked from commit 6cd96d1921af9740bf92405ae3adf466140f8923)
* | Add isWindow type to QObjectJørgen Lind2011-04-281-1/+1
| | | | | | | | (cherry picked from commit 77f08730b4cdb23b43471b2b29ece59e159103d7)
* | For QWindow we need topLevelExtra to be created when we haveJørgen Lind2011-04-281-0/+3
| | | | | | | | | | native widgets (cherry picked from commit 247088f8fe929d55832f48af3da6f7e5e80cf8a4)
* | use QObject parent logic when setting parent for QWindowJørgen Lind2011-04-282-3/+10
| | | | | | | | (cherry picked from commit 2be9fdb4b58accea4078654efed49a50acf6c74d)
* | Fix compile warningsJørgen Lind2011-04-282-1/+2
| | | | | | | | (cherry picked from commit e7e856403f32af3e75958c0a8ab68dc37d28df83)
* | Lighthouse: use maybetopdata instead of creating topdata for allJørgen Lind2011-04-281-2/+5
| | | | | | | | | | widgets (cherry picked from commit 873764aa3cfbbd87bbbb4f3224a7807d46a16fc7)
* | Get rid of QWindow::WindowType and clean up Qt::WindowFlags instead.Samuel Rødal2011-04-285-45/+19
| | | | | | | | (cherry picked from commit 72176bf2a490d2f831d53a66a0987213efa60935)
* | Don't create a platform window if we already have one.Samuel Rødal2011-04-281-1/+2
| | | | | | | | (cherry picked from commit c4dea497adc36a0be840a51c9b98177f1f4b65b2)
* | Add proper parent logic for qwidgetJørgen Lind2011-04-281-11/+11
| | | | | | | | (cherry picked from commit 98118fb729c39083718c220383fff462ba8eaebd)