diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-03-23 12:39:19 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2012-03-26 11:39:11 +0200 |
commit | f14dffe68143b89405ba2616986dac52ae29cb0f (patch) | |
tree | 4dfac517fe7159a05d53ab750e17987552cbb5f8 /src/plugins/qmljsinspector/qmljsinspector.cpp | |
parent | ebeb5b7f4901efc228f8db9cbca8d25ffa540dbb (diff) | |
download | qt-creator-f14dffe68143b89405ba2616986dac52ae29cb0f.tar.gz |
QmlJSInspector: Remove Color Picker Tool
Change-Id: Ic1a158f3e96052fcf30071ec827c23a4a83625f5
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/qmljsinspector/qmljsinspector.cpp')
-rw-r--r-- | src/plugins/qmljsinspector/qmljsinspector.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/plugins/qmljsinspector/qmljsinspector.cpp b/src/plugins/qmljsinspector/qmljsinspector.cpp index 9fef93c421..ecc32a32f8 100644 --- a/src/plugins/qmljsinspector/qmljsinspector.cpp +++ b/src/plugins/qmljsinspector/qmljsinspector.cpp @@ -720,20 +720,6 @@ void InspectorUi::gotoObjectReferenceDefinition(const QmlDebugObjectReference &o } } -bool InspectorUi::addQuotesForData(const QVariant &value) const -{ - switch (value.type()) { - case QVariant::String: - case QVariant::Color: - case QVariant::Date: - return true; - default: - break; - } - - return false; -} - void InspectorUi::setupDockWidgets() { Debugger::DebuggerMainWindow *mw = Debugger::DebuggerPlugin::mainWindow(); @@ -877,8 +863,6 @@ void InspectorUi::connectSignals() connect(m_clientProxy, SIGNAL(disconnected()), this, SLOT(disable())); - connect(m_clientProxy, SIGNAL(colorPickerActivated()), - m_toolBar, SLOT(activateColorPicker())); connect(m_clientProxy, SIGNAL(selectToolActivated()), m_toolBar, SLOT(activateSelectTool())); connect(m_clientProxy, SIGNAL(zoomToolActivated()), @@ -887,8 +871,6 @@ void InspectorUi::connectSignals() m_toolBar, SLOT(setDesignModeBehavior(bool))); connect(m_clientProxy, SIGNAL(showAppOnTopChanged(bool)), m_toolBar, SLOT(setShowAppOnTop(bool))); - connect(m_clientProxy, SIGNAL(selectedColorChanged(QColor)), - m_toolBar, SLOT(setSelectedColor(QColor))); connect(m_clientProxy, SIGNAL(animationSpeedChanged(qreal)), m_toolBar, SLOT(setAnimationSpeed(qreal))); connect(m_clientProxy, SIGNAL(animationPausedChanged(bool)), @@ -905,8 +887,6 @@ void InspectorUi::connectSignals() m_clientProxy, SLOT(setAnimationSpeed(qreal))); connect(m_toolBar, SIGNAL(animationPausedChanged(bool)), m_clientProxy, SLOT(setAnimationPaused(bool))); - connect(m_toolBar, SIGNAL(colorPickerSelected()), - m_clientProxy, SLOT(changeToColorPickerTool())); connect(m_toolBar, SIGNAL(zoomToolSelected()), m_clientProxy, SLOT(changeToZoomTool())); connect(m_toolBar, SIGNAL(selectToolSelected()), |