| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
getQApplicationPrivateInternal was not declared
|
|
|
|
| |
Reviewed-by: jesper
|
| |
|
|\ |
|
| |
| |
| |
| | |
Cocoa: Add support for native gestures
|
|/
|
|
|
|
|
|
|
|
|
| |
Use widget->layoutDirection() instead of QApplication::layoutDirection()
where applicable, which caused it to break for the case that Designer's
layoutDirection does not match that of a widget [property].
In addition, position the submenu correctly on the left side in the case
of RTL.
Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
Task-number: 259238
|
| |
|
| |
|
|
|
|
| |
__qt_sender__ is evil. Gah.
|
|
|
|
|
|
|
| |
setCursorPosition() should be able to set the cursor at the end of the
string. This is a copy-paste error made when refactoring QLineEdit.
Reviewed-by: Gunnar
|
| |
|
|
|
|
| |
We should not unlock too early, or node might get deleted.
|
|
|
|
|
|
| |
defaultRowSizes was broken on oxygen style because of missing icons.
Reviewed-by: paul
|
|
|
|
|
|
|
|
|
|
|
| |
When selecting the text and setting the cursor position, we need to
emit the cursorPositionChanged signal. This seems to be a copy-paste
error from refactoring QLineEdit, as the function call is there in the
original version of setSelection(). The effect was two test breakages
in tst_QDateTimeEdit, because the section and cursor position of the
QDateTimeEdit would be out of sync.
Reviewed-by: Gunnar
|
| |
|
|
|
|
|
|
|
|
| |
before, it asserted; now, the test is not asserting anymore but
still failing, because the fix is not yet checked in. Additionally,
it now runs from a shadow directory.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
| |
dnotify is something from older linux kernels and cannot be trusted, therefore
we skip some tests. Also we cannot guarantee that 1 operation on the file give only
1 notification in general, so we relaxed the conditions.
Reviewed-by: paul
|
|
|
|
|
| |
Apperently we don't get the leave event when simply moving the
mouse with the testlib
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: olivier
|
|
|
|
|
|
|
| |
Also improved an example a bit to optionally support TapAndHold
gesture with plain mouse events.
Reviewed-by: trustme
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We needed to call ensurePolished before updating the
action rects.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Last QVERIFY still failing.
Reviewed-by: olivier
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
| |
Instead of ignoring _NET_WORKAREA, merge it with each screen geometry
to give a meaningful availableGeometry() for all screens.
Reviewed-by: denis
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
We should close the gestureinfo handle only we managed to open successfully.
Reviewed-by: trustme
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Reviewed-by: paul
|
|
|
|
|
| |
Unfortunately mingw doesn't know about the IFileDialog interface.
So it might have issues on Vista with a file dialog with search enabled.
|
|
|
|
|
| |
view doesn't exist anymore and the qWait should be enough to make the
x11 call useless
|
| |
|
|
|
|
| |
Reviewed-by: paul
|