| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Support the selection of Current Page option in the print dialog by
activating a new QPrintDialog::PrintDialogOption. If selected the
PrintRange is set to CurrentPage.
It is the responsibility of the application to read the PrintRange and
apply the Current Page selection when rendering the pages.
Merge-request: 2311
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
At some point we should fix the include order in all the .cpp files,
however #udef'ing the defines we use elsewhere seems to work for now.
Reviewed-By: TrustMe
|
|
|
|
|
|
|
| |
EGLConfig is an opaque type which we really shouldn't cast to an int.
Instead, we get the config id for the EGLConfig.
Reviewed-By: TrustMe
|
|
|
|
|
|
|
|
| |
This was particularly unusable when combining a QSortFilterProxyModel
with resize mode ResizeToContents.
Task-number: QTBUG-8540
Reviewed-by: Thierry
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Build fix for Sun Studio
Finish to resolve merge conflict.
Fixes QMenu to only have static POD members
QScript: Test against QMetaType::QVariant instead of against the string
Fixes tst_QScriptExtQObject::connectAndDisconnect
Fix source compatibility of qRegisterMetaType
Fix warnings on MSVC
Updating documentation for how to build QWS with tslib
sizeHint of checkbox/radiobutton without text is not correct
Some cleanup of outdated src/3rdparty stuff
Revert "Fixes crash when destroying a QGraphicsItem."
Add config.test for multimedia/qml
Fix QVariant autotest
Fix compilation of Q_DECLARE_METATYPE(QVariant) by introducing QMetaType::QVariant
fixed a memory leak when restoring a state in QMainWindow
Make the sub-menu accessible via its shortcut even if it is the current
remove a warning on windows and simplify a bit the code
Add and use QGLContextPrivate::eglSurfaceForDevice()
QMetaType: Now we can register typedefs.
|
| |
| |
| |
| | |
Task-number: QTBUG-8192
|
| |
| |
| |
| |
| | |
Move the change that were made in commit 9957e85e37345e946ecc67196d65fbca867a2001
from src/multimedia/qml/qml.pri to src/multimedia/effects/effects.pri
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
src/multimedia/qml/qml.pri
|
| | |
| | |
| | |
| | | |
This also fixes the autotests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
now that QVariant is known to QMetaType, we can test for the metatype id
instead of doing string comparison
Reviewed-by: Kent Hansen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now that QVariant is known to QMetaType, it has an ID.
This is much more robust as before. This would have fail if QVariant,
would have been registered by the user.
Reviewed-by: Kent Hansen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ActiveQt is having construct like
qRegisterMetaType("Foo*", (Foo*)0 );
instead of
qRegisterMetaType<Foo *>("Foo*");
Which the compiler could not disambiguate anymore since
commit 03daf059647c0a0222e8774b0a083f58c8e64934
Reviewed-by: Thierry
|
| | | |
|
| | |
| | |
| | |
| | | |
Reviewed-by: Jens Bache-Wiig
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
| | |
| | |
| | |
| | |
| | |
| | | |
The patch was wrong. The new one is pushed into 4.6. The old one
is reverted to avoid merge conflicts.
This reverts commit a7ef2d899d711d750238a8d69284da808188b407.
|
| | |
| | |
| | |
| | |
| | |
| | | |
using pkg-config from pri file is not good for cross-compiling
Reviewed-by: paul
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QMetaType::QVariant
After 03daf059647c0a0222e8774b0a083f58c8e64934
With the recent change in QMetaType, qRegisterMetaType<T> instantiates
QMetaTypeId2<T>, which itself instantiates QMetaTypeId<T> if T is not
builtin into QMetaType.
But qRegisterMetaType<QVariant> is called in qvariant.h which makes
further call to Q_DECLARE_METATYPE(QVariant) to fail as
QMetaTypeId<QVariant> would have been instantied before
The solution is to make QVariant a builtin type.
Reviewed-by: Thierry
|
| | |
| | |
| | |
| | | |
Task-number: QTBUG-8631
|
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-7411
Reviewed-by: ogoffart
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Add and use QGLContextPrivate::eglSurfaceForDevice()
QMetaType: Now we can register typedefs.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The QGLContext only stores the EGLSurface for QWidgets & QGLWidgets,
other device types like QPixmap & QGLPixelBuffer store the surface
themsselves. With this patch it is possible to create a QGLContext
on a QPixmap, make it current and render GL to that QPixmap on X11.
Reviewed-By: TrustMe
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-6833
Task-number: QTBUG-937
Reviewed-by: Brad
Reviewed-by: Kent Hansen
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Dmytro Poplavskiy
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disabled by default.
Reviewed-by: Justin McPherson
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Andrew den Exter
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Rohan McGovern
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Rohan McGovern
|
|/ / /
| | |
| | |
| | | |
of playing from QIODevice based stream.
|
| | |
| | |
| | |
| | | |
Reviewed-by: Dmytro Poplavskiy
|
| | |
| | |
| | |
| | | |
Reviewed-by: Dmytro Poplavskiy
|
|/ /
| |
| |
| |
| |
| | |
Move all declarative related classes into the multimedia declarative module.
Reviewed-by: Andrew den Exter
|
| |
| |
| |
| |
| |
| | |
during player session lifetime
Reviewed-by: Andrew den Exter
|
| |
| |
| |
| |
| | |
Task-number: QTMOBILITY-67
Reviewed-by: Andrew den Exter
|
| |
| |
| |
| |
| |
| |
| |
| | |
without waiting for play() or pause().
To keep behaviour consisten with the rest of backends.
Reviewed-by: Andrew den Exter
|
|\ \
| |/
|/|
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
Fixed compiler warnings when compiling multimedia module.
|
| |
| |
| |
| | |
Reviewed-by:Andrew den Exter
|
| |
| |
| |
| |
| |
| | |
This should fix build on Symbian & WinCE
Reviewed-By: TrustMe
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Make bindTextureFromNativePixmap use new QEgl APIs
Move QGLWidget::setContext logic into QEgl & QGLContext
Move EGL surface type setting to new QEglProperties::setDeviceType
Replace qt_egl_add_platform_config with existing QEglProperties API
Use QEgl::display in QGLTemporaryContext so EGL is init'd only once
Remove qt_egl_setup_x11_visual
Make QGLWidget use new QEgl::getCompatibleVisualId API
Add QEglContext::configAttrib(int name) helper
Add getCompatibleVisualId to QEgl on X11
Add QEgl::defaultConfig method to select configs suitable for Qt
Make QEgl::createSurface cross-platform and add native getters
Move chooseConfig and createSurface logic to QEgl functions
Move static methods from QEglContext to QEgl namespace
Move qegl_p.h -> qeglcontext_p.h and add a new qegl_p.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The old qt_chooseEGLConfigForPixmap & qt_createEGLSurfaceForPixmap
code will remain until QX11GLPixmapData can be re-written properly.
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QEgl::createSurface() on X11 will now check to see if the device's
X11 Visual is compatible with the EGLConfig passed in. If it is not
compatible, the function will re-create the QPaintDevice's native
drawable with a different Visual (one which is compatable with the
EGLConfig). This represented the bulk of the QGLWidget::setContext
method which is now much simpler.
As a consequense of this change, QWidgets with graphicssystem opengl
will behave much more like QGLWidget as most of the code is re-used.
So things like WA_TranslucentBackground should now work with opengl
graphicssystem too.
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also renamed qt_egl_set_format->qt_eglproperties_set_glformat
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QEglProperties::setPaintDeviceFormat() seems to be a copy & paste
of qt_egl_add_platform_config for every platform anyway.
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | | |
Reviewed-By: Trond Kjernåsen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This method has been re-written as QEgl::getCompatibleVisualId()
which is much cleaner code.
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | | |
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | | |
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This method takes an EGLConfig and hands back an X11 VisualID which
can be used to create native windows/pixmaps which will have an EGL
surface created for them using the given EGL config.
Reviewed-By: TrustMe
|