| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
forwards the event and doesn't just send a fixed one.
|
|
|
|
|
| |
Turns out it's way too much work to make all the Pixmap backends
strongly exception safe. Bumped to "future Qt version" :)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The implementation is likely not complete, but makes autotests using
QApplication::activeModalWidget to pass. At least the following test now
pass successfully:
qcolordialog
qmessagebox
Might have positive impact to other autotests as well.
|
| |
| |
| |
| | |
due to http://qt-reviews.europe.nokia.com/r/67/
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a bracket to the right place and re-arrange the code a little.
The indenting was wrong here in the non-Symbian case since the
if (exists) did not have curly bracket. Also copy the union of
the Hidden flag into the Symbian #ifdef to make this code slightly
more readable.
|
| |
| |
| |
| | |
As per Marius' S-O's request :)
|
| | |
|
| |
| |
| |
| |
| | |
Ensures that we don't leak when creating a new Pixmap while running out
of memory
|
| |
| |
| |
| | |
First step to get rid of QCustomScopedPointer class
|
| |
| |
| |
| | |
Reviewed-By: Ralf Engels
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
the compiler couldn't figure out when building qsharedpointer test.
|
| |\ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
examples/opengl/samplebuffers/glwidget.cpp
src/corelib/io/qfsfileengine_unix.cpp
src/corelib/kernel/qobject.cpp
src/corelib/tools/qsharedpointer.cpp
src/gui/gui.pro
tests/auto/qhttp/tst_qhttp.cpp
tests/auto/qkeyevent/tst_qkeyevent.cpp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Query the database for the quoting charachter, don't assume you know
what it is.
Reviewed-by: Justin McPherson
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The q* helper functions are declared as Q_CORE_EXPORT, so they have to
be extern'd like that as well. This fixes a problem where adding a
resource to a project would result in undefined symbols on some RVCT
versions.
Reviewed-by: Andy Shaw <andy.shaw@nokia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Joerg
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On windows we were not checking whether the widgets receiving the
mouse events are blocked by another modal widget or not.
Task-number: 255912
Reviewed-by: Thierry Bastian
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Widgets with the WA_DontShowOnScreen attribute must not have a window
decoration.
Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets
Reviewed-by: thartman
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
usage simpler.
For example, this allows writing code like:
template <class Pointer>
typename Pointer::pointer getPointer(constPointer &p)
{ return p.data(); }
and that code will work for both QSharedPointer and QWeakPointer.
Reviewed-by: Harald Fernengel
Also add an operator- to make pointer operations possible.
|
| | | |
| | | |
| | | |
| | | | |
This test only works in debug mode
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Explain the difference to QPointer and why QWeakPointer should be used
instead.
Reviewed-by: Trust Me
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There's no QT_OS_WINCE define.
Reviewed-by: mauricek
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Q_WS_SINCE_WM ifdefs were broken
Reviewed-by: Joerg
|
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added WA_StyledBackground to QMenuBar when using style sheets. This also implies
that CE_PanelMenuBar (drawing only the menubar border) no longer needs to
be drawn.
Tested in uiloader/baselne/css_borderimage_allwidgets.ui.
Task-number: 230363
Reviewed-by: olivier
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Oswald Buddenhagen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
string is a multi-length one
Task-number: QT-10
Reviewed-by: Oswald Buddenhagen
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Oswald Buddenhagen
Task-number: QT-10
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
of the biggest string
In case the strings contains multiple strings separated by \x9c
Reviewed-by: Oswald Buddenhagen
Task-number: QT-10
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Patch originally from Oswald on Jira QT-10, with few a modifications.
If a string contains multiple variants sorted by decreasing length,
separated by \x9c, it will try to paint the longest variant which fits
into the bounding box.
Reviewed-by: Oswald Buddenhagen
Task-Number: QT-10
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
remove unused includes;
tabs -> whitespaces;
clean extra whitespaces
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
un-inline isDirPath() since it too large for this (reduce
size of QtCore binary in a few kilobytes)
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
-in most cases GetFullPathName returns string with at least path.size() chars;
-". " isn't valid path; ". " isn't valid path too...should we to pay more?
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
isUncPath() is always called with native separator-ed paths, so we can avoid
needless comparisons;
don't declare isUncPath() under CE since it never used
Merge-request: 1176
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|