| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
When a child is being deleted by its parent, the child should not
notify the parent (of that which it already knows anyway). We did that
by keeping a pointer to the child being deleted. Much simpler to
simply orphan the child.
Reviewed-by: Bradley T. Hughes
|
|
|
|
|
| |
Now reduceConfiguration will add a new step of reduction which removes
EGL_BIND_TO_TEXTURE_RGBA and replaces it with EGL_BIND_TO_TEXTURE_RGB.
|
|
|
|
|
| |
The constructor then extracts all the attributes from the config. Useful
for dumping all the attributes for a particular config to qDebug().
|
|
|
|
| |
Reviewed-by: Trustme
|
|
|
|
| |
Reviewed-by: Trustme
|
|
|
|
| |
Reviewed-By: Trustme
|
|
|
|
|
| |
1) it's needed for the Declarative UI integration and
2) it hopefully fixes the build on Windows.
|
|
|
|
|
|
|
| |
The constructors that take a list of target states produce
hard-to-read code, and they're rarely useful in practice since
99% of transitions take a single target state; so it's better
to enforce that setTarget{State,States}() be used instead.
|
|
|
|
|
|
|
|
| |
When using drawLines() then the dash offset was remembering where it
was on the previous line. This is not what the behaviour should be
as it should be starting with the same offset for each line.
Reviewed-by: Samuel
|
|
|
|
|
|
|
|
|
|
|
| |
minimum size"
This reverts commit 244f5ee9c2c34ddee200e4d5cdc1345762a5901b.
Valgrind complains about the label fields that are not inisialized yet,
and indeed. They are initialized right after, and need the maxLabelWidth
to be computed. This is a chicken and egg problem difficult to solve, so
I rather revert the change as the bug is not critical
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rect is not drawn correctly.
Depending on the type of server, QAxClientSite::TranslateAccelerator()
needs to process the message differently. For ActiveQt based
in-process-servers, only normal Qt event handling is required. For
ActiveQt based out-of-process-servers, the message has to be forwarded
and Qt event handling needs to continue. For all other type of servers,
forward the message and stop Qt event processing.
Styles use the WA_KeyboardFocusChange attribute set on the window to
decide on drawing the focus rect. ActiveQt handles the VK_TAB key in the
QAxServerBase::TranslateAcceleratorW(), the attibute is now set when
focus is changed.
Task-number: 253763
Reviewed-by: Volker Hilsheimer
|
|
|
|
|
|
|
| |
QRasterPaintEngine assumes device does not change size. Therefore create
a new engine when resizing.
Reviewed-by: Tom
|
| |
|
|
|
|
|
| |
Broke on WinCE since QStateMachinePrivate is now using
Q_AUTOTEST_EXPORT.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 95560abfdd3a1755b69f238eff2954d164dff6a5.
Fix comboboxes used as editor.
isAncestor() stops at windows. we want to go tought the whole widget
chain, including parent windows
Use case: examples/itemviews/coloreditorfactory/coloreditorfactory
Task-number: 259034
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm not sure this is the proper fix, though. xlC 7 complains with:
"/usr/vacpp/include/new", line 97.10: 1540-1298 (I) "void *operator
new(size_t, void *) throw()" needs to be declared in the containing
scope to be found by name lookup.
Also add some calculations to the padding in the data structure.
Reviewed-by: Trust Me
|
|
|
|
| |
Needed for Declarative UI integration.
|
|
|
|
|
| |
QObject::sender() does not return const QObject*, so neither should
this API; it just forces you to const_cast for no good reason.
|
|
|
|
|
|
|
|
|
|
| |
There is no monotonic clock support on HP-UXi at all, and the
_POSIX_MONOTONIC_CLOCK macro is not defined at all (not even to
-1). We handle this in the event dispatcher, but not in
qcore_unix.cpp. Since the monotonic clock time code has moved, the
define of _POSIX_MONOTONIC_CLOCK to -1 should also move.
Reviewed-by: thiago
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
not C99-compliant.
C99 says vsnprintf returns >= `size' when not enough memory was
available. In practice, on Windows, glibc < 2.0.6, and probably plenty
of other places it returns -1 instead.
Reviewed-by: Rhys Weatherley
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a few typos and add more descriptive documentation to the
class itself and its subclasses.
Reviewed-by: Volker Hilsheimer
Reviewed-by: Martin Smith
|
| |
| |
| |
| |
| | |
Explain the implications in the QWebHistoryItem documentation, and get rid
of the "group".
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Close button was enabled if the native window handle was created
implicitely (for example by the setWindowTitle() function). Moved the
code that enables of disables the close button to the place where we
create native window handle.
Task-number: 256360
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Windows we will add maximize button to the titlebar even if the
window has a fixed size if the user explicitely asked for it by
setting Qt::CustomizeWindowHint | Qt::WindowMaximizeButtonHint.
Task-number: 250188
Reviewed-by: Leonardo Sobral Cunha
|
| |
| |
| |
| |
| |
| |
| |
| | |
QWidget::setFixedSize() constrains the size of the widget, however there
was no way to remove those constraints, so setting the constraints to
QWIDGETSIZE_MAX will make the widget resizable again.
Reviewed-by: Leonardo Sobral Cunha
|
| |
| |
| |
| |
| |
| |
| | |
Autotest: included
Merge-request: 378
Reviewed-by: Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>
|
| |
| |
| |
| |
| |
| | |
made sure that we set the filter on the correct widget
RevBy: denis
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Text used to be formatted during the parsing of the SVG file, but
because the text can be referenced by a 'use' element, the text
formatting is not known at this point in time. Now, font attributes can
be inherited from 'use' elements, and the text is formatted each time
it is drawn.
Reviewed-by: Tor Arne
|
| |
| |
| |
| |
| | |
Task-number: 254040
Reviewed-by: Tor Arne
|
| |
| |
| |
| |
| |
| | |
Task: 254724
Reviewed-By: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Copy the first line from the texture to the destination
and from then on reference that copy reducing cache misses. Also
progressively copy larger sizes, reducing the amount of time spend
figuring out what to copy.
Merge-request: 371
Reviewed-by: Samuel Rødal <sroedal@trolltech.com>
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| |
| |
| |
| | |
Reviewed-By: Thomas Hartmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
loadGlyphs() has a big impact on text rendering speed on X11. Removing
the uneeded hash lookup makes this function go twice as fast, as it in
the common case (where the glyphs are already cached) the hash lookups are
100% of the running time of the function.
Reviewed-by: Trond
|
| |\ |
|
| | |
| | |
| | |
| | | |
Reviewed-By: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Squashed commit of the following:
commit fcf7e8cab339d0cf9f3f2a9756d7754c54c4d934
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Thu Jul 30 13:15:13 2009 +0200
note in the changes file...
commit 2c9c3880215988e6609c290a8e738b228736e601
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Thu Jul 30 12:51:42 2009 +0200
Don't leak native window HRGN handles
commit 6bb30d2075dd1d71a8a600d25f413a38af7f2f2c
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Thu Jul 30 11:09:22 2009 +0200
Moved qregion_wince.cpp -> qregion_win.cpp, platforms are identical now
commit 173fcc5baec73a198167985c6f777987e6015a71
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Thu Jul 30 09:42:06 2009 +0200
win32 calls on QRegion.handle() is no longer supported, use from HRGN
commit d7ddcce4ba29b70ed81f85274208b388a2bb9d4d
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Thu Jul 30 09:41:37 2009 +0200
Added convenience function to convert from HRGN to QRegion
commit 2fc53ac3d59a9c42bb4154fff7557610092b7946
Author: Gunnar Sletta <gunnar@trolltech.com>
Date: Wed Jul 29 09:28:10 2009 +0200
Kill qregion_win.cpp and use the unix code instead
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit e181f8754bccb13cb59212f279e05c20cb76db62.
This code is used for compatibility issues for custom layouts that
dont delete their children, so its a false positive from coverity.
|
| | |
| | |
| | |
| | | |
Reviewed-by: ogoffart
|
| | |\ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Added QGLContextPrivate::bindTextureFromNativePixmap() implementation
for X11/EGL.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: Rhys Weatherley
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make a clear seperation between the GL texture and the GLX pixmap. A
GLXPixmap is valid in any GL context and thus does not need to be
re-created every time the pixmap has changed.
Reviewed-By: Samuel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also add 2 new flags and a new member to store any GL bound pixmap
surface (GLXPixmap or EGLPixmapSurface).
Reviewed-By: Samuel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The new class alows more than one hook to be installed at a time and,
for QPixmaps, the hook is told which pixmap is getting deleted.
Reviewed-By: Samuel
|