代码拉取完成,页面将自动刷新
#ifndef NETWORKCAMERACHANNEL2_H
#define NETWORKCAMERACHANNEL2_H
#include <QWidget>
#include <QTimer>
#include <QImage>
#include <QDebug>
#include <QThread>
#include <QLabel>
#include <QTimer>
//#include "MyFFmpeg.h"
//#include "RTSP_Player.h"
//#include "datadictionary.h"
//#include "infoshowlabel.h"
//#include "fullscreenbutton.h"
namespace Ui {
class networkCameraChannel2;
}
class networkCameraChannel2 : public QWidget
{
Q_OBJECT
public:
explicit networkCameraChannel2(QWidget *parent = nullptr);
// static networkCameraChannel2* GetInstance();
~networkCameraChannel2();
void Show(QWidget *parent,int ax = 0, int ay = 0);
void ShowCentre();
void HideCentre();
signals:
void Clicked();
protected:
virtual void resizeEvent(QResizeEvent *event);
private slots:
// void NetCameraShow(QImage Img);
// void PlayerStatus(int Sta);
// void PicLabelRepaint();
// void SystemDataChangeProcess(SystemDataIndex_t);
// void MisDataChange(MisDataIndex_t Index);
// void DisconnectDisplay();
private:
// explicit networkCameraChannel2(QWidget *parent = nullptr);
void BuildUrl();
QString UrlGetIp(QString Str);
private:
Ui::networkCameraChannel2 *ui;
// DataDictionary *m_DataDictionary;
// QTimer *m_Player;
// MyFFmpeg *m_MyFFmpeg;
// QString m_Url;
// RTSP_Player *m_RtspPlayer;
// QThread *m_playThread;
// QTimer *m_RepaintTimer;
// QTimer *m_DisconnectTimer;
// InfoShowLabel *m_InfoShowLabel;
// FullScreenButton *m_FullScreenButton;
// int32_t m_DisplayInterval;
// bool m_Shoting;
};
#endif // NETWORKCAMERACHANNEL2_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。