Commit Graph

19 Commits

Author SHA1 Message Date
Christiaan Janssen
7d9056953e QmlInspector: Added reparenting of items in the Qml Live Preview. Reviewed by: Lasse Holmstedt 2010-08-26 17:38:42 +02:00
Olivier Goffart
47db341b67 qmlobserver: Remove the changed() hack to get new object.
There is now a hook in QDeclarative itself for that.
Needs commit af2b28f9ca07057 of Qt
2010-08-24 18:16:23 +02:00
Olivier Goffart
ce134d37f7 QmlDebugger: use another way for detecting new objects 2010-08-24 18:16:23 +02:00
Lasse Holmstedt
85bafac50e QML Observer: Refresh debug id's when new objects are created
Previously, the user had to navigate to the context of a qml item in
order to edit its source code in Live Preview mode. This change tells
the client to update when new objects are created on server-side, and
makes the editing possible without having to manually trigger updates.
2010-08-06 14:03:33 +02:00
Lasse Holmstedt
719b775792 QML JS Inspector: Added method to clear component cache
This one should be called when a component is changed and components
using it need to be reloaded.
2010-08-05 11:53:12 +02:00
Lasse Holmstedt
3e9193021c Qml JS Debugger: Change context path from Creator's crumble path 2010-08-03 12:37:45 +02:00
Lasse Holmstedt
524d4453e5 Qml JS Inspector: Added context crumble path as a dock widget
The crumble path shows the current context of the debugger/inspector.
2010-08-02 17:31:11 +02:00
Lasse Holmstedt
689cbc06f1 QmlJS Live Preview: Showing object id's in context menu
To show the object string id's, the debug protocol is used to get them.
The problem is that the required methods in QDeclarativeContext(Data)
are not exposed, and it's too late to do it for 4.7.0. Hence this change
should be reverted in 4.8 when more efficient way of getting the id's
comes available.
2010-07-27 11:58:38 +02:00
Lasse Holmstedt
fb681918c6 QmlJS Live Preview: Added color box to toolbar 2010-07-27 11:58:38 +02:00
Olivier Goffart
f24216bdbb QmlJsDelta: moved to the QMLJS library
Also used 'int' instead of QDeclarativeDebugObjectReference for
the debug id in order not to use the private API from QMLJS
2010-07-21 14:27:38 +02:00
Olivier Goffart
7bef076411 Qml Live Preview: Update the QmlJSLiveTextPreview When the document is reloaded.
When the document is reloaded by the server, we need to refresh
refresh what was the loaded document, and refresh the debugIds
2010-07-20 12:54:24 +02:00
Olivier Goffart
6292f1a5f7 QmlJsDelta: Add ability to remove object 2010-07-19 11:17:43 +02:00
Lasse Holmstedt
a457d2eec3 Live preview: Creating objects dynamically 2010-07-16 10:25:32 +02:00
Tobias Hunger
d747efed52 Fix warnings on windows
* Windows does not like "QObject */* name */", warning about end
   of comment when rtunning into */*.
2010-07-15 14:19:53 +02:00
Lasse Holmstedt
f8fc908460 Updating selection after new tree is fetched & code cleanup 2010-07-14 17:47:59 +02:00
Lasse Holmstedt
4a4fc8584f update object tree when unknown debug id is received 2010-07-14 15:31:24 +02:00
Lasse Holmstedt
46b57ff723 added animation slowdown dropdown menu to toolbar 2010-07-14 15:30:53 +02:00
Lasse Holmstedt
2f8dc2833b added mode buttons to custom qml viewer and qmljsinspector toolbar 2010-07-14 15:30:52 +02:00
Lasse Holmstedt
9a81759101 manually applied changes from qmlinspector to qmljsinspector 2010-07-08 11:36:26 +02:00