summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* QStandardItem::takeRow() would crash when it had no columns.Gabriel de Dietrich2009-08-061-8/+10
| | | | Reviewed-by: olivier
* Fixed compilation of the gestures/imagewidget example.Denis Dzyubenko2009-08-063-12/+35
| | | | | | | Also improved an example a bit to optionally support TapAndHold gesture with plain mouse events. Reviewed-by: trustme
* Skip tst_QWindowSurface::flushOutsidePaintEvent() when using composition managerJocelyn Turcotte2009-08-061-0/+6
| | | | | | | The first VERIFY_COLOR(w.geometry(), w.color); call was failing because the window was mapped but not yet painted on the screen. Reviewed-by: Bradley T. Hughes
* ignore someOswald Buddenhagen2009-08-063-0/+8
|
* Make sure QWidget::setStyle() relayouts its children.Jan-Arve Sæther2009-08-062-2/+3
| | | | | | | | | | | | Changing a style on a widget should invalidate the widget's layout, since the layouts spacings and margins may depend on the style. One optimization could be to check to see if the spacing and margins have changed due to the style change, but the old style is not available in changeEvent, so we'll keep it simple for now. RevBy: paul Task: 256986
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAriya Hidayat2009-08-06104-216/+246
|\
| * QMenu: small little code simplificationThierry Bastian2009-08-061-12/+5
| | | | | | | | Reviewed-by: trustme
| * QMenu: fixed a menu poppping up behind the menubarThierry Bastian2009-08-061-1/+2
| |
| * Fix QMacStyle subControlRect()-reporting for CC_SpinBoxTor Arne Vestbø2009-08-061-3/+9
| | | | | | | | | | | | | | | | | | The mac style ignored the QAbstractSpinBox::NoButtons flag for the SC_SpinBoxEditField sub-control, effectivly always making room for the spinner buttons. Now it's in line with both the Cleanlooks style and the Windows (common) style. Reviewed-by: Jens Bache-Wiig <jbache@trolltech.com>
| * lalala ... forgot to add test dataOswald Buddenhagen2009-08-061-0/+21
| |
| * Tests: Adapted uic baseline to 33604fb02fa463f36fa78e515bb42a34a746f0f2Friedemann Kleint2009-08-06100-200/+200
| |
| * QMenu could return wrong geometries for its actionsThierry Bastian2009-08-061-0/+2
| | | | | | | | | | We needed to call ensurePolished before updating the action rects.
| * QMenu: fix multi column autotest for styles which don't support itThierry Bastian2009-08-061-0/+7
| |
* | Added example that uses WebKit to capture Web page frames.Andre Pedralho2009-08-064-0/+278
|/ | | | | | | | | | The framecapture is based on GraphicsDojo/WebCapture and shows how to use WebKit toolkit to capture a web page and save its internal frames in different image files using the new property QWebFrame::clipRenderToViewPort. Merge-request: 1103 Reviewed-by: Ariya Hidayat <ariya.hidayat@nokia.com>
* Faster quaternion multiplications.Ariya Hidayat2009-08-061-18/+11
| | | | | | | | | | | | | Use the known factorization trick to speed-up quaternion multiplication. Now we need only 9 floating-point multiplications, instead of 16 (but at the cost of extra additions and subtractions). Callgrind shows that the function now takes 299 instructions instead of 318 instructions, which is not a big win. However I assume the speed-up has a better effect for mobile CPU, where multiplications are more expensive. Reviewed-by: Rhys Weatherley
* task256322_highlight() failed due to lack of delays before QVERIFYs.Gabriel de Dietrich2009-08-061-5/+8
| | | | | | Last QVERIFY still failing. Reviewed-by: olivier
* Compile fix for gestures.Denis Dzyubenko2009-08-061-5/+4
| | | | Reviewed-by: trustme
* Support _NET_WORKAREA on Xinerama setups in QDesktopWidgetBradley T. Hughes2009-08-062-10/+28
| | | | | | | Instead of ignoring _NET_WORKAREA, merge it with each screen geometry to give a meaningful availableGeometry() for all screens. Reviewed-by: denis
* Fixes a regression in qwidget when setting a large minimum size.Denis Dzyubenko2009-08-061-9/+9
| | | | | | | | | Setting a minimum size to a value that is larger then the biggest allowed widget size, we should costrain the widget to that max allowed size as we did before. Change 6a2621b6832dbdd349f77cf1f3242b4a6ba3c740 broke it. Reviewed-by: Bradley T. Hughes
* Added some debug output to the qdesktopwidget manualtestDenis Dzyubenko2009-08-061-0/+31
| | | | | | | To make sure we don't receive same signals several times from a QDesktopWidget, added the debug output whenever the signal is emitted. Reviewed-by: trustme
* Small fix for native gestures on windows.Denis Dzyubenko2009-08-061-7/+2
| | | | | | We should close the gestureinfo handle only we managed to open successfully. Reviewed-by: trustme
* Enable pan gesture on all QAbstractScrollArea-based widgets.Denis Dzyubenko2009-08-067-29/+40
| | | | | | | | | Two-finger panning will work on all QAbstractScrollArea based widgets, however single-finger panning will be enabled only on some special widgets that always wants it - for example we don't want it on QGraphicsView, and we might want it on itemviews *sometimes*. Reviewed-by: trustme
* Changed setting state in a QGestureDenis Dzyubenko2009-08-064-40/+55
| | | | | | | | | | | | Instead of having a protected setter for the state and forcing the application developer to emit signals manually (which leads to misunderstanding - i.e. if the started() signal should be emitted only once, or of the triggered() signal should be emitted before the finished() signal, etc). So I've added an protected updateState(state) function that sets the internal state and emits appropriate signals depending on the old and new states. Reviewed-by: Volker Hilsheimer Reviewed-by: Richard Moe Gustavsen
* Rearranged the gesture code a bit for future native gestures on Windows.Denis Dzyubenko2009-08-069-45/+80
| | | | | | | | Moved the code that subscribes to native gestures on Windows to a private function in QWidget which will check which gestures the widget is subscribed to and enable native gestures as requested. Reviewed-by: trustme
* Fix the setStyleShouldChangeSpacing test function for Mac.Olivier Goffart2009-08-061-0/+2
|
* Fixes one more autotest in QCompleter: task247560_keyboardNavigationLeonardo Sobral Cunha2009-08-061-0/+4
| | | | Reviewed-by: paul
* Fix build for mingwThierry Bastian2009-08-061-1/+2
| | | | | Unfortunately mingw doesn't know about the IFileDialog interface. So it might have issues on Vista with a file dialog with search enabled.
* Fix compilation of the testOlivier Goffart2009-08-061-8/+5
| | | | | view doesn't exist anymore and the qWait should be enough to make the x11 call useless
* Fixed QComboBox test on slow window managerOlivier Goffart2009-08-061-2/+2
|
* Fixes autotest task253125_lineEditCompletion in QCompleterLeonardo Sobral Cunha2009-08-061-1/+7
| | | | Reviewed-by: paul
* A small hack to enable gles2 at configure timeGunnar Sletta2009-08-062-0/+186
| | | | Reviewed-by: Trond
* Q3ProgressBar autotest fixed on macThierry Bastian2009-08-061-3/+4
| | | | | | | - We need to process events in order to leave time to mac to update the widget. - When in undefined case, the progressbar is animated, so the number of paintevents might be bigger than 1.
* Useless Q_ASSERTs made test crash.Gabriel de Dietrich2009-08-061-2/+0
| | | | | Reviewed-by: thierry Reviewed-by: olivier
* Fixed crash in tst_qitemview.Gabriel de Dietrich2009-08-061-1/+2
| | | | | | QAbstractItemViewPrivate::selectionModel may be null. Reviewed-by: olivier
* Test fail resolved. Waiting time after dialog.exec() was too short.Gabriel de Dietrich2009-08-061-1/+1
|
* Normalize line endings before comparing the lines.Jan-Arve Sæther2009-08-061-7/+18
| | | | | | We already trimmed away any \r from the expected line, but we did not trim away \r from the actual line. That caused some false negatives on windows.
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtKeith Isdale2009-08-062-4/+7
|\
| * Resolved tst_QCssParser::extractFontFamily_data on jackychanOlivier Goffart2009-08-061-2/+5
| | | | | | | | That machine has no 'Times New Roman' the test was reliying in
| * Update baseline (project.ts.result) for the good:backslashes case.Jan-Arve Sæther2009-08-061-2/+2
| |
* | Add hints that a qmake generated .pro will need to be editedKeith Isdale2009-08-062-1/+5
|/ | | | | | | | | | When qmake run with the -project option to generate a .pro for the project it is possible that the generated .pro file will need to be edited and add variables such as "QT" to specify what QT modules the project needs. To hints to qmake's help and HTML documentation to that effect. Reviewed-by: Marius Storm-Olsen
* Replace instances of weak linking for 10.3 with 10.4.Morten Sorvig2009-08-063-5/+4
|
* Merge commit 'origin/4.5'Rohan McGovern2009-08-0644-212/+283
|\ | | | | | | | | | | | | | | Conflicts: src/gui/dialogs/qfiledialog.cpp src/gui/dialogs/qfiledialog_win.cpp tests/auto/qicoimageformat/tst_qicoimageformat.cpp tests/auto/qscriptqobject/qscriptqobject.pro
| * Cleaned up test naming and platform-specific tests.Rohan McGovern2009-08-0632-201/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When an autotest fails to compile, there's no way to determine which testcase(s) have been prevented from running. Our results parsing tools have been guessing, under the assumption that a directory called `qdogwalker' always contains a testcase named `tst_qdogwalker'. That wasn't true for all our tests, so let's make it true. Also changed the platform-specific tests so that qmake will simply skip those tests on unsupported platforms, instead of wasting time compiling a useless QTEST_NOOP_MAIN test.
| * Fix a bug when activating HideNameFilterDetails on Windows filedialog.Alexis Menard2009-08-052-11/+19
| | | | | | | | | | | | | | | | | | | | The HideNameFilterDetails was not taken in account for windows file dialog. This patch fix that. For Windows Vista and later we use now the new COMMON_ITEM_DIALOG API (in master) where it add always the filter extension like *.txt so no point to take that flag in account. Task-number: None, during testing Reviewed-by: prasanth
| * Fix compilation on AIX: -I/usr/include cannot be used.Thiago Macieira2009-08-051-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The reason is that the C++ compiler needs to add -I/usr/vacpp/include before -I/usr/include, so our adding of -I/usr/include changes the order. This causes a compilation error in the C++ header xlocinfo.h. In any case, these checks done in qmake are unnecessary. If the OpenSSL headers are in one of those include paths, they will be found on their own already. Reviewed-By: Bradley T. Hughes (cherry picked from commit 04f7834fcd8db4ecb6a4c53de42ac83f571b37c8)
| * Fix compilation when QT_NO_HTTP is definedMarkus Goetz2009-08-058-5/+18
| | | | | | | | | | | | | | | | Note however you still need to -nomake examples -nomake demos when configuring Qt. Reviewed-by: Thiago Task: 259179
| * Fixes hangup when pressing key in QListWidgetOlivier Goffart2009-08-052-1/+29
| | | | | | | | | | | | | | | | | | If there is severals matching items but all of them are disabled, it would have produced an infinite loop. Block the loop once we reach an already matched item. Task-number: 258949 Reviewed-by: Thierry
| * Cocoa: Menus show old selected values.Richard Moe Gustavsen2009-08-052-1/+29
| | | | | | | | | | | | | | | | | | | | We never told Cocoa that it needed to redraw the window view when a window was shown. This is implicit if the window is shown for the first time, but needs to be done explicit if you hide and show it again. Task-number: 254672 Reviewed-by: bnilsen
* | Make QLineEdit cursor blink againAlan Alpert2009-08-061-0/+3
| | | | | | | | | | | | | | Somehow forgot to hook up the blinking signal (in the new QLineControl) to QLineEdit. Reviewed-by: Trust Me
* | Compile Fix for QT_KEYPAD_NAVIGATIONAlan Alpert2009-08-067-11/+29
| |