| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
also add QGuiApplication::palette() for the default
application palette.
|
| |
|
| |
|
|
|
|
|
| |
Since QGesture stays in QtWidgets for now, move
the event there as well.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Don't force-create QWindows until they're explicitly created or shown.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| | |
(cherry picked from commit 9625c564877414695a9706acf34bc8719018ef06)
|
| |
| |
| |
| | |
(cherry picked from commit 69c759f5b84c2f6a44377e5f72cfe9d5bf7344c6)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| | |
Branched from the monolithic repo, Qt qtquick2 branch, at commit
a4a585d2ee907746682846ae6e8a48e19deef469
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
platformIntegration() lives in QGuiApplication
QFont and QFontDatabase can live with QGuiApp only
as well.
|
| |
| |
| |
| |
| | |
the new libQtGui should now be free of any
Qt3 related methods.
|
| | |
|
| |
| |
| |
| |
| | |
The concept is needed in both QWidgets and QML,
so it has to be in QGuiApplication.
|
| | |
|
| |
| |
| |
| |
| | |
Rename files to reflect that QGuiApplication is
going to be used everywhere.
|
| | |
|
| |
| |
| |
| |
| | |
QPA's platform integration layer replaces the
graphics system now.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Everybody use Lighhouse instead :)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Gets rid of QWidget dependencies in QWindow and QWindowSurface. Events
are not delivered to the correct child widget yet.
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit 12b4e7e5a2b18cdd23f540821e1f2785f62b0b9a)
|
| |
| |
| |
| | |
(cherry picked from commit 28a09e668a8125cff680ab9f1e7256e7e4e34158)
|
| |
| |
| |
| | |
(cherry picked from commit 5bbdf65632feed1a2e3f30e97bcdd47950f2b8d4)
|
| |
| |
| |
| | |
(cherry picked from commit 050925ccac957dea3d4e138babdd7aa93925dffc)
|