| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Previously, two images with indexed colors were not equal if their
color tables were not the same. The image are not compared by
the value of the pixels
Reviewed-by: Samuel
|
|
|
|
|
|
|
| |
This patch enables QGLWidget's to have an ARGB visual on X11, alowing GL
rendering on semi-transparent windows.
Reviewed-By: Trond
|
|
|
|
|
|
|
| |
In the fill case we can simply set a flag saying the pixmap needs to be
filled, and then when painting on the pixmap we start by filling the
background using glClear via the existing
QGLDrawable::autoFillBackground interface.
|
|
|
|
|
|
|
| |
Make sure makeCurrent() on a window surface unbinds any active FBO, and
simplify ensureActive() code in GL2 paint engine a bit. We don't need
the last_engine pointer as ensureActive() will take care of ensuring the
correct engine is active anway.
|
|
|
|
|
|
|
|
|
|
| |
Avoid needless DPI calculations when not needed, and simplify the DPI
calculations to the point where most of the operations disappear. Also
avoid calling QImage::metric() so that we don't need to go through two
switch statements and an extra function call just to get the width of a
pixmap.
Reviewed-by: Trond
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we have already a pixmap of an item in the cache, we should
remove the entry from the cache otherwise when we will repaint/modify
the copy of the pixmap (the copy of the cache) then we will trigger a
deep copy ; this is because both entries in the cache and our copy
share the same data and if you modify one of them a copy is triggered.
I have added a benchmark as well to test that.
Reviewed-by:bnilsen
Reviewed-by:andreas
|
|
|
|
| |
current interval in the variant animations
|
|
|
|
|
|
|
|
|
|
| |
We had a report from a customer saying this breaks if the decimal
separator is the same as the group separator. This is not really
something we want to support, but because this fix is easy and cleanup
the code I decided to fix it.
Reviewed-by: Thierry
Task-number: 253962
|
|
|
|
|
|
|
|
|
|
| |
It is often desirable, when doing connection, to ensure that the same
connection is only made once. This can be done with the
Qt::UniqueConnection 'flag'
Also documented the order the slot are called
Reviewed-by: Brad
|
| |
|
|
|
|
|
|
|
|
|
| |
You can't implicitly convert QLatin1Char to QString and thus neither to
QFileInfo. Instead do the conversion the correct way, as illustrated by
the code five lines above the line that broke.
Reviewed-by: Lincoln Ramsay
Reviewed-by: Andy Shaw
|
|
|
|
| |
no more warnings while generating the docs
|
| |
|
|
|
|
|
|
|
| |
Fix: Make sure to add the prefix to the value we return in QLibraryInfo
Task-number: 254545
Reviewed-by: Trenton Schulz
|
| |
|
|
|
|
|
|
|
| |
If we don't remove the pixmap from QCache first then the key is invalid
and the removal failed
Reviewed-by: sroedal
|
|
|
|
|
|
|
| |
QFileInfo doesn't have a constructor for QLatin1Char and implicit
conversion didn't work.
Reviewed-by: Thierry
|
|
|
|
|
|
|
|
|
| |
the same type as the property
For example, if you set a start value of 0 (integer) for a qreal
animation, it would not work.
Reviewed-by: janarve
|
| |
|
| |
|
|
|
|
|
|
| |
It seems GLint is typedefed to long on 10.4.
Reviewed-By: Rhys Weatherley
|
|
|
|
|
| |
Use the same pattern for protecting the dump function as
qmap.h and qhash.h employ.
|
|
|
|
| |
Reviewed-by:TrustMe
|
|
|
|
|
|
|
| |
Also makes QDomDocument::toString() consistent with QXmlStreamWriter and
xmlTextWriter from libxml2.
Reviewed-by: Thiago Macieira
|
| |
|
|
|
|
| |
...hopefully
|
| |
|
| |
|
|
|
|
|
| |
Now you can opt it out to save disk space (for embedded).
Also tested it and fixed code in state machine.
|
|
|
|
| |
simply added Q_UNUSED for parameters that weren't used in a function
|
|
|
|
|
|
|
| |
Wherever I found that we were using a string instead of a single char
I fixed the code.
Reviewed-by: olivier
|
|
|
|
|
|
|
|
|
| |
When a buffer swap leaves the back buffer intact we don't have to use
an FBO or PB, but can render directly to the window's back buffer,
yielding higher performance and depending less on extensions such as
multisample FBOs and FBO blitting.
Reviewed-by: Trond
|
|
|
|
|
|
| |
The brush transform needs to include the rect position.
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
When not setting filtering mode to GL_NEAREST/GL_LINEAR copying back
from FBO to texture fails for some reason.
Reviewed-by: Trond
|
|
|
|
|
|
| |
Override systemStateChanged() to get the system clip updates.
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
We need to use both qt_defaultDpiX and qt_defaultDpiY, and round
the resulting metric values.
Reviewed-by: Trond
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QMessageBox::question() has the wrong default value for
one of its arguments, but fixing it may break existing code,
and the workaround is trivial (just specify an explicit
value for the default argument).
Reviewed-by: TrustMe
Task-number: 254131
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
compilation breakage introduced in 6c1d7e57.
The fix in fc7a43cce did fix the failure, but created another one
because qhostinfo_win.cpp also had a copy of qt_sockaddr_in6
Reviewed-by: Jason McDonald
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This restore the KDE3's behaviour.
Do not disable it on Windows as we are aware of customer using the
QPlastiqueStyle on Windows that might rely on this (for behaviour
consistancy with others Windows applications)
Reviewed-by: jbache
Task-number: 254210
|
| |\ \
| | |/
| | |
| | |
| | | |
Conflicts:
src/corelib/kernel/qsharedmemory_unix.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
newline
Do the same special case as for QTextEdit
(yes, this is a pitty that we have special cases like that
Reviewed-by: Thierry
Task-number: 252532
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On Windows, QT_NO_IPV6 isn't defined, but the necessary includes were
missing. So #include winsock2.h and also use our own structures.
Reviewed-By: Trust Me
|
| | |
| | |
| | |
| | | |
Reviewed-By: Oswald Buddenhagen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The problem was that we installed an eventfilter regardless if the
gtk symbols were defined or not. Instead we now initialize and
check for the symbols before we install the filter.
Task-number: 254342
Reviewed-by: ogoffart
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: 254333
Reviewed-by: Andy Shaw <qt-info@nokia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When connecting to an open file descriptor, set the openMode in the file
system engine, as is done for file handles.
Reviewed-by: Thiago
|