summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong transform when applying multiple QGraphicsEffects.Bjørn Erik Nilsen2009-08-063-17/+27
|
* Wrong caching of QGraphicsItem::childrenBoundingRect.Bjørn Erik Nilsen2009-08-061-14/+10
| | | | | | | We cannot cache the bounding rect on the fly for children, because the bounding rect is mapped to the callee's local coordinate system. Auto-test included.
* First round of documentation for QGraphicsEffect.Andreas Aardal Hanssen2009-08-053-20/+162
| | | | | | | Discovered some weaknesses in the API; next round is to discuss and fix these. Reviewed-by: TrustMe
* Make tst_QGraphicsEffectSource::boundingRect happy.Bjørn Erik Nilsen2009-08-043-9/+12
| | | | | | | | | | We cannot modify the transformPtr directly because we might want to use the original transform later. The problem in this particular case was that we called source->pixmap() (which modified the transformPtr), then source->boundingRect(Qt::DeviceCoordinates) which in turn used wrong transform to map the bounding rect.
* Make tst_QGraphicsEffectSource happy.Bjørn Erik Nilsen2009-08-041-0/+1
| | | | Doh, storing a stale pointer is not a good idea ;)
* Toggling QGraphicsEffect's enabled property does not update the source.Bjørn Erik Nilsen2009-08-041-0/+6
| | | | Makes tst_QGraphicsEffect::draw happy.
* More QGraphicsEffect API cleanup.Bjørn Erik Nilsen2009-08-043-30/+5
| | | | Removing some left over from previous experiments.
* Artifacts when moving a child when the parent has a graphics effect.Bjørn Erik Nilsen2009-08-042-8/+23
| | | | | | | | | | | We have to use the effectiveBoundingRect() when finding out which items to repaint within a specific area. However, we don't want items to be clickable on the shadow, so we shouldn't use effectiveBoundingRect for normal item-lookup. Solution to this is to only use effectiveBoundingRect() in the BSP (used by estimateTopLevels) and in drawSubtreeRecursive. Auto-test included.
* Avoid painting on a null pixmap in QGraphicsShadowEffect.Bjørn Erik Nilsen2009-08-031-0/+2
|
* QGraphicsItem leave traces when removing graphics effect.Bjørn Erik Nilsen2009-08-032-2/+2
| | | | | | We have to update the view directly when removing an effect; otherwise we have no information about the effective bounding rect and only the item's bounding rect will be updated.
* Fixes QGraphicsEffect offset bugs.Bjørn Erik Nilsen2009-07-313-5/+6
|
* Notify QGraphicsEffect about source bounding rect changes.Bjørn Erik Nilsen2009-07-315-4/+15
|
* Compile fix.Bjørn Erik Nilsen2009-07-301-0/+1
|
* Fix offset bug in QGraphicsShadowEffect.Bjørn Erik Nilsen2009-07-301-4/+19
|
* Make sure we don't create pixmaps that are bigger than the device rect.Bjørn Erik Nilsen2009-07-305-2/+41
|
* Prevent potential QGraphicsEffect crashes.Bjørn Erik Nilsen2009-07-301-10/+17
|
* Small optimization to QGraphicsEffectSource::boundingRect.Bjørn Erik Nilsen2009-07-291-1/+2
| | | | | Don't bother asking for the childrenBoundingRect if the item has no children.
* A few QGraphicsEffect optimizations.Bjørn Erik Nilsen2009-07-291-7/+20
| | | | | | | First of all we shouldn't pass pixmap.rect() into the filter, we always want to draw the entire pixmap (without making a copy). We can also skip the filter entirely if the filter is effectively not doing anything.
* Conflicts after merge commit 07c2b17276057a8b47c3be57ab7c2cf66dac0eddBjørn Erik Nilsen2009-07-291-1/+1
| | | | Makes QGraphicsShaderEffect compatible with the new QGraphicsEffect API.
* Merge branch 'kinetic-graphicseffect' of ↵Bjørn Erik Nilsen2009-07-2940-531/+988
|\ | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into graphicseffects Conflicts: src/gui/graphicsview/qgraphicseffect.cpp src/gui/graphicsview/qgraphicseffect_p.h
| * Merge commit 'qt-graphics-team/pixmapfilters-redux' into kinetic-graphicseffectSamuel Rødal2009-07-283-260/+245
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/opengl/gl2paintengineex/qglengineshadermanager.cpp src/opengl/gl2paintengineex/qglengineshadermanager_p.h src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h Merge custom shader / GL blur pixmap filter implementation from graphics team repo with implementation from kinetic graphics-team repo.
| | * Added QPixmapBlurFilter with GL implementation.Samuel Rødal2009-06-302-0/+208
| | | | | | | | | | | | | | | No raster engine based fallback so far... Also, performance is lacking since the QGLShaderProgram isn't cached.
| * | Update QGraphicsShaderEffect to match new APIRhys Weatherley2009-07-241-2/+2
| | |
| * | Merge branch 'kinetic-graphicseffect' of ↵Rhys Weatherley2009-07-249-435/+456
| |\ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-graphicseffect
| * \ \ Merge branch 'custom_shaders' of ../qt-graphics-team into custom-shadersRhys Weatherley2009-07-2336-269/+743
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h
| | * | | Initial stab at a custom shader stage APITom Cooksey2009-07-231-0/+1
| | | | |
| | * | | Fix merge error, restore size of bit field.Andreas Aardal Hanssen2009-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change 34fde4a4 removes one bit from the flags bitfield, which was added in change 7bc98d7b. This happened during resolving of a merge conflict and caused some input method related autotests in tst_QGraphicsView to fail. Reviewed-by: mbm
| | * | | Add QGraphicsItem::focusProxy(), focus proxy support.Andreas Aardal Hanssen2009-07-235-48/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following QWidget's behavior, you can not assign any item in the same scene as a focus proxy for another item. Also supports nested focus proxies. You can only assign items in the same scene as focus proxies. Autotests are included. Reviewed-By: mbm
| | * | | Add the math3d types to QVariantRhys Weatherley2009-07-2311-25/+407
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Sarah Smith
| | * | | Merge branch '4.5'Thiago Macieira2009-07-222-22/+22
| | |\ \ \
| | | * | | Revert "Added a check that X11 timestamp goes forward only."Denis Dzyubenko2009-07-221-20/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases we might get an invalid timestamp that is far away in the future, so remembering it will break all consequent X calls that require a timestamp because it just contains junk (for example clipboard will stop working). This happens with XIM+SCIM pair - whenever we start input method and type something to the widget, we get a XKeyPress event with a commited string, however the 'serial' and 'time' members of the XEvent structure are not initialized (according to valgrind) and contain junk. This reverts commit 2ed015b8a0ffad63f0f59b0e2255057f416895fb. Reviewed-By: Brad
| | | * | | Fix table borders in multiline tables when printing to PostScript.Gunnar Sletta2009-07-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not all to happy with this fix, but its the best that one can acheive given the current design. The problem is that QPdfBaseEngine sets a number of states as part of updateState(), but only when we are playing back through the alpha engine. These states are used in some draw functions, also when we are recording in the alpha engine. This leads to the states and their checks being out of sync. So to follow the existing pattern in the code we need to not touch d-> vars prior to a check to usesAlphaEngine. Reviewed-By: Eskil
| | * | | | Compile on embeddedOlivier Goffart2009-07-222-2/+2
| | | | | |
| | * | | | Merge commit 'origin/4.5'Olivier Goffart2009-07-221-2/+4
| | |\ \ \ \ | | | |/ / /
| | | * | | Fix memory leak.Olivier Goffart2009-07-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The signal could be connected a huge number of times This is already fixed in master with Qt:UniqueConnection Task-number: 258381
| | | * | | Update documentation for QMessageBox::open().Norwegian Rock Cat2009-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had missed this one in my rounds of updates. Bad me. Reviewed-by: Thorbjorn
| | * | | | Merge commit 'origin/4.5'Olivier Goffart2009-07-221-1/+2
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qt_cocoa_helpers_mac_p.h
| | | * | | Fix a potential crash due to the fact that _q_UpdateIndex() is reenteredAndy Shaw2009-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is confirmed to resolve a number of problems from the original reportee. It's already fixed in Qt 4.6 in a more wider fix, but this one liner is a good to have in Qt 4.5.x anyway. Task-number: 258194 Reviewed-by: alexis
| | | * | | Another fix needed to build in a namespace on Mac with -arch ppcAndy Shaw2009-07-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't know how this got lost in the original submit since I had added both. Task-number: 257080 Reviewed-by: nrc
| | * | | | Show text even if maximum == 0Olivier Goffart2009-07-221-1/+1
| | | | | |
| | * | | | Support for very large range in QProgressBarOlivier Goffart2009-07-224-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression since my last commit. Task-number: 152227
| | * | | | Simplify the computation of the QProgressBar progress.Olivier Goffart2009-07-223-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is also a work around for a bug in gcc on powerpc (embedded-linux) Task-number: 258358 Reviewed-by: jbache
| | * | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-07-2211-159/+152
| | |\ \ \ \
| | | * | | | Fixed compile with -qtnamespace and MSVC.Rohan McGovern2009-07-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an extern function is declared in the scope of another function, MSVC sometimes ignores the enclosing namespace {}.
| | | * | | | Doc: documentation for boolean properties should say what happens whenVolker Hilsheimer2009-07-211-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the property is set, not what doesn't happen when the property is not set.
| | | * | | | Doc: make potentially incorrect overloads obsolete.Volker Hilsheimer2009-07-212-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add additional overload. Reviewed-by: Andreas
| | | * | | | Doc: document reimplementations of internal functions as internal.Volker Hilsheimer2009-07-211-4/+4
| | | | | | |
| | | * | | | Doc: More docu for the QPixmapCache::KeyVolker Hilsheimer2009-07-211-1/+13
| | | | | | |
| | | * | | | Remove unused gesture related defines and structuresBradley T. Hughes2009-07-212-101/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't use all of them. I also changed the typedefs for the touch related functions to follow the same naming convention.
| | | * | | | LayeredPane should not be reported as an IP address edit control to MSAAJan-Arve Sæther2009-07-212-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason was that ROLE_SYSTEM_IPADDRESS = 0x3F has been added to MSAA at one point in time. (Can be found in recent versions of OleAcc.idl). Since the MSAA bridge used a direct mapping between QAccessible::Role and MSAA roles this lead to that LayeredPane was interpreted to be an IP address edit control, affecting QStackedWidget (and some relatives). This caused some screen readers to be confused when the same accessible interface had children such as push buttons. I also discussed this change with Harald. Task-number: 257958