#ifndef QTPCAMERA_H #define QTPCAMERA_H #include #include "QTpPicture.h" #include "QTpLabel.h" #include #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