| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
| |
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
Reviewed-by: thierry
Reviewed-by: olivier
|
|
|
|
|
|
| |
QAbstractItemViewPrivate::selectionModel may be null.
Reviewed-by: olivier
|
| |
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| | |
That machine has no 'Times New Roman' the test was reliying in
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/gui/dialogs/qfiledialog.cpp
src/gui/dialogs/qfiledialog_win.cpp
tests/auto/qicoimageformat/tst_qicoimageformat.cpp
tests/auto/qscriptqobject/qscriptqobject.pro
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Note however you still need to -nomake examples -nomake demos
when configuring Qt.
Reviewed-by: Thiago
Task: 259179
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Somehow forgot to hook up the blinking signal (in the new QLineControl)
to QLineEdit.
Reviewed-by: Trust Me
|
| | |
|