summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
Commit message (Collapse)AuthorAgeFilesLines
* Document elements that are focus scopes.Yann Bodson2010-07-294-8/+18
| | | | Task-number: QTBUG-12404
* Remove use of shared NOTIFY signalsMartin Jones2010-07-298-36/+79
| | | | | | | | | Sharing a NOTIFY signal can cause binding loop warnings with no apparent cause. Task-number: QTBUG-12333 Reviewed-by: Aaron Kennedy Reviewed-by: Michael Brasser
* Don't emit movementEnded if mouse press is a continuation of a flick.Martin Jones2010-07-291-15/+17
| | | | | | | | | | When the mouse is pressed the flick is stopped, but this may be a continuation of a previous flick, in which case we don't want to emit movementEnded since this can cause stutters in animations triggered by movementEnded, for example. Task-number: QTBUG-12492 Reviewed-by: Warwick Allison
* Fix crash in MouseAreaJoona Petrell2010-07-231-1/+2
| | | | | Task-number: Reviewed-by: Martin Jones
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-07-234-21/+13
|\
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-07-2216-151/+354
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (34 commits) Fix TextInput echoMode autotest on Linux Reuse QML lexer to simplify .pragma script logic Fix TextEdit text attribute and text stored in the internal QTextDocument having different contents Remove QDeclarativeItem::childrenChanged() signal overload Update QtGui and QtDeclarative def files Make rootContext and engine pointers in QDeclarativeView API const Add additional QVariant benchmarks. Allow MouseArea dragging to filter mouse events from descendants Expand QDeclarativeExtensionPlugin docs Add missing snippet files Expand QtObject doc Indicate default values Use snippets instead to avoid quoting license headers Rename remaining 'wantsFocus'. Bounding rect of text was not always calculated correctly. Add QML tutorials to the tutorials page QML focus API updates. Do not show copyright header in documentation. Ensure redirects (and indeed all reply process) is done in the right thread. Only ignore the same target value for a Behavior when it is running. ...
| * \ Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Martin Smith2010-07-2211-55/+82
| |\ \
| * | | qdoc: Fixed reporting of read-only status for QML properties.Martin Smith2010-07-224-21/+13
| | | | | | | | | | | | | | | | Task-number: QTBUG-11512
* | | | Generalize qml "registration"Aaron Kennedy2010-07-221-1/+2
| |_|/ |/| | | | | | | | | | | | | | While it is difficult to predict the future, the hope is that this might give us a little more flexibility when it comes to fixing bugs etc. in patch releases.
* | | Fix TextEdit text attribute and text stored in the internal QTextDocument ↵Joona Petrell2010-07-221-2/+3
| | | | | | | | | | | | | | | | | | | | | having different contents Task-number: QTBUG-12339 Reviewed-by: Martin Jones
* | | Remove QDeclarativeItem::childrenChanged() signal overloadMartin Jones2010-07-221-1/+0
| | | | | | | | | | | | | | | | | | | | | Broke signal handlers in QML Task-number: QTBUG-12335 Reviewed-by: Aaron Kennedy
* | | Allow MouseArea dragging to filter mouse events from descendantsMartin Jones2010-07-224-6/+106
| | | | | | | | | | | | | | | | | | | | | | | | This allows dragging a MouseArea that contains a clickable MouseArea, for example. Task-number: QTBUG-12323 Reviewed-by: Michael Brasser
* | | Indicate default valuesBea Lam2010-07-212-8/+26
| | |
* | | Rename remaining 'wantsFocus'.Yann Bodson2010-07-211-1/+1
| | |
* | | Bounding rect of text was not always calculated correctly.Martin Jones2010-07-211-53/+27
| | | | | | | | | | | | | | | | | | | | | | | | The boundingRect depended upon the image cache which may not become valid until after boundingRect is called. Task-number: QTBUG-12291 Reviewed-by: Michael Brasser
* | | QML focus API updates.Michael Brasser2010-07-217-68/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | The wantsFocus property has been renamed to activeFocus, to better reflect its value. Reading and writing the focus property is also now consistent -- this property represents focus within a scope. Other small changes were made to keep things consistent with the new naming. Reviewed-by: Aaron Kennedy
* | | font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-213-6/+3
| | | | | | | | | | | | | | | | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
* | | Compile: include <float.h> for usage of FLT_MAX.Michael Brasser2010-07-202-8/+2
| | |
* | | Restore the FLT_MAX define.Martin Jones2010-07-202-0/+8
| | | | | | | | | | | | Seems some platforms don't have it.
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-203-5/+5
|\ \ \
| * | | Ensure the boundingRect() of Text is correctly calculated.Michael Brasser2010-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to create our cached image in boundingRect() if it doesn't already exist, to prevents painting errors. Reviewed-by: Warwick Allison
| * | | Better defaults for MouseArea's drag.Michael Brasser2010-07-202-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow essentially unbounded dragging once drag.target is set. The previous default of contraining the dragging to 0,0 (i.e. no drag) was unintuitive for learners. It's rare that unbounded is actually what you want, but it makes it much easier to get started with the element. Task-number: QTBUG-11184 Reviewed-by: Martin Jones
* | | | Make Item::transformOriginPoint read-onlyMartin Jones2010-07-201-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Using this property on Item will break transformOrigin property. We have never documented it. It should not have been used. Now it is enforced as best we can. Task-number: QTBUG-12265 Reviewed-by: Aaron Kennedy
* | | Improve documentation on setting arbitray transform origin pointsMartin Jones2010-07-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | transformOriginPoint is undocumented for a reason. It shouldn't be used by Item. Added some docs to assist find the right way, i.e. Scale and Rotation elements. Task-number: QTBUG-12265
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-202-0/+32
|\ \ \
| * | | Improve QML text rendering when LCD smoothing is enabled for OS X.Michael Brasser2010-07-192-0/+32
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Text in QML is always painted into a pixmap, and with sub-pixel antialiasing enabled this produced incorrect results. This patch is a temporary fix until QTBUG-12252 and/or QTBUG-7747 can be properly addressed in a patch release. In the worst case, if using QML and QPainters are being constructed in a non-GUI thread, this patch could potentially turn off sub-pixel antialiasing for them. Task-number: QTBUG-11002 Reviewed-by: Aaron Kennedy Reviewed-by: Eskil Abrahamsen Blomfeldt
* | | Ensure released VisualItemModel items are removed from the scene.Martin Jones2010-07-201-3/+5
|/ / | | | | | | | | | | Also parent them back to the VIM to ensure correct destruction. Task-number: QTBUG-12261
* | Fix ListView sections with QList<QObject*>Martin Jones2010-07-192-1/+6
| | | | | | | | | | | | | | QDeclarativeVisualDataModel::stringValue() did not handle QList<QObject*> model types. Task-number: QTBUG-12005
* | Doc error fixes.Martin Jones2010-07-193-3/+3
| |
* | PathView doc clarification.Martin Jones2010-07-191-0/+7
| |
* | Missed the actual change in 5572ec653fe735c4f413195c1ef34382aa8c6105Martin Jones2010-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | Always place PathView delegates centered on the path The scale of the delegate was used to offset the item. This was a bad way of making the item appear to be positioned correctly when the default transform origin was the top-left. Now that transform origin is center, it is obvious that it was a bad idea. Task-number: QTBUG-12245 Reviewed-by: Michael Brasser
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-07-161-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix RightBearing confusion in text layout fixes, improvements for various docs and example code Fixed debugger's evaluation of dynamic properties in context Allow test to pass on smaller screens (eg. 480 high). Minor animation doc improvement
| * | fixes, improvements for various docs and example codeBea Lam2010-07-161-0/+2
| | |
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-07-163-37/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (104 commits) Fixed tst_maketestselftest::tests_pro_files failure remove nasty hack by using a stricter regexp (for language codes) cosmetics: quote the dot in the regexp remove dependency of ts targets on sub-tools add commit-ts target to commit ts files without line number info (re-)add 'untranslated' ts targets more fine-grained ts targets split qt_help out into an own ts target Unbreak the Maemo 5 build after the Symbian fix QNAM HTTP: Fix problem with cached files and metaDataChanged() Add a testcase for QTBUG-11213 to prevent future regressions. Autotest: reenable the NTLM proxy test on tst_QTcpSocket Autotest: add a small, boring test for QAuthenticator Add documentation for the QAuthenticator options. Expose the QAuthenticator map of options in the API. Add a QAuthenticatorPrivate parsing for the headers without QHttpResponseHeader Revert BIC change "Build Qt with option -Zc:wchar_t under MSVC" Fix for tst_qmdisubwindow::fixedMinMaxSize failure on Cocoa Add unit tests for QMimeData. fix qconfig.h reference for shadow builds ...
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-07-143-37/+35
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (83 commits) Crash while runnig tst_QMdiSubWindow::emittingOfSignals test on Cocoa fix qconfig.h aliased header creation fix warning directive on gnuc qdoc: Removed navigation arrow that was causing display problems. Silence warning when building with MSVC 2005 Fix an Assert in QTextTable Revert "Fix an Assert in QTextTable" Attempt to fix build failure with msvc200{5,8} on Windows XP. fix macx not having UNICODE in DEFINES any more doc: Fixed several qdoc warnings. Fix an Assert in QTextTable doc: Fixed several qdoc warnings. QSslSocket: Improve error handling qdoc: Fixed several <div> elements that had the "/>" ending. QSslSocket: fix documentation for QSslSocket::setPeerVerifyMode() qdoc: Fixed breadcrumbs for QML examples. remove redundand translations project files make projects lupdate-friendly Timing fix for slow devices. QNAM: Add future enum attribute for Zerocopy QNAM ...
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-07-133-37/+35
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (70 commits) qdoc: Fixed several <div> elements that had the "/>" ending. QSslSocket: fix documentation for QSslSocket::setPeerVerifyMode() qdoc: Fixed breadcrumbs for QML examples. remove redundand translations project files make projects lupdate-friendly Timing fix for slow devices. QNAM: Add future enum attribute for Zerocopy QNAM fixed built-in jpeg and tiff in configure.exe, QTBUG-12093 fix indentation fix build for -no-qt3support Compile fix for bearermonitor example Doc: Cleaning style and adding support for Creator Add NTLMv2 authentication support to QAuthenticator. QIODPLB: Sync behavior of ungetBlock() and ungetChar() QFileIconProvider: Load icons on demand. Doc: fixing offline style Fix handling of SSL certificates with wildcard domain names Doc: fixing examples link doc: Fixed several qdoc warnings. doc: Fixed several qdoc warnings. ...
| | | * Fixing merge conflicts.Martin Smith2010-07-1322-316/+377
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch '4.7-upstream' into 4.7 Conflicts: doc/src/declarative/advtutorial.qdoc src/declarative/graphicsitems/qdeclarativeloader.cpp src/declarative/graphicsitems/qdeclarativetextedit.cpp src/declarative/qml/qdeclarativeengine.cpp src/declarative/util/qdeclarativexmllistmodel.cpp
| | | * | doc: Fixed last of the declarative/QML qdoc warnings.Martin Smith2010-07-092-6/+6
| | | | |
| | | * | qdoc: Marked some missing declarative properties and functions as \internal.Martin Smith2010-07-091-31/+29
| | | | |
* | | | | fix doc linkBea Lam2010-07-151-1/+1
| | | | |
* | | | | Text element does not clip even with clip=trueYann Bodson2010-07-152-8/+14
|/ / / / | | | | | | | | | | | | | | | | Task: QTBUG-12201 Reviewed-by: Michael Brasser
* | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-143-37/+38
|\ \ \ \
| * | | | improvements to docs and examplesBea Lam2010-07-143-37/+38
| |/ / /
* | | | Position GridView and ListView footer correctly when model cleared.Martin Jones2010-07-142-3/+9
|/ / / | | | | | | | | | Task-number: QTBUG-12167
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-131-0/+4
|\ \ \ | | |/ | |/|
| * | Fix TextInput selectionColor or selectedTextColor -based animationsJoona Petrell2010-07-131-0/+4
| | | | | | | | | | | | | | | Task-number: QTBUG-12115 Reviewed-by: Martin Jones
* | | Ensure the section header isn't shown twice.Martin Jones2010-07-131-1/+6
|/ / | | | | | | | | | | Happened when currentItem was on a section boundary. Task-number: QTBUG-12089
* | Private variable cleanup.Michael Brasser2010-07-132-20/+18
| |
* | wantsFocus should be based on FocusScope chain, not parent chain.Michael Brasser2010-07-132-2/+9
| | | | | | | | | | | | | | | | Ancestors of the item with focus should only report wantsFocus as true when they are a FocusScope or a top-level item. Reviewed-by: Aaron Kennedy Reviewed-by: Yann Bodson
* | Add copy(), cut() and paste() support to TextInputJoona Petrell2010-07-122-0/+41
| | | | | | | | | | Task-number: QTBUG-12086 Reviewed-by: Michael Brasser