新增代码

This commit is contained in:
feiyangqingyun
2021-11-09 20:40:00 +08:00
parent ad847c7065
commit 17b7c88f98
24 changed files with 1269 additions and 451 deletions

View File

@@ -179,7 +179,11 @@ void VideoWidget::resizeEvent(QResizeEvent *)
//flowPanel->setGeometry(borderWidth, this->height() - height - borderWidth, this->width() - (borderWidth * 2), height);
}
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
void VideoWidget::enterEvent(QEnterEvent *)
#else
void VideoWidget::enterEvent(QEvent *)
#endif
{
//这里还可以增加一个判断,是否获取了焦点的才需要显示
//if (this->hasFocus()) {}