qml: implement childAt
Added a namespace-level parentWidget() helper, so it works for both widgets and quick
This commit is contained in:
@@ -229,6 +229,11 @@ void QWidgetAdapter::close()
|
||||
}
|
||||
}
|
||||
|
||||
QQuickItem *QWidgetAdapter::childAt(QPoint p) const
|
||||
{
|
||||
return QQuickItem::childAt(p.x(), p.y());
|
||||
}
|
||||
|
||||
void QWidgetAdapter::move(int x, int y)
|
||||
{
|
||||
setX(x);
|
||||
|
||||
Reference in New Issue
Block a user