MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / AdjustCompone

Method AdjustCompone

Plugins/Player/FrmPlayer.cpp:217–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217int CFrmPlayer::AdjustCompone(const QSize &s)
218{
219 m_VideoWidget.move(0, 0);
220 QRect rect(0, 0, s.width(), s.height() - m_ToolBar.frameGeometry().height());
221 m_VideoWidget.setGeometry(rect);
222 int left = 0;
223 int top = s.height() - m_ToolBar.frameGeometry().height();
224 m_ToolBar.move(left, top);
225 m_ToolBar.resize(s.width(), m_ToolBar.height());
226 return 0;
227}
228
229void CFrmPlayer::slotStart(bool bStart)
230{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected