| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Also, updateInvMatrix() can be greatly simplified as updateMatrix() is
always called whenever anything related to the state matrix changes, so
we can assume that it's up-to-date.
Reviewed-by: bnilsen
|
| |
|
|
|
|
|
|
|
|
| |
We used tab-ref to place multiple tabs compressed into one tag just like
text:s does, but thats not what the spec says. We now don't sum up
tabs anymore but just simply write out one "<text:tab/>" tag per tab.
Task: 249110
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: Prasanth
|
|
|
|
|
|
|
|
| |
Include change for spinbox, combobox, and menu.
Task-number: 255849
Tested-by: Pierre
Reviewed-by: jbache
|
|
|
|
|
|
|
|
|
|
|
| |
Including it might cause build errors. (and thus break source
compatibility)
The problem was seen on KDE where some cpp files included x11 headers
and then later included the .moc file, then qmetatype.h complains that
Bool is defined
Reviewed-by: Brad
|
|
|
|
|
| |
Reviewed-by: bnilsen
Reviewed-by: Denis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need the parent of each potential QPersistentModelIndex in order to
cleanup when removing the rows.
They need not to change in order QSortFilterProxyModel maping to be
still valid.
takeRow must not change the internal data before calling beginRemoveRow.
Same thing for takeColumn
Task-number: 255652
Reviewed-by: Thierry
Reviewed-by: Leo
|
|
|
|
| |
This one is for qstandarditemmodel autotest
|
|
|
|
|
|
| |
In addition added documentation for the other properties.
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
|
|
|
|
| |
add auto tests for QGraphicsObject
FX items are better off with property notifications on each component
rather than on the position.
Added some basic testing for QGraphicsObject and fixed the failures
exposed.
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
| |
Added a toGraphicsObject() method to QGraphicsItem to allow upcasting.
Expose some of QGraphicsItems setter/getter pairs as real properties
in QGraphicsObject, including NOTIFY signals.
Reviewed-by: Andreas
|
|
|
|
|
|
| |
These are properties of QGraphicsItem. QGraphicsObject should expose these.
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to inherit from it
This changes the inheritance hierarchy of QGraphicsWidget from
multiply inheriting from QObject, QGraphicsItem and QGraphicsLayoutItem
to inherit from QGraphicsObject and QGraphicsLayoutItem. QGraphicsObject
then simply inherits from QObject and QGraphicsItem.
This change is binary compatible as it will leave the vtable layout
unchanged and as the parent class doesn't appear in the C++ name
mangling on any of our platforms. It's also source compatible as
it isn't noticable by existing code.
The restriction we have on QGraphicsObject is that we can not add any
new virtual methods to it, or add data members to the class. We can however
implement a QGraphicsObjectprivate inheriting from QGraphicsItemPrivate
if there is a need to add data members to the class.
This change will allow us to now have one single base for all QGraphicsItems
that inherit from QObject: QGraphicsTextItem, QGraphicsWidget and in the
future QFxItem. Having that single base class will significantly simplify
our work in the qml engine.
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
transformations component"
This partially reverts commit 56f23d4c, which changed the logic in
updateCachedClipPathFromSetPosHelper. We cannot compute the item's
transform relative to the parent by using transformToParent() because
the new position is not yet set on the item, that's why the new position
is passed into the function.
However, I'll look into how we can get rid of the entire function, but
keep it as is for now.
Reviewed-by: Olivier
|
|
|
|
| |
Broke after this commit: 32f32ee3e752a6cc03505ddaa48d2849eaedc2a6
|
|
|
|
|
|
| |
See also: 32f32ee3e752a6cc03505ddaa48d2849eaedc2a6
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
|
|
| |
we don't need to sort.
Reviewed-by:alexis
Request-url: http://qt.gitorious.org/qt/qt/merge_requests/636
Merge-request: 636
Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
directly instead of "constructing" a new one with empty file infos
Reviewed-by:alexis
Request-url: http://qt.gitorious.org/qt/qt/merge_requests/636
Task-number:253382
Merge-request: 636
Reviewed-by: Alexis Menard <alexis.menard@nokia.com>
|
|
|
|
| |
Reviewed-by: ogoffart
|
|
|
|
| |
private class member.
|
|
|
|
|
|
|
| |
Unlike the span array, the clip line array is only free'd in the
destructor, so if it's already allocated we shouldn't allocate it again.
Reviewed-by: Denis Dzyubenko
|
|
|
|
|
|
| |
This makes debugging etc much easier, plus most of the places
controlPointRect() was called the caller had to convert the rect to a
QRectF manually.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QPainter::worldTransform() does not return identity matrix when created
on a redirected widget. It should always be identity by default, and
should only change as a result of QPainter::setWorldTransform. The
reason it didn't return identity for redirected widgets, was that we
translated the shared painter's world matrix directly.
Since we cannot modify the world matrix directly, we have to store
the shared painter's current world transform in a separate matrix
(redirectedMatrix), reset the world transform to identity, and later
combine the redirectedMatrix with world transforms set on the painter.
Note that redirection_offset was in negative coordinates before,
and that redirectionMatrix now is in positive coordinates, hence opposite
signs around.
Auto-test included.
Reviewed-by: lars
Reviewed-by: Samuel
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Also add QMetaType types as list or recognized numerical types
Reviewed-by: thierry
|
| |
| |
| |
| |
| | |
Merge-request: 631
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
And changed QTreeWidgetItem::operator<() and
QTableWidgetItem::operator<() to use it
Merge-request: 631
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
As less than 10% of the object have QPointers, we can avoid locking if
we know there is no QPointer. And keeping track of which object has a
QPointer is easy.
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| | |
Speed up the disconnection and object destruction
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| | |
add an auto-test when we copy file infos.
Reviewed-by: ogoffart
|
| |
| |
| |
| |
| | |
Task-number: 250147
Reviewed-by: Thierry
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 72e083c98c3adb07bb1578fb7f28f121fc3f34ac.
This test broke the tst_QTransform::projectivePathMapping autotest. Lars
is looking into it; for now we take the patch out.
Reviewed-by: Lars
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
it uses les foreach
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The artifacts were visible in the mainwindow demo when dragging the top
toolbar separator left and right. We need to check that rect clipping is
actually activated before we compare the new clip rect with the old,
otherwise the clip type and clip bound flags won't get updated.
|
| |/
| |
| |
| |
| |
| |
| | |
The MODULE placeholder shouldn't be used anymore, and neither should the
old Trolltech license header.
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| |
| | |
Only release branches are allowed to have the Commercial usage header.
All other branches must have the No Commercial Usage header.
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QDestopServices was converting the file names to percentage encoding
before calling ShellExecute. This will not work with URLs without a
scheme. These are now being treated similar to a file.
Task-number: 254501
Reviewed-by: Jens Bache-Wiig
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for reading and writing for Mono, MonoLSB and Indexed
images in the tiff format.
Previously, the images were always written in RGB32, dismissing the
input format.
Task-number: 254317
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| | |
Done with Thorbjørn Lindeijer
Task-number: 220550
Reviewed-by: Thorbjørn Lindeijer
Reviewed-by: mae
|
| |
| |
| |
| |
| |
| | |
that the section indicated by the parameter logicalIndex should exist
Task-number: 255541
|