forked from qt-creator/qt-creator
QmlDesigner Connection View signals fixes
Bug: QDS-1333 Change-Id: Ic0d4206888bd8c5bd3d5cef29225441f19efa59d Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -108,6 +108,8 @@ void ConnectionView::propertiesAboutToBeRemoved(const QList<AbstractProperty> &
|
||||
dynamicPropertiesModel()->bindingRemoved(property.toBindingProperty());
|
||||
} else if (property.isVariantProperty()) {
|
||||
//### dynamicPropertiesModel->bindingRemoved(property.toVariantProperty());
|
||||
} else if (property.isSignalHandlerProperty()) {
|
||||
connectionModel()->removeRowFromTable(property.toSignalHandlerProperty());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -180,6 +182,11 @@ bool ConnectionView::hasWidget() const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ConnectionView::isWidgetEnabled()
|
||||
{
|
||||
return widgetInfo().widget->isEnabled();
|
||||
}
|
||||
|
||||
QTableView *ConnectionView::connectionTableView() const
|
||||
{
|
||||
return connectionViewWidget()->connectionTableView();
|
||||
|
||||
Reference in New Issue
Block a user