tests: Port some QWindow based utils to Window::Ptr
So it doesn't depend on Qt
This commit is contained in:
@@ -101,4 +101,14 @@ bool Window_qt::isActive() const
|
||||
QSize Window_qt::size() const
|
||||
{
|
||||
return m_window->size();
|
||||
}
|
||||
}
|
||||
|
||||
QPoint Window_qt::mapFromGlobal(QPoint globalPos) const
|
||||
{
|
||||
return m_window->mapFromGlobal(globalPos);
|
||||
}
|
||||
|
||||
QPoint Window_qt::mapToGlobal(QPoint localPos) const
|
||||
{
|
||||
return m_window->mapToGlobal(localPos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user