| 215 | } |
| 216 | |
| 217 | int 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 | |
| 229 | void CFrmPlayer::slotStart(bool bStart) |
| 230 | { |
nothing calls this directly
no outgoing calls
no test coverage detected