| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Several autotests written by the Orbit team were added as a new
QGraphicsAnchorLayout autotests file.
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This method, formerly called by the QGraphicsAnchor destructor, to
remove the anchor associated to it, is no longer needed.
That destructor now calls QGALPrivate::removeAnchor(), a method
analagous to addAnchor(), that provides the high level feature
of "anchor removal".
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
|
|
|
|
|
|
|
|
|
|
| |
more anchors
Now the removeAnchor() method has returned and it is ready for being use in the API for ensure
that items are removed from the layout when they have no more external anchors.
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
|
|
|
|
|
|
|
| |
All method calls were replaced by calling removeAnchor_helper(), with
internalVertex() calls
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
QGraphicsAnchorLayoutPrivate now has addAnchor() replacing anchor() and
addAnchor_helper() replacing addAnchor(). With this changes we are respecting
the API behavior, where anchor() is a "getter" instead of a "setter".
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The simplex solver cannot handle negative-sized anchors. Those
should be handled by the layout itself. This is done by inverting
such anchors and making their size positive again.
Ie. A --> B with size -10 becomes B --> A with size 10
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing the case where creating an anchor between the
layout Left edge and an item Right edge (or vice-versa)
would have different behaviors depending on the argument
order.
Now both calls below have the same meaning:
addAnchor(layout, Qt::AnchorLeft, widget, Qt::AnchorRight)
addAnchor(widget, Qt::AnchorRight, layout, Qt::AnchorLeft)
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
| |
It is not possible to escape a wildcard character in the Wildcard
mode of QRegExp. This follows the kind of wildcard of the CLI of Windows
The new WildCardUnix follows the escaping of a unix's bash.
Task-number: 241346
Reviewed-by: Olivier Goffart
Reviewed-by: Matthew Cattell
|
|\
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/qimagereader/tst_qimagereader.cpp
tests/auto/qtwidgets/tst_qtwidgets.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously you had to set forward only on non-scrollable datasets
explicitly. This queries ODBC, to determine if it's a scrollable
dataset, and sets forwardOnly to false if it isn't.
Task-number: QT-353
Reviewed-by: Justin McPherson
|
| |
| |
| |
| |
| |
| |
| |
| | |
The test failed because it tried to open a .qm file which didn't exist
in Qt's translations directory. Fixed by running lrelease on the .ts
file and copying the resulting .qm into the test directory.
Reviewed-by: Trond
|
| |
| |
| |
| | |
Reviewed-by: Jesper
|
| |
| |
| |
| |
| | |
Backported d04d67e146bce3d407f992c283d7ab3d0c25d428 and
08b54f274d57e4735d0042e295237f176506433d from 4.6.
|
| |
| |
| |
| | |
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RevBy: Andrew den Exter
Details:
gst_element_query_duration(element,format,duration) doesn't always
return duration in format being asked for (tracks in this case),
it can also return duration in format it can (Time) and modify
format parameter, so check the format is still the same
as requested is necessary. This bug prevented Phonon to emit finished()
signal with some files, since it expected next tracks to exist.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change 979d1d3bbc0c68789edbe93f03464d41d7a8469a requires
qt_format_text() to honor the Qt::TextForceLeftToRight flag. Without
this, the text will be laid out RTL twice, and the output will be
broken. Since printing is done through QPicture, this fixes printing
when the UI is reversed.
Task-number: 261033
Reviewed-by: Trond
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Breaks the GL2 paint engine on X11 and OpenGL/ES 2.0.
This reverts commit b8ff02a67ebd8246253823b53cfed98eef400547.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's no need for the intermediate surface creation. RenderTo will
handle things like palette/transparency etc. Should also provide some
speedup.
Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This seems not work correctly on quite a few boards so I'd rather have
people turn it on explicitly.
Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
|
| | |
| | |
| | |
| | | |
Reviewed-by: Paul
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before, we did not retrieve the detailed error message correctly on
Windows.
Reviewed-by: Joao
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, QtOpenGL on QWS needs to link against an EGL library. While
we'd one day like to change that, it will be that way in Qt 4.6.
Reviewed-By: Paul
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Kim
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Owner can be null, don't try to deref it if it is.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SBSv1 has also been updated to define the appropriate macros and add the
required library statements, so all that is needed is the STDCPP keyword
Reviewed-by: mread
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use QColorDialog::getColor() instead of deprecated
QColorDialog::getRgba(), which causes alpha value
to get lost in the process.
Task-number: QT-4494
Reviewed-by: Jarek Kobus <jkobus@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As it was in commit 025dcc2bb
Reviewed-by: Thiago
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
not every QObject need a pointer to the QGuard while none of them will
usually use it (it is private API)
Reviewed-by: Thiago
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trustme
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trustme
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: TrustMe
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Andy Shaw
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When entire blocks get deleted, the last block for rehighlighting
would be the block _before_ the deleted blocks. This is wrong,
since the deleted blocks could have contained characters which
affect the state. The patch lets the highlighter check for one
more character.
Reviewed-by: thorbjorn
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This bug appears only in Carbon port (ATSUI font engine). While finding
the character stops, this font engine relys on the RTL flags. As an
optimization, for this particular version of boundingRect(), BIDI is
ignored. So for this font engine, we will always use the correct RTL
flags.
Task-number: 213109
Done-with: Eskil
Reviewed-by: Simon Hausmann
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change the len instead of copying the string.
Idea from Warwick
Reviewed-by: Warwick Allison
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added support for the simpliest SAVE_TARGET mechanizm allowing us to
work nicely with clipboard managers, so that when Qt application that
owns the clipboard exits we delegate the content to the clipboard
manager if there is one.
The current implementation doesn't specify which targets to give to
the manager, so it will try to fetch as much as possible. Also, right
now we do not support the TARGET_SIZES target, meaning that the
manager doesn't know how much data it is going to fetch, so it will
try to fetch everything even if it can take a lot of time.
Reviewed-by: Bradley T. Hughes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The antialiasing is currently not gamma corrected.
Reviewed-by: Samuel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QtWebKit uses.
This is needed to decouple QtScript from QtWebKit, as discussed in the
WebKit team.
Reviewed-by: Kent Hansen
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For long intervals, restart the system timer every 2000 seconds
New autotest to verify long timers don't crash or complete immediately
Task-number: QT-651
Reviewed-by: axis
|