更新遥控器画面
This commit is contained in:
@@ -170,6 +170,8 @@ void P10_IntelligentPage::on_But_Reduce_clicked()
|
||||
// 接收新视频帧,转换为QPixmap并显示
|
||||
void P10_IntelligentPage::onFrameReady(const QImage &frame)
|
||||
{
|
||||
if(gPageIndexStr != "P10")
|
||||
return;
|
||||
if (frame.isNull()) return; // 过滤空帧,避免无效操作
|
||||
|
||||
// 缩放帧图像(保持宽高比,填充Label,平滑缩放)
|
||||
|
||||
Reference in New Issue
Block a user