QmlJS Live Preview: Implemented "Apply changes from Qml File" button

The button is checkable and pressing it will stop/propagate changes to
the qml application being debugged.
This commit is contained in:
Lasse Holmstedt
2010-07-26 11:59:59 +02:00
parent 70f2243bde
commit c7a8d93765
7 changed files with 65 additions and 23 deletions

View File

@@ -166,6 +166,7 @@ void InspectorPlugin::extensionsInitialized()
connect(m_toolbar, SIGNAL(zoomToolSelected()), _clientProxy, SLOT(changeToZoomTool()));
connect(m_toolbar, SIGNAL(selectToolSelected()), _clientProxy, SLOT(changeToSelectTool()));
connect(m_toolbar, SIGNAL(marqueeSelectToolSelected()), _clientProxy, SLOT(changeToSelectMarqueeTool()));
connect(m_toolbar, SIGNAL(applyChangesFromQmlFileTriggered(bool)), _inspector, SLOT(setApplyChangesToQmlObserver(bool)));
connect(_clientProxy, SIGNAL(colorPickerActivated()), m_toolbar, SLOT(activateColorPicker()));
connect(_clientProxy, SIGNAL(selectToolActivated()), m_toolbar, SLOT(activateSelectTool()));