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
812 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. basicCameraInfo m_pCameraInfo;
  8. basicPTZCameraInfo m_pPTZInfo;
  9. basicCameraPTZ * m_pCamera;
  10. // Controls
  11. QComboBox * m_pSourceType;
  12. QComboBox * m_pControlType;
  13. QComboBox * m_pLocalDevices;
  14. QFileDialog * m_pFileBrowse;
  15. QLineEdit * m_pURI;
  16. QLineEdit * m_pLocalFile;
  17. public:
  18. guiEditCameraDialog();
  19. ~guiEditCameraDialog();
  20. virtual void show( void );
  21. bool attachCamera( basicCameraPTZ *ptr );
  22. private slots:
  23. void handleSourceTypeChange(int index);
  24. void handleControlTypeChange(int index);
  25. void handleFileChoose(void);
  26. };
  27. #endif