Christian Kamm
f717a7df30
Add Qml type checks for assigning literals to properties.
...
Done-with: Erik Verbruggen
2010-02-23 12:36:48 +01:00
Christian Kamm
b1522ba5c8
Fix semantic checks not being applied to the Qml root object.
...
By always setting the scope object, even if it is identical to the root
object.
Done-with: Erik Verbruggen
2010-02-23 12:36:48 +01:00
Kai Koehne
3f18859252
Fix compilation for latest qt/master
...
QmlList has been replaced by QmlListProperty (33eb76f050b45718d87926).
Patch provided by Aaron Kennedy.
Reviewed-by: akennedy
2010-02-23 10:41:13 +01:00
Tobias Hunger
ea007592bc
Qt versions are different if the dislayname does not match
...
* Fixes update of Qt version name whne renaming a Qt version.
2010-02-22 18:23:14 +01:00
Jens Bache-Wiig
7b41c53bb3
Did some modifications to the sidebar
...
This removes the extra line at the bottom of the window on the mac.
This also decreases the contrast of shadows and highlights a bit.
2010-02-22 18:15:52 +01:00
Tobias Hunger
d8016ef8aa
Disable Project Mode if no projects are loaded
2010-02-22 18:07:21 +01:00
Tobias Hunger
b492c264fa
Sort targets on displayname in project mode
...
Reviewed-by: con
2010-02-22 18:07:21 +01:00
Tobias Hunger
b2636e9b85
Add method to insert into targetselector
...
... and make that available through the targetsettingswidget,
too.
Reviewed-by: con
2010-02-22 18:07:20 +01:00
Tobias Hunger
35bcc49bdf
Sort targets in miniprojecttargetselector
...
... based on their display names
Reviewed-by: Daniel Molkentin
2010-02-22 18:07:20 +01:00
Tobias Hunger
e61c8238fb
Sort target names in combobox
...
* In the addtargetdialog: Sort targets based on their display
name when putting them into the combobox.
2010-02-22 18:07:19 +01:00
Tobias Hunger
b1e2a2075e
Disable target selection combobox if necessary
...
* Set the first target to active in the addtargetdialog's
target selection combobox
* Disable the combobox if there is only one element in it.
2010-02-22 18:07:19 +01:00
Erik Verbruggen
72c3ba791e
Fixed pre-processor handling for Q_PROPERTY, Q_ENUMS and Q_FLAGS.
2010-02-22 18:00:26 +01:00
Erik Verbruggen
2fee6b8a46
Fixed QTCREATORBUG-743
2010-02-22 17:34:06 +01:00
Erik Verbruggen
7669a36bf0
Fixed compilation issue on Mac.
2010-02-22 17:16:27 +01:00
Kai Koehne
dfa7f8093e
Fix qmldesigner autotests
...
The registration of the qml items have been recently moved from a static
context into QmlGraphicsItemModule::initialization . The Bauhaus Metainfo
initialization now ensures that this method is called first by
instantating a QmlEngine.
2010-02-22 16:37:38 +01:00
Kai Koehne
faf2df28e1
Rename tools/qmldesigner to tools/qml
2010-02-22 16:37:38 +01:00
Kai Koehne
fbaa311d2a
Remove reduce_exports / hide_symbols qmake magic
...
It's defined in qtcreator_plugin.pri anyway
2010-02-22 16:37:38 +01:00
Friedemann Kleint
c7281d52d1
Compile Windows.
2010-02-22 16:04:26 +01:00
Thomas Hartmann
6170872b3a
QmlDesigner.propertyEditor: refactoring propertyeditor.cpp
2010-02-22 16:02:11 +01:00
Thomas Hartmann
4392c112c2
QmlDesigner: fixes viewlogger for Windows
2010-02-22 16:02:05 +01:00
Friedemann Kleint
7d3d9cad32
Fix code model indexing crash on Mac.
...
Introduce multithread-locking to Core::MimeDatabase as it is
invoked from the indexer thread to sort apart headers and sources.
Add a convenience to operate on a sequence to avoid locking for each
file.
2010-02-22 16:00:47 +01:00
Kai Koehne
07bdbe04c7
Only compile QmlDesigner plugin if private headers are installed
2010-02-22 15:32:22 +01:00
Kai Koehne
0685cf6ced
Clean up INCLUDEPATH of qmldesigner
2010-02-22 15:32:07 +01:00
Kai Koehne
58ddddb7a8
Remove OpenGL dependency from core configuration
...
The code using OpenGL has already been removed in b6460f9251
2010-02-22 15:13:53 +01:00
Jens Bache-Wiig
f331f3322b
Mor polish for the sidebar
2010-02-22 14:38:18 +01:00
Jens Bache-Wiig
b90cd35b6f
Fix a hover bug with the sidebar
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
1ea114b414
Make the panel action sunken when panel is open
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
41885a192d
Fixed an animation glitch with the sidebar
...
We need to kill the fadeins before fading out.
Otherwise we might get into weird states.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
0dccaf45a2
Updated hover and pressed appearance for sidebar
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
bd2ba2307b
Improve responsiveness of the sidebar
...
I added a zerotimer to make the sidebar emit
currentChanged only after it has been updated as
pressed.
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
54b2ab7190
Color tweaks
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
7899a2733b
Animate sidebar tabs independently
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
915923a17c
Clean up sidebar tabs
...
Killed the divider lines for improved aestetics
Made the hover a bit more subtle
2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
015ffe2835
Some polish for the actionbar
...
* I have simplified and animated the tool buttons a bit.
* The panel has been replaced by a very basic clean panel.
* The tool buttons have been animated.
2010-02-22 14:36:45 +01:00
con
5321b38d51
Remove debug output.
2010-02-22 14:32:11 +01:00
con
36c63dabe7
Add a "System Editor" external editor, for use with Open with...
2010-02-22 14:30:57 +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
Tobias Hunger
5e5192ad57
Fix CMake projects
...
* Fix initial setup of .user-files in CMake projects
Reviewed-by: dt
2010-02-22 12:24:28 +01:00
Tobias Hunger
4cd5cb0eab
Save debug server settings in QML RunConfiguration
...
Reviewed-by: Kai Koehne
2010-02-22 12:24:28 +01:00
Christian Kamm
b8a73d1e18
Fix compile error with msvc.
2010-02-22 12:01:55 +01:00
Thorbjørn Lindeijer
22ace5fcaf
Disable links to QML errors when compiling against Qt 4.6
...
This feature depends on the availability of QPlainTextEdit::anchorAt.
2010-02-22 12:00:16 +01:00
Thorbjørn Lindeijer
c46f977361
Make the file name in QML runtime errors a link to its location
...
Just click it to jump to the location of the error.
Task-number: QTCREATORBUG-580
2010-02-22 11:38:06 +01:00
Christian Kamm
fcb6c4984e
Fix a memory leak with the QmlJS scope chain.
2010-02-22 11:21:25 +01:00
Tobias Hunger
28e348ace6
Fix compile on windows
2010-02-22 11:06:05 +01:00
Friedemann Kleint
6782d848c1
GnuPoc: Do create pre-parsed pkg-file.
2010-02-22 11:03:04 +01:00
Christian Kamm
8d14f18ec0
Add an accessor to get the flat scope list from ScopeChain.
...
Done-with: Erik Verbruggen
2010-02-22 10:22:23 +01:00
Christian Kamm
e9039db984
Move the scope building logic into QmlJS::ScopeBuilder.
2010-02-22 10:22:23 +01:00
Christian Kamm
08cfc8f28c
Pass in the whole AST path for scope creation.
...
Just the declaring member isn't enough.
2010-02-22 10:22:23 +01:00
Christian Kamm
8274197366
Implement function to get the QmlJS AST path to a given location.
...
Will be useful for improved scope chain building.
2010-02-22 10:22:23 +01:00
Christian Kamm
c289897351
Make QmlJS scope building more flexible.
...
Instead of only maintaining a flat list of scopes, actually store the
global, component chain, root object, scope object, function, id and js
scopes separately.
2010-02-22 10:22:23 +01:00