| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made properties in QPanGesture and QPinchGesture more consistent - all of them
have value, lastValue and totalValue. Documented that totalValue means the
value from the beginning of the gesture, while the 'value' - from the beginning
of the current sequence. This is especially useful on Windows when you zoom
with two fingers and then release one finger and touch again to continue
zooming.
Also added a workaround for native Rotate gesture on Windows which contain a
'bad' value in the first WM_GESTURE message in every gesture sequence.
Reviewed-by: Bradley T. Hughes
|
|
|
|
|
|
|
|
|
|
|
| |
Added a new widget attribute Qt::WA_DontUseStandardGestures that disables all
implicit gestures (i.e. gestures that are automatically enabled by Qt itself).
This change also changes the way gestures are handled on
QAbstractScrollArea-based widgets on Windows - the gestures are supposed to be
created on the viewport widget.
Reviewed-by: Bradley T. Hughes
|
|
|
|
|
|
|
|
| |
When a state changes from NoGesture to any valid gesture state and we emit the
started() signal, we need to make sure that the state of the gesture is set to
the appropriate Qt::GestureStarted state.
Reviewed-by: trustme
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
| |
We should fill the bounding rect only when the region has one rectangle.
Not the other way around.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
| |
Adds support for ::tables and ::record to understand synonyms to tables
created by another user eg: as appuser, see appuser.synonym created
against creator.table1
Task-number: 17327
|
| |
|
|
|
|
|
|
|
|
| |
Since DirectFB allows for providing position and size on creation of
windows we might as well use these fields rather than first create the
surface and then resize it.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
|
| |
DirectFB doesn't let you query the size of the Display in versions prior
to 1.0. In this version require people to specify the size using
QWS_SIZE, QWS_DISPLAY or print a warning and exit.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
| |
Support exporting QWS_SIZE=100x100 to set size
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
| |
DSPD_XOR is not supported until 1.0.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
We don't want this surface to be released by QDirectFBScreen. It's
always created without tracking.
Also abstract the if (dfbSurface != primarySurface) things since we will
use it from multiple functions.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
| |
This convenience function will be called from whereever the subsurface
is invalidated.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
| |
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
| |
sibling exists when QT_NO_DIRECTFB_WM is defined as well.
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
|
|
|
|
|
|
|
| |
Get rid of QPointer.
Use linked list of privates (like was recently done for QScriptValue).
Allocate the private on the stack when we can.
Reviewed-by: Olivier Goffart
|
|
|
|
|
|
|
|
|
|
| |
The warning in qglobal.h made the test to fail
(because the purpose of the test is to test that moc doesn't produce
code that generates warnings with lots of warnings falgs on)
(Regression in rev 23c2aea7ce637992)
Reviewed-by: Gabriel de Dietrich
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Id you have numerous items with the same value in the sort column,
whenever you update one of them, they'll be placed at the head of
the list instead of staying in place.
For example, assume you have items
a b(1) b(2) b(3) b(4) c
(where all the b have the same value in the sort column)
If you now emitDataChanged from b(3), ensureSorted() will be called.
It will place b(3) in a list, and stable sort the list. It's just
the one item since there was only one item updated.
It than takes each item in the list, removes it's place from the
"full" list of items, then reinserts it at the earliest point (using qLowerBound).
End result:
a b(3) b(1) b(2) b(4) c
If you update all the items in the list (doing emitDataChanged()
for each), this has the effect of reversing all the items with
identical sort key.
This patch checks if the old row is within the lower and upper
bound of where the item might go, and if it is, simply reinserts
it in its old place.
Reviewed-by: Olivier Goffart
Merge-Request: 1393
|
|
|
|
|
|
|
| |
When creating a QGLPixelBuffer with context sharing, the sharing flag
was only set on the pixel buffer, not the other context.
Reviewed-by: Trond
|
| |
|
|
|
|
|
|
| |
... but leave it there on Symbian.
Reviewed-by: Aleksandar Sasha Babic
|
|
|
|
|
|
|
|
| |
QGraphicsView can set the system clip in order to handle clipping
of QGraphicsView children, and we have to take that into account
in the GL 2 engine, as we did in the GL 1 engine.
Reviewed-by: Samuel
|
|
|
|
|
| |
Unfortunately, qt_get_hex_rgb() is in QtGui (qcolor_p to be exact).
Hence, we need to duplicate the implementation for QtSvg.
|
|
|
|
|
|
|
|
|
| |
Both the shaders and the engine states were shared between OpenGL
contexts, but the states should be only apply to one context, not a
group of contexts. This commit separates the shaders and the states.
Task-number: 257254
Reviewed-by: Samuel
|
| |
|
|
|
|
|
|
| |
Thank you coverity!
Reviewed-by: Marius Storm-Olsen
|
|
|
|
| |
Reviewed-by: Trond Kjernåsen
|
|
|
|
|
|
|
| |
This was flagged by Coverity. We already have a struct filled from
IPC_STAT above, we shouldn't be passing unitialized data for IPC_RMID.
Reviewed-by: Marius Storm-Olsen
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since we are iterating all the XML attributes, we find and locate the id
while we are inside the loop. Thus, no need to retrieve the id via
QXmlStreamAttributes::value().
Also, get rid of someId(QSvgAttributes) function and use the 'id' member
variable directly.
Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 1.2% speed-up.
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the color starts with '#', let's parse it ourselves rather than
waiting for the (fall-back) QColor-from-QString which even requires
us to create a QString out of the QStringRef.
All widely used illustration programs output SVG with #rrggbb format
to specify the color.
Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 2.4% speed-up.
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| | |
Loading tiger.svg (tests/benchmarks/qsvgrenderer) enjoys 1% speed-up.
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| |
| | |
We try to use QStringRef as much as possible. Loading tiger.svg
(tests/benchmarks/qsvgrenderer) enjoys 1.2% speed-up.
Reviewed-by: Kim
|
| |
| |
| |
| | |
Reviewed-by: Kim
|
| |
| |
| |
| | |
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The default value is planned to be changed in the next minor update to
Gtk+ (2.28), hence we need to read this dynamically now. We also
added a helper-function to easily read a gconf bool.
Note, as a bonus feature I also added support for
"buttons_have_icons".
Task-number: 260684
Reviewed-by: joao
|
| |
| |
| |
| | |
That's the last of them... for now.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the autotest that was crashing
Task-number: 246056
Reviewed-by: ogoffart
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(It had to be minimum three anchors.)
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It used to compress it because in the layout we were never picking the
sizeHint. Now we do.
Task-number: 260483
|
| | |
| | |
| | |
| | | |
Reviewed-by: Tom
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit also adds initial support for fading behind modal dialogs.
Avoid unnecessary local/global capturing since when having global
capture enabled we cannot for example tap icons on statusbar.
The logic how pointer events for popups and modal dialogs shall work:
- Modal dialogs:
* Shall not close when outside dlg is clicked
* Shall not allow usage or underlying control with mouse
* Achieved with SetGloballyCapturing and SetPointerCapture
in enterModal_sys / leaveModal_sys
- Popups
* Shall close when the outside popup is clicked
* Achieved with enabling the SetPointerCapture only for topmost
popup and canceling it for all underlyuing ones.
* In addition long tap timer needs to be canceled for underlying
widgets when opening a pop-up. Otherwise theu get longtap event
whcih causes unexpected behaviour.
TODOs:
- Fading does not work correctly when more than two levels of modal
dialogs are opened.
- Fading does not work correctly when switching away from app and
back to it with fast swap window (using menu works)
- Check if fading should be implemented with MAknFadedComponent and
TAknPopupFader, in order to support cross-application fading
- Should popups closes when application loses the focus?
Reviewed-by: Janne Koskinen
|
| |
| |
| |
| |
| |
| |
| | |
Do not convert JSC::Identifier to QString to convert it later to
JSC::Identivier again
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| | |
Let us be optimistic here and reserve some space in the CSS symbols
array before parsing starts. This gives 3% speed-up when loading
tiger.svg (tests/benchmarks/qsvgrenderer).
Reviewed-by: Olivier Goffart
|
| |
| |
| |
| |
| |
| | |
derived class).
Reviewed-by: bill king
|