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.

28 lines
759 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __GUI_EDIT_CAMERA_DIALOG_HEADER__
  2. #define __GUI_EDIT_CAMERA_DIALOG_HEADER__
  3. #include "../guiClass.h"
  4. #include "../../components/base/basicCameraPTZ.h"
  5. class guiEditCameraDialog : public QDialog{
  6. private:
  7. SOURCE_INFO m_sInfo;
  8. basicCameraPTZ * m_pCamera;
  9. // Controls
  10. QComboBox * m_pSourceType;
  11. QComboBox * m_pControlType;
  12. QComboBox * m_pLocalDevices;
  13. QFileDialog * m_pFileBrowse;
  14. QLineEdit * m_pURI;
  15. QLineEdit * m_pLocalFile;
  16. public:
  17. guiEditCameraDialog();
  18. ~guiEditCameraDialog();
  19. virtual void show( void );
  20. bool attachCamera( basicCameraPTZ *ptr );
  21. private slots:
  22. void handleSourceTypeChange(int index);
  23. void handleControlTypeChange(int index);
  24. void handleFileChoose(void);
  25. };
  26. #endif