summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* QStyleSheetStyle: ItemViews: Fixes drawing of items and branches.Olivier Goffart2009-11-021-0/+179
| | | | | | | | | | | | | | | | I am not sure why the code was there, but after some testing, it is better to remove it: - While painting the branch, we should not look at the ::item pseudo class at all. - Items specific stuff is drawn in PE_PanelItemViewItem, not PE_PanelItemViewRow - Selection is handled his way by the native style. background-color is not for selection and should not depends on SH_ItemView_ShowDecorationSelected Reviewed-by: Thierry Task-number: QTBUG-5228 Task-number: 258382 Task-number: QTBUG-4338
* Merge origin/4.6 into team-widgets/4.6Olivier Goffart2009-11-0212-16/+1021
|\
| * Manual glyph shaping test.Alessandro Portale2009-11-023-0/+525
| | | | | | | | | | | | | | | | | | | | | | | | | | It tests the glyph shaper in Qt by rendering a couple of glyph combinations that are known to be strongly shaped. For now, this test is manual and simply generates an html report for a visual test. It can, however also be implemented as auto test. The test data contains Vietnamese and Tamil data sets, more will follow. Reviewed-by: trustme
| * Fixes testing of sqlite against the real(floating pt) datatypeBill King2009-11-021-0/+1
| |
| * Fix a rounding error.Alessandro Portale2009-10-301-1/+1
| | | | | | | | Reviewed-by: trustme
| * Added manual text performance test.Alessandro Portale2009-10-302-0/+232
| | | | | | | | | | | | | | Small application that simulates different text rendering scenarios and displays the Fps. Reviewed-by: trustme
| * Merge commit '30b0902cf05b0c1dc649e9c2e7ae0415e0c1d042' into 4.6-upstreamBradley T. Hughes2009-10-301-75/+0
| |\
| | * Remove the unnecessary (and broken) tst_QMouseEvent::checkMouseMoveEvent() testBradley T. Hughes2009-10-301-75/+0
| | | | | | | | | | | | | | | | | | According to people responsible for the test, it is not necessary. This partially reverts commit b1f9882fa52745c922eb0109daa011908214dcf7.
| | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6Bradley T. Hughes2009-10-306-16/+301
| | |\
| * | \ Merge commit '8c4edbd04f350294462fd689748de2dd7cc84d47' into 4.6-upstreamBradley T. Hughes2009-10-306-16/+301
| |\ \ \ | | | |/ | | |/|
| | * | Ensure that button returns 0 for mouse move eventsDean Dettman2009-10-291-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | This was a platform regression for the cocoa platform Reviewed-by: Prasanth
| | * | Fixed the scrollarea gesture manual test.Denis Dzyubenko2009-10-282-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Follow refactor; use QApplication:: instead of qApp->Thomas Zander2009-10-282-25/+25
| | | | | | | | | | | | | | | | | | | | Our tests now call the recently converted registerRecognizer using a proper static method.
| | * | Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On accepting one gesture Qt can automatically cancel other gestures that belong to other targets. The policy is normally set to not cancel any other gestures and can be set to cancel all active gestures in the context. For example for all child widgets. Reviewed-By: Denis Dzyubenko
| | * | add empty test method, should implement it fully when more important things ↵Thomas Zander2009-10-281-0/+16
| | | | | | | | | | | | | | | | are done
| | * | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-platform-team into ↵Bradley T. Hughes2009-10-282-1/+133
| | |\ \ | | | | | | | | | | | | | | | 4.6-WM_NULL-driven
| | | * | Implemented QGestureRecognizer::ConsumeEventHintDenis Dzyubenko2009-10-271-1/+20
| | | | | | | | | | | | | | | | | | | | Reviewed-By: trustme
| | | * | Improved gesture autotest reliability on X11.Denis Dzyubenko2009-10-271-0/+5
| | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | | * | Add QWidget::ungrabGestureThomas Zander2009-10-261-0/+71
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | | * | Unregister the temporary gesture recognizer in the gestures autotest.Denis Dzyubenko2009-10-261-0/+15
| | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | | * | Merge branch '4.6' into 4.6-platformDenis Dzyubenko2009-10-2624-107/+1070
| | | |\ \
| | | * | | Remove internal widgets from QApplication::topLevelWidgets()Prasanth Ullattil2009-10-231-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have some internal hidden widgets which should not come up in the QApplication::topLevelWidgets() list. So the known ones are being removed from the QWidgetPrivate::allWidgets set. Task-number: QTBUG-739 Reviewed-by: Denis Dzyubenko Reviewed-by: Bradley T. Hughes
| * | | | | Add QScriptString::toArrayIndex() functionKent Hansen2009-10-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid hacking a custom toArrayIndex() in the example; instead provide an ECMA-compliant conversion that's as fast as possible (having to convert the QScriptString to a QString and then convert the result to a number is considerably slower than calling JSC's Identifier::toArrayIndex() function directly). Reviewed-by: Olivier Goffart
* | | | | | Enable the RightToLeft (mirrored) test for basic layout tests.Jan-Arve Sæther2009-11-021-3/+1
|/ / / / /
* | | | | Merge commit 'origin/4.6' into 4.6Olivier Goffart2009-10-3016-29/+247
|\ \ \ \ \
| * \ \ \ \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into origin-4.6Olivier Goffart2009-10-303-1/+9
| |\ \ \ \ \
| | * \ \ \ \ Merge branch '4.6-s60' into 4.6axis2009-10-303-1/+9
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | | * | | | Fix QDateTime on S60 3.1Shane Kearns2009-10-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | S60 3.1 plugin returned empty strings for the unsupported APIs Since these APIs are needed for the most common use case of converting a QDateTime to a QString using the local format, I have implemented an emulation of the missing APIs using older APIs that are supported. Updated the autotest so it does some sanity checking on the result of local date/time conversion - it would pass instead of fail if the string was garbage before. Reviewed-by: Aleksandar Sasha Babic
| | | * | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6axis2009-10-297-5/+257
| | | |\ \ \ \
| | | * | | | | Fix EColor16M conversion in QPixmap::fromSymbianCFbsBitmap()Jani Hautakangas2009-10-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EColor16M is in BGR format so after conversion to QImage RGB values needs to be swapped. Reviewed-by: jbarron
| | | * | | | | Fix tst_QBoxLayout::setGeometry failure on S60 3.xShane Kearns2009-10-271-1/+0
| | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The S60 style posts a LayoutRequest event when a widget is shown, so that it can draw the focus rectangle around the widget that has keyboard focus. Although lay2->setGeometry was working correctly, processEvents() caused the outer layout to be re-laid out (which expands the inner layout and QDial to fill the available space). The processEvents() call is not necessary for the test case, so it can be removed. Reviewed-by: Jan-Arve
| * | | | | | Merge commit 'widget/4.6' into origin/4.6Olivier Goffart2009-10-3033-100/+1384
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Conflicts: src/gui/effects/qgraphicseffect.cpp
| * | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-3011-24/+386
| |\ \ \ \ \ \
| | * | | | | | do not crashOswald Buddenhagen2009-10-292-0/+27
| | | | | | | |
| | * | | | | | Autotest: add a few more tests for Unicode (IDN) supportThiago Macieira2009-10-291-2/+5
| | | | | | | |
| | * | | | | | Autotest: add one test that was in the previous implementation but missing hereThiago Macieira2009-10-291-0/+1
| | | | | | | |
| | * | | | | | Autotest: use example.org and example.netThiago Macieira2009-10-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to publicise real sites and email addresses. Also, don't use 8-bit data. C escape sequences are ok.
| | * | | | | | Import a new implementation of fromUserInput.Thiago Macieira2009-10-291-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported from http://github.com/icefox/guessurlfromstring Licensed under the 3-clause BSD license by the copyright holder.
| | * | | | | | Remove the fromUserInput implementation and tests.Thiago Macieira2009-10-291-55/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| | * | | | | | Cache a state's parent stateKent Hansen2009-10-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QAbstractState::parentState() is called heavily by the state machine algorithm. The parent state is obtained by qobject_cast'ing QObject::parent(). qobject_cast() is expensive. This commit introduces caching of the result in order to improve performance. We expect that the cache won't be invalidated much since the parent-child relationship of states usually doesn't change after the state machine is started. Reviewed-by: Eskil Abrahamsen Blomfeldt
| | * | | | | | Make QStateMachine event posting functions thread-safeKent Hansen2009-10-291-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By popular demand on the Qt Labs blog. This makes it possible to readily use QStateMachine with e.g. worker threads that post events to the machine. Reviewed-by: Eskil Abrahamsen Blomfeldt
| | * | | | | | Test that we gracefully handle event posting after the state machine is stoppedKent Hansen2009-10-291-0/+17
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | The internal slot _q_process() should never be called if the machine is not in the Running state.
| | * | | | | Change all valid Task-Tracker references to bugreports.qt.nokia.com reference.Warwick Allison2009-10-294-4/+4
| | | | | | |
| * | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-284-8/+87
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| * | | | | | Updated testcase to match new boundingRect logicGunnar Sletta2009-10-281-1/+1
| | | | | | |
| * | | | | | Adapt testcase to updates in QGraphicsPixmapItemGunnar Sletta2009-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | | | | Got tst_qpixmapfilter.cpp compiling againGunnar Sletta2009-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trustme
| * | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-275-24/+92
| |\ \ \ \ \ \
| * | | | | | | Fixed compilation of QGraphicsEffectSource autotest.Samuel Rødal2009-10-271-3/+3
| | | | | | | |
| * | | | | | | Made graphics effects autotest compile.Samuel Rødal2009-10-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no grayscale effect anymore, use colorize effect. Reviewed-by: Gunnar Sletta