The new implementation is based on the QmlJS::Interpreter
meta info system and gets its info from parsing qml and qmldumper
instead of interogating QDeclarative classes.
So we share this code with the Qml TextEditor and this approach is also
way more flexible. It also work with different Qt versions.
The meta info is now bound to a document/rewriter.
The api has changed slightly.
subComponentManager: cleanup
The SubComponentManager does not have to provide meta info, anymore.
propertyParser: cleanup
Enums were never properly converted. here.
metaInfo: remove old MetaInfo classes
Removing the old MetaInfo classes and code
Deleting an items might have a side effect that turns
the qml code invalid. (e. g. alias properties)
We catch this an show a proper error message.
Task-number: QTCREATORBUG-2973
Reviewed-by: Kai Koehne
huge renaming from Qt to QtQuick
propertyeditor qml files moved from Qt to QtQuick
auotests fixed
files used in tests fixed
autotests pass
Task-number: QTCREATORBUG-2556
Reviewed-by: Kai Koehne
ItemLibraryInfo has now a signal "entriesChanged()", which the ItemLibrary
connects to. To allow this, ItemLibraryInfo was moved from a stack-based to
a heap-based class.
Reviewed-by: Thomas Hartmann
imports (in the model) are broken (regression)
Since I rely on working imports in copy and paste broke.
I hardcode 4.7 in this patch!
Reviewed-by: Kai Koehne
If the qml contains an error on frist call of
DesignDocumentController::loadMaster, we did not wire up the components
to the model. If the user then fixed the qml, the Design mode widgets
were 'enabled', but didn't contain any meaningful input.
Fixed by always wiring up the components. Unfortunately this shows the
'default' model with just a Rectangle.
This adds a new "Design" mode that can be used to manipulate qml files
in a visual way. It will only get build if you have the declarativeui
module in Qt.
This is a squashed import from the Bauhaus project. Share & enjoy :)