You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
809 B
29 lines
809 B
#ifndef __GUI_EDIT_CAMERA_DIALOG_HEADER__
|
|
#define __GUI_EDIT_CAMERA_DIALOG_HEADER__
|
|
#include "../guiClass.h"
|
|
#include "../../components/base/basicCameraPTZ.h"
|
|
|
|
class guiEditCameraDialog : public QDialog{
|
|
private:
|
|
basicCameraInfo m_pCameraInfo;
|
|
basicPTZCameraInfo m_pPTZInfo;
|
|
basicCameraPTZ * m_pCamera;
|
|
// Controls
|
|
QComboBox * m_pSourceType;
|
|
QComboBox * m_pControlType;
|
|
QComboBox * m_pLocalDevices;
|
|
QFileDialog * m_pFileBrowse;
|
|
QLineEdit * m_pURI;
|
|
QLineEdit * m_pLocalFile;
|
|
public:
|
|
guiEditCameraDialog();
|
|
~guiEditCameraDialog();
|
|
virtual void show( void );
|
|
bool attachCamera( basicCameraPTZ *ptr );
|
|
private slots:
|
|
void handleSourceTypeChange(int index);
|
|
void handleControlTypeChange(int index);
|
|
void handleFileChoose(void);
|
|
};
|
|
|
|
#endif
|