Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: VisualDataModel.rootIndex is only affects hierarchical models | Geir Vattekar | 2011-02-17 | 1 | -1/+2 |
| | | | | Task-number: QTBUG-17273 | ||||
* | Merge branch 'qtquick11' into 4.7 | Martin Jones | 2011-01-28 | 1 | -2/+3 |
|\ | |||||
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11 | Martin Jones | 2011-01-19 | 1 | -1/+1 |
| |\ | |||||
| * \ | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11 | Martin Jones | 2011-01-07 | 1 | -0/+6 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp tests/auto/declarative/qdeclarativexmllistmodel/tst_qdeclarativexmllistmodel.cpp | ||||
| * \ \ | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11 | Martin Jones | 2010-12-13 | 1 | -1/+1 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11 | Yann Bodson | 2010-11-23 | 1 | -0/+4 |
| |\ \ \ \ | |||||
| * | | | | | Performance fix | Michael Brasser | 2010-11-11 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't always taking advantage of the property cache for model data when we should have been. Reviewed-by: Martin Jones | ||||
* | | | | | | Fix typo in error message. | Martin Jones | 2011-01-28 | 1 | -1/+1 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | Task-number: QTBUG-16964 | ||||
* | | | | | Update copyright year to 2011. | Jason McDonald | 2011-01-10 | 1 | -1/+1 |
| |_|_|/ |/| | | | | | | | | | | | Reviewed-by: Trust Me | ||||
* | | | | Models which load incrementally via fetchMore() don't work. | Martin Jones | 2010-12-23 | 1 | -0/+6 |
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | Call canFetchMore()/fetchMore() on setModel(), setRootIndex() and when the last item is created. Task-number: QTBUG-16039 Reviewed-by: Bea Lam | ||||
* | | | A QAIM model resulted in items moving to incorrect locations | Martin Jones | 2010-12-13 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | | | | | QAbstractItemModel moves items to the gaps between items. QML views assume items are moved to the destination index. This means we need to adjust the destination when moving forward to a gap. Task-number: QTBUG-15841 Reviewed-by: Michael Brasser | ||||
* | | Fix regression due to 6cf397f7ac35a058096528a7ad8bfaf623b30747 | Martin Jones | 2010-11-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | PathView needed to update internal item count when delegate was set. VDM::count() didn't call into the internal VDM when querying count. Task-number: QTBUG-14781 Reviewed-by: Alan Alpert | ||||
* | | VisualDataModel::count should be 0 until a valid delegate is set. | Martin Jones | 2010-11-16 | 1 | -0/+2 |
|/ | | | | | | | There are no visual items if there is no delegate. Task-number: QTBUG-14781 Reviewed-by: Robert Griebl | ||||
* | Run util/normalize on src/declarative. | Yann Bodson | 2010-10-26 | 1 | -16/+16 |
| | |||||
* | Update sections if model content changes. | Martin Jones | 2010-10-12 | 1 | -0/+21 |
| | | | | | | | | We didn't handle the section property changing, e.g. due to asynchronous model. Task-number: QT-4093 Reviewed-by: Aaron Kennedy | ||||
* | Replace all occurances of "Qt 4.7" with "QtQuick 1.0" | Aaron Kennedy | 2010-09-29 | 1 | -1/+1 |
| | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones | ||||
* | Fix a crash in QDeclarativeVisualDataModel | Joona Petrell | 2010-09-21 | 1 | -3/+3 |
| | | | | | Task-number: QTBUG-13754 Reviewed-by: Martin Jones | ||||
* | Small optimization for QDeclarativeVisualDataModel. | Michael Brasser | 2010-09-21 | 1 | -2/+2 |
| | | | | Reviewed-by: Martin Jones | ||||
* | Models with a single role may not update due to "modelData" conflict. | Martin Jones | 2010-09-16 | 1 | -10/+30 |
| | | | | | | | | | Models with a single role also have a modelData property added. These role names both ended up in a hash, resulting in only one or the other updating. Now we handle modelData specially. Task-number: QTBUG-13664 Reviewed-by: Michael Brasser | ||||
* | Fix VisualDataModel model update handling when rootIndex is specified. | Martin Jones | 2010-08-27 | 1 | -6/+9 |
| | | | | Task-number: QTBUG-13038 | ||||
* | Handle layoutChanged() properly in QML views. | Martin Jones | 2010-08-26 | 1 | -0/+8 |
| | | | | | | Update all visible items when layoutChanged() is emitted. Task-number: QTBUG-13146 | ||||
* | Revert 4bc81bb1cb3cd4a0a3fe071e00556124e770d7ac | Martin Jones | 2010-08-26 | 1 | -2/+0 |
| | | | | | | QAbstractItemModel calls that for all sorts of reasons. Task-number: QTBUG-13146 | ||||
* | Handle QAbstractItemModel layoutChanged() signal | Martin Jones | 2010-08-25 | 1 | -0/+2 |
| | | | | | | Treated identically to reset. Task-number: QTBUG-13146 | ||||
* | Don't circumvent onDestruction handlers when clearing expression in delegate ↵ | Martin Jones | 2010-08-25 | 1 | -1/+1 |
| | | | | | | | | | | | cleanup We clear all expressions when removing a delegate in order to avoid spurious warnings. This also removed onDestruction handlers. Ensure the onDestruction handlers are called before the expressions are cleared. Task-number: QTBUG-12946 Reviewed-by: Aaron Kennedy | ||||
* | QDeclarativeVisualItemModel code cleanup. | Michael Brasser | 2010-08-24 | 1 | -46/+1 |
| | | | | | | | Remove unused function. Set abstract item model to 0 after disconnecting, in line with the other model types. Reviewed-by: Martin Jones | ||||
* | qdoc: Reorganized the QML elements table to be a dictionary... | Martin Smith | 2010-08-16 | 1 | -0/+2 |
| | | | | ...and a set of functional group pages. | ||||
* | Correcting spelling mistakes in documentation. Part of fix for QTBUG-11938. | Jerome Pasion | 2010-08-09 | 1 | -1/+1 |
| | | | | | Reviewer: David Boddie Task number: QTBUG-11938 | ||||
* | Ensure dataChanged doesn't force request for unwanted data in QML views. | Martin Jones | 2010-08-03 | 1 | -5/+10 |
| | | | | | | | | If a model emits dataChanged() every role was be updated, rather than just the roles required. Now only roles which have been used are updated. Task-number: QTBUG-12598 Reviewed-by: Michael Brasser | ||||
* | Reference count items in VisualItemModel. | Martin Jones | 2010-08-02 | 1 | -11/+37 |
| | | | | | | | | The views expect the models to reference count and not destroy (or hide in the case of VisualItemModel) until there are no references. Task-number: QTBUG-12450 Reviewed-by: Michael Brasser | ||||
* | Ensure released VisualItemModel items are removed from the scene. | Martin Jones | 2010-07-20 | 1 | -3/+5 |
| | | | | | | Also parent them back to the VIM to ensure correct destruction. Task-number: QTBUG-12261 | ||||
* | Fix ListView sections with QList<QObject*> | Martin Jones | 2010-07-19 | 1 | -0/+5 |
| | | | | | | | QDeclarativeVisualDataModel::stringValue() did not handle QList<QObject*> model types. Task-number: QTBUG-12005 | ||||
* | docs - quote code with snippets, other improvements | Bea Lam | 2010-07-01 | 1 | -0/+6 |
| | |||||
* | VisualDataModel hasModelChildren role shadowed user roles. | Martin Jones | 2010-06-28 | 1 | -1/+1 |
| | | | | Task-number: BAUHAUS-773 | ||||
* | Move listview/itemlist.qml to a separate visualitemmodel example | Bea Lam | 2010-06-11 | 1 | -0/+2 |
| | |||||
* | Document attached properties | Bea Lam | 2010-06-10 | 1 | -1/+8 |
| | |||||
* | Doc improvements: move some example code to snippets, add screenshots, | Bea Lam | 2010-06-09 | 1 | -73/+26 |
| | | | | other minor doc fixes | ||||
* | Doc fixes and improvements - fix some example code, link to | Bea Lam | 2010-06-02 | 1 | -2/+4 |
| | | | | examples from class docs and improve assorted docs | ||||
* | Stop warnings. | Warwick Allison | 2010-05-20 | 1 | -1/+1 |
| | |||||
* | Doc improvements | Bea Lam | 2010-05-19 | 1 | -3/+0 |
| | |||||
* | Add parent parameter to QDeclarativeExpression constructor. | Michael Brasser | 2010-05-18 | 1 | -3/+3 |
| | | | | Also rearrange the parameter order to be more clear. | ||||
* | Don't store the role-property map for each individual item. | Martin Jones | 2010-05-11 | 1 | -23/+40 |
| | | | | | | | | C++ models share a single metaobject type, so we don't need to create role-property mappings for each individual item. Also warn on attempt to modify a role that the model is unaware of (part of QTBUG-10457) | ||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Martin Jones | 2010-05-06 | 1 | -1/+1 |
|\ | |||||
| * | qdoc fixes | Yann Bodson | 2010-05-06 | 1 | -1/+1 |
| | | |||||
* | | Avoid warnings as delegates with bindings to parent are created and destroyed. | Martin Jones | 2010-05-06 | 1 | -0/+8 |
|/ | | | | Task-number: QTBUG-10359 | ||||
* | QList<QObject*> models now update their properties when they change. | Martin Jones | 2010-05-05 | 1 | -2/+6 |
| | | | | Task-number: QTBUG-10348 | ||||
* | When a model delegate is released, remove it from the scene immediately. | Martin Jones | 2010-04-30 | 1 | -4/+3 |
| | | | | Task-number: QTBUG-10289 | ||||
* | Don't "adjust" the z value of a delegate that has been cached. | Martin Jones | 2010-04-27 | 1 | -6/+24 |
| | | | | Task-number: QTBUG-10131 | ||||
* | Rename QDeclarativeExpression::value() to evaluate(). | Michael Brasser | 2010-04-22 | 1 | -3/+3 |
| | | | | | QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value. | ||||
* | Add hasModelChildren property to delegates with QAbstractItemModel model type. | Martin Jones | 2010-04-21 | 1 | -36/+65 |
| | | | | | | | | 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 | ||||
* | Emit runtime warnings through QDeclarativeEngine | Aaron Kennedy | 2010-04-19 | 1 | -1/+1 |
| | | | | QTBUG-9726 |