Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Improve warning for non-Item delegates. | Martin Jones | 2010-04-16 | 1 | -2/+12 |
| | | | | Task-number: QTBUG-9682 | ||||
* | Rename the ridiculous QDeclarativeDeclarativeData -> QDeclarativeData | Aaron Kennedy | 2010-04-15 | 1 | -2/+2 |
| | |||||
* | Reduce warnings at shutdown | Aaron Kennedy | 2010-04-14 | 1 | -1/+1 |
| | | | | | | QTBUG-9799 Reviewed-by: Alexis Menard | ||||
* | Improve efficiency of model dataChanged. | Martin Jones | 2010-04-13 | 1 | -7/+8 |
| | |||||
* | Replace "import Qt 4.6" with "import Qt 4.7" | Michael Brasser | 2010-04-08 | 1 | -1/+1 |
| | |||||
* | Revert "Add QListModelInterface::modelReset() signal and emit this in" | Bea Lam | 2010-04-08 | 1 | -2/+0 |
| | | | | | | | | | | | This reverts commit 973cfce37fcdd1ce330f237eaa76930db55a73f6. Need more consideration before adding modelReset(). For example if item insertion/removal is supposed to trigger animations through added/removed signals, they won't be triggered if only the modelReset() signal is emitted. Also if we add modelReset(), it should also be implemented for ListModel to make sure it is implemented by all subclasses of QListModelInterface and to test the impact of this on the view classes. | ||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Martin Jones | 2010-04-07 | 1 | -0/+2 |
|\ | |||||
| * | Add QListModelInterface::modelReset() signal and emit this in | Bea Lam | 2010-04-07 | 1 | -0/+2 |
| | | | | | | | | XmlListModel when all data has changed. | ||||
* | | Keep track of the item count to avoid calling model->count() during batched ↵ | Martin Jones | 2010-04-07 | 1 | -0/+4 |
|/ | | | | changes | ||||
* | Update #include of private headers in QtDeclarative | Thiago Macieira | 2010-04-02 | 1 | -1/+1 |
| | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason. | ||||
* | Don't crash if an out of bounds model index is accessed. | Martin Jones | 2010-03-19 | 1 | -0/+2 |
| | | | | Task-number: QTBUG-9184 |