summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Fix QDeclarativeTextInput and QGraphicsView in regards of input methods hints.Alexis Menard2010-04-271-0/+17
| | | | | | | | | | | | | | | | | | When the echoMode changes for QDeclarativeTextInput we need to update the inputmethod hints. Also in QGraphicsView we need to update the input context installed on the view to make the former is aware of the change. For the input context framework the only way to deal with the current widget is focusWidget(). Unfortunately the widget that has the focus is the QGraphicsView so the input context don't know the real object QGraphicsView is actually focusing. We must keep in sync the inputMethodHints of QGV with the object QGraphicsView is focusing so the input context just called focusWidget()->inputMethodhints() to update itself. Task-number:QTBUG-9922 Reviewed-by:janarve Reviewed-by:bnilsen Reviewed-by:Michael Brasser
* Disallow "Qt" as namespace importAaron Kennedy2010-04-273-6/+6
| | | | | | This conflicts with the global object's "Qt" property. QTBUG-10143
* Correctly inherit extension propertiesAaron Kennedy2010-04-272-0/+35
| | | | Correct a typo that breaks extension properties in some cases.
* AutotestsAaron Kennedy2010-04-275-0/+57
|
* Ensure scheduled layout can occur before testing.Martin Jones2010-04-271-0/+2
|
* These examples should not be included in this testAlan Alpert2010-04-261-0/+1
| | | | This test doesn't cover examples with a C++ component
* Improved error messages for type resolving, new debug optionmae2010-04-261-22/+32
| | | | | | | | | | The patch improves the error messages when type resolving fails and introduces a new debug utility QML_CHECK_TYPES. If the environment variable is defined, type shadowing will be reported as error. Reviewed-by: Warwick Allison
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-237-108/+108
|\
| * Update visual tests after some painter updates.Michael Brasser2010-04-222-83/+83
| |
| * Rename QDeclarativeExpression::value() to evaluate().Michael Brasser2010-04-225-25/+25
| | | | | | | | | | QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value.
* | Don't crash if Connections::target is changed by one of its signal handlersMartin Jones2010-04-232-0/+51
|/ | | | Reviewed-by: Michael Brasser
* Replace Flickable overshoot property with boundsBehaviorMartin Jones2010-04-223-17/+22
| | | | Task-number: QTBUG-9993
* Autotests and docAaron Kennedy2010-04-223-24/+72
|
* Give error on attempt to import types from too-early version number.Warwick Allison2010-04-223-0/+5
| | | | eg. "import Qt 4.6" not valid.
* AutotestAaron Kennedy2010-04-221-0/+86
|
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-21680-691/+691
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-211-9/+16
|\
| * Fixed declarative/parserstress autotest.Roberto Raggi2010-04-211-8/+16
| | | | | | | | | | | | | | | | The test ecma_3/Unicode/regress-352044-02-n.js is expected to throw an uncaught syntax error when parsing the expression statement "i \u002b= 1;". Task-number: QTBUG-8108
| * Fix parsing of regular expression literals.Roberto Raggi2010-04-211-2/+1
| | | | | | | | | | | | | | Recognize regular expression classes and escape sequences. Task-number: QTBUG-8108 Reviewed-by: Olivier Goffart
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-21107-72/+5963
|\ \ | |/
| * Update test files to new syntaxAlan Alpert2010-04-212-5/+5
| |
| * Update strings in testAlan Alpert2010-04-211-2/+2
| |
| * Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-21104-50/+6210
| |\
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-2126-3/+5457
| | |\
| | | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-2117-0/+5182
| | | |\
| | | | * Emit released and hoveredChanged in MouseArea when a UngrabMouse is receivedLeonardo Sobral Cunha2010-04-2117-0/+5182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unbgrab mouse happens when the mouse area is inside a flickable and the flickables takes control over the mouse handling. In this case, the UngrabMouse will behave similarly to a MouseRelease, emitting released, pressedChanged and hoveredChanged. Visual autotest added to mousearea in qmlvisual. Reviewed-by: Michael Brasser
| | | * | Add hasModelChildren property to delegates with QAbstractItemModel model type.Martin Jones2010-04-214-0/+134
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add some helper function to VisualDataModel: - VisualDataModel::modelIndex(int) returns a QModelIndex which can be assigned to VisualDataModel::rootIndex - VisualDataModel::parentModelIndex() returns a QModelIndex which can be assigned to VisualDataModel::rootIndex
| | | * Add forceFocus method to QDeclarativeItem.Yann Bodson2010-04-215-3/+141
| | | | | | | | | | | | | | | | Reviewed-by: Aaron Kennedy
| | * | AutotestsAaron Kennedy2010-04-2142-0/+163
| | | |
| | * | AutotestAaron Kennedy2010-04-215-0/+18
| | |/
| | * Don't allow properties in Component elementsAaron Kennedy2010-04-217-0/+27
| | | | | | | | | | | | QTBUG-10082
| | * Ignore message in QDeclarativeLoader test.Yann Bodson2010-04-211-3/+2
| | |
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Bea Lam2010-04-212-7/+7
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
| | | * Use different ports to avoid clashes in parallel testing.Yann Bodson2010-04-212-5/+5
| | | |
| | * | Ignore warningsBea Lam2010-04-214-1/+16
| | |/ | | | | | | | | | Task-number: QTBUG-10035
| | * Visual test fix.Michael Brasser2010-04-211-1/+1
| | |
| | * Allow null to be assigned to object propertiesAaron Kennedy2010-04-203-0/+50
| | |
| | * Fix AnchorChanges to work with parent.right.Michael Brasser2010-04-201-20/+19
| | | | | | | | | | | | | | | | | | | | | "parent" needs to be evaluated with the AnchorChanges target as the scope object. Task-number: QTBUG-5338
| | * Complete tst_qdeclarativedom::position autotestAaron Kennedy2010-04-201-1/+2
| | | | | | | | | | | | QTBUG-10036
| | * Regenerate recordsnapshot to fix fillmode visual test in qmlLeonardo Sobral Cunha2010-04-202-1/+1
| | | | | | | | | | | | Reviewed-by: Michael Brasser
| | * Fix test failure.Warwick Allison2010-04-201-2/+2
| | |
| | * Improve error messages, especially on embedded.Warwick Allison2010-04-204-2/+7
| | | | | | | | | | | | | | | | | | With embedded, it is often the case that some QT_NO_* features are turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not being available.
| | * Missing fileAaron Kennedy2010-04-201-0/+7
| | |
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-04-202-0/+84
| | |\
| | | * Add drag.active property to MouseArea in qmlLeonardo Sobral Cunha2010-04-202-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The drag.active property specifies if the target item is being dragged. Task-number: QTBUG-9833 Reviewed-by: Martin Jones
| | * | Handle overrides correctly in extension objectsAaron Kennedy2010-04-203-0/+46
| | |/ | | | | | | | | | QTBUG-7817
| | * Allow Loader sourceComponent to be set to undefeined.Martin Jones2010-04-202-1/+24
| | |
| | * Minor internal anchor refactoring.Michael Brasser2010-04-191-10/+10
| | |
| * | Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-213-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also updated examples to still work, and the dynamic example now uses exceptions a little, to demonstrate that it can be done. Exceptions are also now filled out with the QML error data. Task-number: QT-2801 Reviewed-by: Aaron Kennedy
* | | Fill out QGraphicsLayout bindingsAlan Alpert2010-04-211-1/+4
| |/ |/| | | | | | | | | | | The QGraphicsLayout API is too imperative for good bindings, but now it is at least possible to initialize values in QML. Task-number: QTBUG-5760