Commit Graph

491 Commits

Author SHA1 Message Date
Kai Koehne
90f9346ad3 QmlDesigner: Fix standalone test to use qtcreator 2010-03-18 14:57:37 +01:00
Kai Koehne
e72c892a52 QmlDesigner: Fix typo in autotest output 2010-03-18 14:57:37 +01:00
Kai Koehne
4ca5e42f06 QmlDesigner: Autotest cosmetics 2010-03-18 10:12:27 +01:00
Kai Koehne
434e51c6be QmlDesigner: Disable code referencing QGraphicsWidget from autotest
QGraphicsWidget has been moved to a qml runtime plugin.
2010-03-12 12:41:02 +01:00
Kai Koehne
884ba93bfc QmlProjectManager: Fix autotests 2010-03-12 12:41:02 +01:00
Kai Koehne
c19fe3d7e4 QmlDesigner: Fix autotest compilation 2010-03-12 12:41:02 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Kai Koehne
f20c2095c4 Qml: MouseRegion got renamed to MouseArea
Reviewed-by: Christian Kamm
2010-03-05 10:47:53 +01:00
Kai Koehne
0abf659b36 Let bauhaus core tests compile again
The test case fixed was broken already before, so I couldn't
check whether the fix is actually correct.
2010-02-24 12:13:35 +01:00
Kai Koehne
dd632ee95d Remove qmleditor from list of qml autotests to be compiled
It's notoriously broken.

Reviewed-by: erikv
2010-02-24 12:13:34 +01:00
Kai Koehne
cf7f79483a Fix compilation of QmlDesigner PropertyEditor autotests 2010-02-22 16:37:38 +01:00
Kai Koehne
481d7cd6db QmlProject files: Make "paths" property an array
Instead of letting the list of files being a (comma separated) string
it's now a full JavaScript array. E.g.

  paths: ["file1", "file2"]

This unifies it with e.g. the libraryPaths property
2010-02-22 13:47:11 +01:00
Kai Koehne
43923748f6 Let Bauhaus testcore compile again
Also fixing bunch of failures, still some to go though ...
2010-02-18 12:41:32 +01:00
Kai Koehne
b5646d35da Don't show error message if file added to qmlproject is picked up
Check for the case that a new file to be added to a .qmlproject
is also automatically covered e.g. by a wildcard filter. In this
case we don't have to do anything.
2010-02-17 11:22:37 +01:00
Marco Bubke
f6a06085e0 Change changeNodeType in changeRootNodeType 2010-02-10 13:03:03 +01:00
Bea Lam
e8ec38c1a4 Fix ids that start with uppercase letters that were missed
previously.
2010-02-05 15:42:31 +10:00
Marco Bubke
14a5e068dd Change addChildNode form a methode to a function. 2010-02-04 17:34:54 +01:00
Kai Koehne
8577347446 Add libraryPaths array to Project element (.qmlproject format)
Will be passed to qmlviewer with the "-L" option. Storing this in
the .qmlproject file format itself (and not in the .user file) is useful
in case the libraries are relative/part of the checkout that is shared
between users/computers.
2010-02-03 09:13:53 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Kai Koehne
bafe4468aa Add support for JavaScriptFiles and ImageFiles elements to .qmlproject 2010-01-29 12:15:47 +01:00
Kai Koehne
269506c99c Add new JavaScriptFiles & ImageFiles element to .qmlproject file format 2010-01-29 12:15:47 +01:00
Kai Koehne
10dc30fa13 Add support for 'paths' property in QmlFiles element 2010-01-29 12:13:12 +01:00
Kai Koehne
fc4d82d29d Extend test case to include "." as directory 2010-01-29 12:13:12 +01:00
Kai Koehne
2181a93a1b Let QmlProjectItem return always absolute paths
We're converting the path to absolute ones in QmlProject anyway ...
2010-01-29 12:13:11 +01:00
Kai Koehne
47155f8518 New qml based .qmproject file format 2010-01-29 12:13:11 +01:00
Erik Verbruggen
cf35a0249b Implemented the binding phase for QML.
Done-with: Christian Kamm
2010-01-26 15:20:18 +01:00
Thomas Hartmann
a67718cc40 QmlDesigner.tests: Adding test for RewritingException 2010-01-20 13:14:46 +01:00
Roberto Raggi
c943d8e4f1 Renamed classes and files to use the QmlJS prefix. 2010-01-18 16:59:20 +01:00
Erik Verbruggen
e86f2e6041 Fixed tests and tools to use the qmljs dll/so. 2010-01-18 14:12:44 +01:00
Erik Verbruggen
96e31c2a0f Started merging the JS and QML editor plug-ins. 2010-01-15 17:20:19 +01:00
Erik Verbruggen
8e11f81d96 Gotten rid of dulplicate files, and fixed includes. 2010-01-15 13:39:54 +01:00
Christian Kamm
cbaa9b9fc0 Add lookup for members of builtin types to QmlLookupContext. 2010-01-15 12:23:33 +01:00
Kai Koehne
33ec15b9ab Prevent symbol clashes for qml classes
Fix namespace usage such that all classes in shared/qml live in the
Qml namespace, and classes in QmlDesigner plugin in the QmlDesigner
namespace.

This should prevent any symbol clashes until we can finally get rid
of the file dublicates (e.g. QmlDocument).
2010-01-14 16:32:22 +01:00
Christian Kamm
f82d95f413 Build correct scopes for the lookup test. 2010-01-13 15:40:17 +01:00
Christian Kamm
5e9af2b3e0 Take builtin properties into account for QML lookup tests. 2010-01-13 15:12:34 +01:00
Kai Koehne
85ab6eee45 Add autotest for ModelNode::isAncestorOf 2010-01-12 15:28:36 +01:00
Christian Kamm
06fb416ea7 Add local lookup tests for QmlLookupContext. 2010-01-12 15:01:17 +01:00
Kai Koehne
45f8895e93 Change signature of AbstractView::nodeSlidedToIndex in QmlDesigner
The usage of 'int newIndex' was ambiguous in the case of
oldIndex < newIndex. Solved by directly passing the ModelNode that was
moved around.

'nodeSlidedToIndex' was also renamed to 'nodeOrderChanged', since
'Slided' is no proper English.
2010-01-12 13:59:35 +01:00
Erik Verbruggen
518bdd3b5e Fixed testcase: setting an empty ID should remove the ID. 2010-01-11 14:35:47 +01:00
Erik Verbruggen
7524d91651 Added tests for QmlSymbol and QmlLookupContext. 2010-01-11 13:58:21 +01:00
Kai Koehne
818a7b226b New QmlDesigner plugin & Design mode
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 :)
2010-01-07 12:14:35 +01:00