| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
Task-number: 245650
Reviewed-by: Gunnar
|
| |
| |
| |
| | |
Reviewed-by: Samuel
|
| |
| |
| |
| | |
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The orientation tag was ignored for tiff images. The tag is now used
to rotate the image before providing it to the user.
The orientation of indexed an mono images is done completely manually.
The orientation of other type is done in conjunction to the mirroring
already performed by libtiff.
Task-number: 258526
Reviewed-by: Samuel Rødal
|
| |
| |
| |
| |
| |
| |
| |
| | |
everything in the source model will be accepted.
Task: 251308
Reviewed-By: Olivier Goffart
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New flag: QGraphicsItem::ItemNegativeZStacksBehindParent, which makes
it easy to toggle stack-behind based on the value of Z alone.
Add interface initializations to QGV classes.
Add a simple internal focus policy to QGraphicsItem to allow derived
items to be focusable without allowing clickfocus.
Reviewed-by: Alexis
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some GL ES 2 implementations seem to have problems with
glCopyTexSubImage2D(), so we fall back and read the old font texture
into system memory and re-upload the new font texture.
Also, the precision used for texture coordinates in the fragment
programs wasn't high enough, which could lead to rendering artifacts.
Reviewed-by: Samuel
|
|/
|
|
|
| |
Task-number: 178753
Reviewed-by: Trust Me
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The signal was being associated with a particular property,
but in many classes, the NOTIFY signal applies to multiple
properties. Added a new function to the PropertyNode class
that adds the signal function without associating it with
any property.
Task-number: 259071
|
|
|
|
|
| |
the test was wrong on the QPrinter pointer
In addition, priv is never null
|
|
|
|
|
|
| |
legacy and completely pointless...
Reviewed-By: Eskil
|
| |
|
|
|
|
| |
Reviewed-by: Eskil
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setTransformationAnchor(QGraphicsView::AnchorUnderMouse) would not work
properly if viewport margins were set. When centering the view in
QGraphicsViewPrivate::centerView, the viewport margins were not being taken
into account.
Mapping from global cursor coordinates in the viewport instead of the view
fixes the issue.
Task-number: 255529
Reviewed-by: Olivier
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On the Mac, it means "-framework ApplicationServices -framework Carbon
-framework AppKit" are no longer part of the default LIBS in Qt
applications. This required a lot of fixes where we used Mac-specific
code in Qt.
On X11, it was very straightforward, because we apparently use very
little of X11 outside QtGui.
I haven't changed the Windows-specific LIBS paths, because I don't
know how Windows behaves. Windows has DLLs, but it links to static
"import" libraries. So is it static linking or dynamic linking?
Reviewed-By: Marius Storm-Olsen
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
inneficient
As the virtual functions (such as the boundingRect()) are not available
anymore in the destructor, the view has to refresh everything.
Reviewed-by: Alexis
|
| |
|
|
|
|
| |
Put EffectParameter::userType back to EffectParameter::type.
|
|
|
|
|
| |
Put QString::toReal back to QString::toDouble, there is no
QString::toReal.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you have a floating object which affects the width available to the
text, we need to recalculate the width of the text line. In the code,
the setLineWidth() call to do this would by default have WrapAnywhere
as its wrap mode, even when this was not necessary. The code has now
been moved so that WrapAnywhere is only used if we try to set the
line width to match the available width and detect that the text is
too wide (the natural text width exceeds the available space.)
Task-number: 240325
Reviewed-by: Simon Hausmann
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
we call QVariant::toReal instead of toDouble when needed
|
|
|
|
| |
Reviewed-by: Olivier
|
| |
|
| |
|
|
|
|
|
| |
Some dead code removed
Some member not initialized missing
|
|
|
|
|
|
|
|
| |
Made better use of qreal all over the place. We were previously
using QVariant::toDouble a lot. That is triggering unnecessary
conversions between float and double on embedded.
Reviewed-by: ogoffart
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Autotest: qcoreapplication, qapplication, qtimer
qwidget_window, qwidget
Issue 1: stacking order of modal windows was not
working correctly. With this patch, we remove the
need for rebuilding modal sessions all the time,
and when we do, we rebuild them all in the correct
order.
Issue 2: When running the event processor manually
(that is, just calling processEvents in a loop), we
sometimes spendt 100% cpu if a window was pending to
become modal. The reason was that we need to keep
reposting the QCocoaRequestModal event until we
could block the calling thread (that is, one of
the exec flags was given to processEvents). With this
patch, the need for posting QCocoaRequestModal is
completly removed in favor of an 'interrupt'
approach instead.
Issue 3: If using Qt as a plugin, or just add widget
to a native cocoa application, it would often lead
to closing down the application. The reason is that
the event dispatcher needs to restart [NSApp run]
now and then. But this approach fails if Qt was not
the code that started [NSApp run] in the first place.
This patch removes the need to restart NSApp in this
situation, at the cost of modal windows not beeing
modal if Qt is not spinning the event dispatcher.
Normal QDialog::exec etc will always work.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
it was even a bug when checking against QMetaType::Float because Float
is a user type so it could never be true
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| |
| |
| |
| |
| |
| |
| | |
Don't re-create world TRUSTEE everytime in getPermissions()
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Get current user SID from the token of the current process
and use it to fill UserTrustee with BuildTrusteeWithSid;
Remove workaround for buggy secur32.dll version.
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
OpenProcessToken and SetFilePointerEx are present in all versions since NT4.0;
use them if Q_OS_WINCE is not defined
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
_wchmod returns 0 on success and -1 on error.
Our Windows CE implementation did it wrong.
Thanks to Konstantin Ritt for spotting this!
Reviewed-by: mauricek
|
| |
| |
| |
| |
| | |
Undocumented, but maybe they're useful somewhere. It doesn't hurt to
add them.
|
| | |
|