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.
Showing
- src/plugins/qmljsinspector/qmljsclientproxy.cpp 5 additions, 2 deletionssrc/plugins/qmljsinspector/qmljsclientproxy.cpp
- src/plugins/qmljsinspector/qmljsdesigndebugclient.cpp 34 additions, 0 deletionssrc/plugins/qmljsinspector/qmljsdesigndebugclient.cpp
- src/plugins/qmljsinspector/qmljsdesigndebugclient.h 3 additions, 0 deletionssrc/plugins/qmljsinspector/qmljsdesigndebugclient.h
- src/tools/qml/qmlobserver/editor/abstractformeditortool.cpp 4 additions, 3 deletionssrc/tools/qml/qmlobserver/editor/abstractformeditortool.cpp
- src/tools/qml/qmlobserver/editor/abstractformeditortool.h 1 addition, 1 deletionsrc/tools/qml/qmlobserver/editor/abstractformeditortool.h
- src/tools/qml/qmlobserver/qdeclarativedesigndebugserver.cpp 19 additions, 0 deletionssrc/tools/qml/qmlobserver/qdeclarativedesigndebugserver.cpp
- src/tools/qml/qmlobserver/qdeclarativedesigndebugserver.h 5 additions, 0 deletionssrc/tools/qml/qmlobserver/qdeclarativedesigndebugserver.h
- src/tools/qml/qmlobserver/qdeclarativedesignview.cpp 5 additions, 0 deletionssrc/tools/qml/qmlobserver/qdeclarativedesignview.cpp
- src/tools/qml/qmlobserver/qdeclarativedesignview.h 1 addition, 0 deletionssrc/tools/qml/qmlobserver/qdeclarativedesignview.h
Please register or sign in to comment