summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'qgal-api' into 4.6Jan-Arve Sæther2009-10-212-7/+18
|\
| * Group the spacing functions together, and add a sizePolicy property.Jan-Arve Sæther2009-10-212-7/+18
| | | | | | | | Improve the documentation for size policy.
* | Fixes to the way animations are registered to the timerThierry Bastian2009-10-211-12/+9
| | | | | | | | | | | | | | It could happen that an animation would be unregistered when it shouldn't. Reviewed-by: Leo Cunha
* | Improve performance when starting a lot of animationsThierry Bastian2009-10-211-2/+3
| | | | | | | | | | | | | | We avoid stopping/starting the timer over and over again Patch suggested by Aaron. Reviewed-by: Aaron Kennedy
* | Optimization in qt_closestItemFirst private functionLeonardo Sobral Cunha2009-10-201-11/+10
| | | | | | | | | | | | | | No need to traverse the tree again to access the topLevelItem in case there is no common ancestor. Reviewed-by: bnilsen
* | Moved private function to test which graphic items is in front of the otherLeonardo Sobral Cunha2009-10-205-70/+113
| | | | | | | | | | | | | | This function is moved to graphicsitem private because it is needed by multi-touch event handling and is not specific to bsptreeindex. Reviewed-by: bnilsen
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-widget-team into 4.6Jan-Arve Sæther2009-10-202-15/+27
|\ \
| * | Extended commit 6c1388ee for LeftToRight flowGabriel de Dietrich2009-10-202-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | Auto-test updated. As a bonus, stabilized tst_QListView::task262152_setModelColumnNavigate. Reviewed-by: Thierry
* | | Merge branch 'qlayout-make_adjustSize_better' into 4.6Jan-Arve Sæther2009-10-202-2/+30
|\ \ \ | |/ / |/| |
| * | Make adjustSize work even if there is a pending LayoutRequest event.Jan-Arve Sæther2009-10-202-2/+30
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original report was that the customer did resize(main.sizeHint()) instead of the main.adjustSize(); Note that resize(main.sizeHint() still does not work. However, calling main.adjustSize() should now do what the original reporter wanted. The problem was that the resize did not work, because at the point of the resize the minimumHeight of main was still 22 (8+6+8), and we tried to resize it with a new height of 10. The resize would bound the height up to 22, and the main widget would then get a size of (200x22). The reason why it still had a minimumHeight of 22 was that it was the minimumSize of the previous layout configuration. Unfortunately the new minimumSize of the widget hadn't been updated yet because there was a LayoutRequest event in the queue that hadn't been processed yet. (This LayoutRequest was triggered by that we called invalidate() from hide()). Thus, processing the event queue immediately after the hide() could also have been a workaround for this issue. There is no really good fix for this issue (and it does not seem to be a common problem) without introducing a risk for regressions. Due to that we therefore decided to provide a fix in QWidget::adjustSize(). Reviewed-by: paul
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-widget-team into 4.6Jan-Arve Sæther2009-10-20283-5072/+5381
|\ \
| * | fix for QTreeView to not animate if there are no visible childrenThierry Bastian2009-10-201-4/+6
| | |
| * | Fixed QTreeView trying to animate when parent item has no childThierry Bastian2009-10-202-3/+17
| | | | | | | | | | | | | | | | | | We now check that the item has children before animating. Reviewed-by: Alexis
| * | Fixed a bug in that could unregister not-registered animationsThierry Bastian2009-10-201-2/+3
| | |
| * | QPauseAnimation autotests fixedThierry Bastian2009-10-201-1/+2
| | |
| * | adding autotestsThierry Bastian2009-10-201-0/+14
| | |
| * | Make the default duration of pause animations 250msThierry Bastian2009-10-201-1/+2
| | |
| * | Make the total duration of animation be 0 if duration is 0Thierry Bastian2009-10-201-8/+8
| | |
| * | Fix bug in embedded dialog demo with tab focus.Alexis Menard2009-10-203-4/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On embedded dialog pressing tab stop changing the focus when the focus was given to QFontComboBox. It's because QFontComboBox embed a QLineEdit in order to allow editing. But this QLineEdit is a focus proxy so we need to special case that. The logic is the same in QApplication. Be careful when changing one of them. Task-number:QTBUG-4818 Reviewed-by:jan-arve Reviewed-by:ogoffart
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Alexis Menard2009-10-202-17/+7
| |\ \
| | * | Revert "Change the way we handle KeyboardUIMode on Mac"Benjamin Poulain2009-10-202-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | This will be handled differently (QTBUG-4751) This reverts commit b12fb5861ce09539c04cd51db12a9bfbe32a4774.
| * | | Fixed wrong scrolling in QListView with hidden rows in ListModeGabriel de Dietrich2009-10-203-7/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The flow positions in ScrollPerItem mode did not take the hidden rows into account when configuring the vertical scroll bar. A mapping between the scroll bar value and the flow position has been added. Auto-test included. Task-number: QTBUG-2233 Reviewed-by: Thierry
| * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Alexis Menard2009-10-20265-4993/+5043
| |\ \ \ | | |/ /
| | * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-widget-team into 4.6Alexis Menard2009-10-2020-453/+1089
| | |\ \
| | * \ \ Merge branch 'mmfphonon' into 4.6Frans Englich2009-10-203-3/+8
| | |\ \ \
| | | * | | Does not disable full screen when end of video playlist is reached.Frans Englich2009-10-192-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on Symbian and Windows(DS9). Task-number: QTBUG-4869 Reviewed-by: Gareth Stockwell
| | | * | | Kill warning, simplify code.Frans Englich2009-10-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | * | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Rhys Weatherley2009-10-201-2/+13
| | |\ \ \ \
| | | * | | | Cocoa: modal window reappears on screen after reactivating appRichard Moe Gustavsen2009-10-201-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you close a modal window, then activate different app, then activate app again, the window will pop non-modal in front. This patch makes sure that when we hide a window, we point to the next window to receive keyboard focus. Rev-By: MortenS
| | * | | | | The shipped pvr2d.h/wsegl.h for PowerVR do not work with MBXRhys Weatherley2009-10-201-3/+4
| | |/ / / / | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Rhys Weatherley2009-10-201-3/+0
| | |\ \ \ \
| | | * | | | Fix now invalid ExpectFail.Bill King2009-10-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug causing this fail is now fixed, so remove the expectfails.
| | * | | | | Remove unnecessary PowerVR helper functionsRhys Weatherley2009-10-202-75/+0
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cross-process memory sharing code never really worked in the way we needed it to - so remove it until something better comes along. Reviewed-by: trustme
| | * | | | Fix dangling shader manager pointersJulian de Bhal2009-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QGLEngineShaderManager pointers in QGLCustomShaderStagePrivate have been changed to QPointers to prevent the QGLPixmapFilters in QGL2PaintEngineEx from dereferencing the QGLEngineShaderManager after it is destroyed. Reviewed-by: Rhys Weatherley
| | * | | | Fix bug QTBUG-4848Sarah Smith2009-10-204-24/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the shapeText function return numGlyphs properly - its not always the same as length of string. Task-number: QTBUG-4848 Reviewed-by: Rhys Weatherley
| | * | | | Misc mysql test fixes.Bill King2009-10-201-3/+6
| | | | | |
| | * | | | Optimize QVGPixmapDropShadowFilter by removing colorize stepRhys Weatherley2009-10-193-52/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the drop shadow was colorizing the incoming image and then blurring the colorized version. This change first blurs the image to an alpha-only VGImage and then uses that VGImage as a stencil to draw the drop shadow color. This way, there is only 1 filter step and a draw instead of 2 filter steps and a draw. The result is to make the performance of the drop shadow filter almost identical to the blur filter. Reviewed-by: trustme
| | * | | | fix widget activation from minimized state on Windows mobileJoerg Bornemann2009-10-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following didn't work on Windows mobile: * show a widget normal (non-maximized) * minimize it * reactivate it via the file explorer * now the widget should be visible again The code path from minimized to normal state was missing. Reviewed-by: thartman
| | * | | | fix bug in tst_qwidget.cppJoerg Bornemann2009-10-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WinIdChangeEventWidget::event didn't return a value in all codepaths. Reviewed-by: thartman
| | * | | | qwidget_wince.cpp: don't invalidate the crect on maximizeJoerg Bornemann2009-10-191-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we do this, QWidget::width() returns negative sizes, which makes QGraphicsView crash. Reviewed-by: thartman
| | * | | | qwindowsmobilestyle.cpp: endif comment fixedJoerg Bornemann2009-10-191-1/+1
| | | | | |
| | * | | | QTestLib: do not assert if testLogger object is already destroyedPeter Hartmann2009-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... because when dumping signals we might get QThread::finished() etc. when closing the program, and then the testLogger instance might already be deleted. Reviewed-by: Jesper
| | * | | | Reimplementing QDate/QTime/QDateTime in Symbian native mannerAleksandar Sasha Babic2009-10-191-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the methods used in QDate/QTime/QDateTime have been reimplemented to use native Symbian calls. Reviewed-by: Janne Anttila
| | * | | | Fix doc error.Jason Barron2009-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should *not* be used as a softkey. Reviewed-by: TrustMe
| | * | | | Fixed the build for people who only have emulator binaries installedaxis2009-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | RevBy: mread
| | * | | | Fluidlauncher now comes to foreground when child application dies.Miikka Heikkinen2009-10-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QT-2162 Reviewed-by: axis
| | * | | | Fixed QWidget::raise in SymbianMiikka Heikkinen2009-10-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If toplevel window is raised, the whole application is now raised to foreground. Task-number: QT-2162 Reviewed-by: axis
| | * | | | setcepaths: add support for wincewm65professional-msvc200? mkspecsJoerg Bornemann2009-10-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: mauricek
| | * | | | QTestLib: do not assert if file is not given in logging functionPeter Hartmann2009-10-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that assert was triggered when running a test with "-vs" to show all the signals emitted. Reviewed-by: Andy Shaw
| | * | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-19256-5633/+5909
| | |\ \ \ \