test: Fix test failure due to unimplemented wrapper method

This commit is contained in:
Sergio Martins
2022-04-28 21:27:32 +01:00
parent a2d17fd0b9
commit 93ccaff407
6 changed files with 23 additions and 13 deletions

View File

@@ -323,3 +323,13 @@ QPoint ViewWrapper_qtwidgets::mapTo(View *someAncestor, QPoint pos) const
{
return m_widget->mapTo(qobject_cast<QWidget *>(someAncestor->asQObject()), pos);
}
bool ViewWrapper_qtwidgets::testAttribute(Qt::WidgetAttribute attr) const
{
return m_widget->testAttribute(attr);
}
void ViewWrapper_qtwidgets::setCursor(Qt::CursorShape cursor)
{
m_widget->setCursor(cursor);
}