You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
667 B
C++

#ifndef QTPCAMERA_H
#define QTPCAMERA_H
#include <QtWidgets\qwidget.h>
#include "QTpPicture.h"
#include "QTpLabel.h"
#include <QtCore\qjsonobject.h>
#define QTPCAMERA_NAME_PREFIX "QTpCamera_"
class QTpCamera : public QWidget
{
Q_OBJECT
public:
QTpCamera(const QString& wdgName, const QJsonObject& jsonCamera, QWidget *parent);
virtual ~QTpCamera();
void SetTitle(const QString& titile);
//QString GetShowName() {
// return m_strShowName;
//}
QTpPicture* PictureWidget() {
return m_pPicture;
}
private:
QTpLabel* m_pTitle;
QTpPicture* m_pPicture;
QString m_strShowName;
};
#endif // QTPCAMERA_H