17Screen_qt::Screen_qt(
QScreen *screen)
24 return m_screen->name();
27QSize Screen_qt::size()
const
29 return m_screen->size();
32QRect Screen_qt::geometry()
const
34 return m_screen->geometry();
37qreal Screen_qt::devicePixelRatio()
const
39 return m_screen->devicePixelRatio();
42QSize Screen_qt::availableSize()
const
44 return m_screen->availableSize();
47QRect Screen_qt::availableGeometry()
const
49 return m_screen->availableGeometry();
52QSize Screen_qt::virtualSize()
const
54 return m_screen->virtualSize();
57QRect Screen_qt::virtualGeometry()
const
59 return m_screen->virtualGeometry();
62QScreen *Screen_qt::qtScreen()
const
67bool Screen_qt::equals(std::shared_ptr<Screen> other)
const
69 auto otherQt =
static_cast<Screen_qt *
>(other.get());
70 return otherQt && otherQt->m_screen == m_screen;