| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|
|
|
|
| |
Make the transient parent relationship explicit instead of having it
encoded through the window flags.
|
| |
|
|
|
|
|
|
| |
Remove some now unused platform dependent
code. This needs to move into the different
lighthouse plugins.
|
|
|
|
|
|
| |
Correctly make use of the topLevelAt()
functionality to determine which
QWindow should get the drag events.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Get in-process DnD working again. QDragManager
only cares about QWindow's now, and QWidgetWindow
maps this to DnD events inside the widget hierachy.
|
| |
|
|
|
|
|
| |
QDrgResponseEvent wasn't used anywhere in Qt anymore.
Get rid of it.
|
|
|
|
|
|
|
|
|
|
| |
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 *
|
|
|
|
|
| |
We need to re-create the native window in setParent, as used to be done
in QWidgetPrivate::setParent_sys in qwidget_x11.cpp.
|
|
|
|
| |
Also set corresponding window manager hints in xcb plugin.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Rename the guikernel subdir to kernel
and guiutil to util.
|
| |
|
| |
|
|
|
|
|
|
| |
Move everything that will end up in QtWidgets
into a qwidgetsvariant.cpp file. Currently
this is QIcon and QSizePolicy only.
|
|
|
|
|
| |
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.
|