| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace Nokia contact email address with Qt Project website.
- Remove "All rights reserved" line from license headers.
As in the past, to avoid rewriting various autotests that contain
line-number information, an extra blank line has been inserted at the
end of the license text to ensure that this commit does not change the
total number of lines in the license header.
Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Parent order was backwards, the inner context was parented to the
outer context, and then the inner context was reparented to the
delegate. Parent the outer context to inner context so both are
deleted when the delegate is deleted.
Task-number: QTBUG-25784
Change-Id: I1d6cd4dfc2530424535a7e00164563d9b4aaa513
Reviewed-by: Martin Jones <martin.jones@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Simple search and replace. This commit doesn't touch 3rd-party files,
nor translations (where the change is not so simple and will be handled
in a separate commit).
Change-Id: I4e48513b8078a44a8cd272326685b25338890148
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
| |
VisualDataModel was emitting itemsMoved() signal with incorrect
"to" value when multiple items were moved forwards.
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
| |
Updated version of LGPL and FDL licenseheaders.
Apply release phase licenseheaders for all source files.
Reviewed-by: Trust Me
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-18839
Change-Id: I46608d7481d820fa74a9be60df1e018e70a761c6
Merge-request: 2598
Reviewed-by: Martin Jones <martin.jones@nokia.com>
|
|
|
|
| |
Task-number: QTBUG-17273
|
|\ |
|
| |\ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/declarative/graphicsitems/qdeclarativeitem.cpp
tests/auto/declarative/qdeclarativexmllistmodel/tst_qdeclarativexmllistmodel.cpp
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We weren't always taking advantage of the property cache for model
data when we should have been.
Reviewed-by: Martin Jones
|
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
Task-number: QTBUG-16964
|
| |_|_|/
|/| | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
Call canFetchMore()/fetchMore() on setModel(), setRootIndex() and when
the last item is created.
Task-number: QTBUG-16039
Reviewed-by: Bea Lam
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
There are no visual items if there is no delegate.
Task-number: QTBUG-14781
Reviewed-by: Robert Griebl
|
| |
|
|
|
|
|
|
|
|
| |
We didn't handle the section property changing, e.g. due to asynchronous
model.
Task-number: QT-4093
Reviewed-by: Aaron Kennedy
|
|
|
|
|
| |
Task-number: QTBUG-13799
Reviewed-by: Martin Jones
|
|
|
|
|
| |
Task-number: QTBUG-13754
Reviewed-by: Martin Jones
|
|
|
|
| |
Reviewed-by: Martin Jones
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Task-number: QTBUG-13038
|
|
|
|
|
|
| |
Update all visible items when layoutChanged() is emitted.
Task-number: QTBUG-13146
|
|
|
|
|
|
| |
QAbstractItemModel calls that for all sorts of reasons.
Task-number: QTBUG-13146
|
|
|
|
|
|
| |
Treated identically to reset.
Task-number: QTBUG-13146
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Remove unused function. Set abstract item model to 0 after disconnecting,
in line with the other model types.
Reviewed-by: Martin Jones
|
|
|
|
| |
...and a set of functional group pages.
|
|
|
|
|
| |
Reviewer: David Boddie
Task number: QTBUG-11938
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Also parent them back to the VIM to ensure correct destruction.
Task-number: QTBUG-12261
|
|
|
|
|
|
|
| |
QDeclarativeVisualDataModel::stringValue() did not handle
QList<QObject*> model types.
Task-number: QTBUG-12005
|
| |
|
|
|
|
| |
Task-number: BAUHAUS-773
|
| |
|
| |
|
|
|
|
| |
other minor doc fixes
|
|
|
|
| |
examples from class docs and improve assorted docs
|
| |
|
| |
|
|
|
|
| |
Also rearrange the parameter order to be more clear.
|
|
|
|
|
|
|
|
| |
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)
|
|\ |
|