| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This enables the use of Q_DECLARE_SHARED with d-pointers that are
QExplicitlySharedDataPointer<PrivateClass>.
Also, this enables swapping atomically QSharedPointers.
Reviewed-by: Harald Fernengel
|
|
|
|
|
|
|
| |
Previously we only checked headers, but we actually care about source
files too. This detects about 50 errors all over Qt.
Discussed with Thiago.
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
| |
"sm"+ellipsis (...) is same length as "small" in some fonts
|
| |
|
|
|
|
|
|
| |
Handle platforms that don't have backends.
Reviewed-by: Bill King
|
| |
|
|
|
|
| |
tst_qobject deleteQObjectWhenDeletingEvent needs QtGui.
|
| |
|
|
|
|
|
| |
Task-number: 214990
Reviewed-by: Joerg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change would have been much simpler if either QGraphicsItem
inherited QObject, or if we had some similar QPointer-like class that
supported QGraphicsItem. The issue is this: Each item can delegate
another item to be its focus proxy. That item can be a parent or child,
or something completely unrelated. Either of the two items can be
deleted independently.
The former solution was to store backpointers in a map in the scene.
Problem is, the items may not be in a scene when this happens, they
may be removed from the scene, and the items may be moved between
two scenes.
The bad part about this fix is that it adds another pointer to
QGraphicsItemPrivate.
Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
|
| |
|
|
|
|
|
| |
Mac needs a bit more time to update the widgets when they
are redocked
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When specifying round corners with QStyleSheetStyle and no border-width
specified, the round corners were not rendered with antialiasing. Furthermore,
if border-width was set to 0, part of the border was rendered in discordance
with CSS3.
The background in now rendered directly instead of drawing a clipped
rectangle. The actual border width is checked before rendering.
A test has been added at tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui
Task-number: 230362
Reviewed-by: olivier
|
|
|
|
|
| |
Since QTouchEvents can also be sent to QGraphicsItems, we want to test
that it actually works.
|
| |
|
|
|
|
| |
Reviewed-by: mauricek
|
|
|
|
|
|
| |
It is now possible to set a start value and no end value and starting
the animation will pick the default end value from the current value
of the property that's being animated.
|
|
|
|
|
|
|
|
| |
You can now also set the axis following hte Qt::Axis enum
Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo
Feel free to fix it.
Reviewed-by: ogoffart
|
|\ |
|
| |
| |
| |
| | |
This test only works in debug mode
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem was that we were locking a mutex that was global to thread
to remove posted events associated with a QObject from the posted event
list. We were also immediately deleting those events. If that triggers
the deletion of another QObject, you would then trigger a dead-lock.
Task-number: 259514
Reviewed-by: brad
Reviewed-by: ogoffart
|
|/
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
| |
The menu bar is currently broken with border-image,
fix is about to be commited
Task-number: 230363
|
|
|
|
|
| |
Reviewed-by: Oswald Buddenhagen
Task-number: QT-10
|
|
|
|
|
|
|
|
| |
LocalDiskFlag actually means "Local File Engine" and can be effectively
used for testing file path for target storage type (local/network/virtual and so on)
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_unix code always sets HiddenFlag for special dirs which is wrong;
also there is some inconsistence under win:
* FindFirstFile sets FILE_ATTRIBUTE_HIDDEN flag for ".." of hidden dir
*even* if parent dir is not hidden;
* GetFileAttributes sets FILE_ATTRIBUTE_HIDDEN flag for ".."
*only* if parent dir is hidden.
so, _win part sets HiddenFlag wrong too;
finally, we never test parent dir's flags;
futhermore hidden special dirs (dotAndDotDot) makes dir iterator's filtering a bit more complex
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
|
|
|
|
| |
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
|
|
|
|
|
| |
This test used too much memory for Windows CE <= 5.
Reviewed-by: thartman
|
|
|
|
|
|
|
|
|
|
|
| |
Zero timers don't fire on the first pass in the GLib event
dispatcher. Ideally I should fix the bug of course, but time doesn't
permit at the moment. Submitting this test instead as a "reminder".
The UNIX event dispatcher passes the test, and it also passes if
moved to the end of the slots.
Task: 259505
|
|\
| |
| |
| |
| |
| | |
Conflicts:
configure
tests/auto/moc/tst_moc.cpp
|
| |
| |
| |
| |
| |
| | |
This is a vulnerability in some implementations. Qt isn't affected
because... well, we never implemented the decoding of escape sequences
:-)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QTemporaryFile on Windows doesn't open the file as a sharable, and
doens't close the file when you call .close(). So the testcase
fails on Windows with a Sharing Violation when the compiler tries
to compile the file.
By switching to QFile we can at least close the file before letting
the compiler chew on it, and remove it at the end when the testcase
is done. Open the file with Truncate, in case the testcase fails to
remove the file.
Reviewed-by: trustme
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
On mac, we prefer testing with mp3 rather than ogg, Because in the latter
case, you must install perian to make it work. And the test machines
dont.
Reviewed-by: brad
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test was failing because the goal of the test expect to get only
directories displayed. But if you don't have some in the current dir
then it fails. home dir should be enough.
Reviewed-by:TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QTableView with header-swapped rows wouldn't scroll correctly when PageUp or PageDown pressed.
Simplified calculation for next currentIndex provided in QTableView::moveCursor.
Task-number: 259308
Reviewed-by: olivier
|
| | |
|