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.
|
|
#ifndef __GUI_ADD_DEVICE_DIALOG_HEADER__
#define __GUI_ADD_DEVICE_DIALOG_HEADER__
#include "../guiClass.h"
#include "../../components/object/objectLGS.h"
class DeviceChooser;
class guiAddDeviceDialog : public QDialog{ private: DeviceChooser *m_pParent;
QVBoxLayout *m_pStage3Layout; uint8_t m_nAddSourceDialogStage;
SENSOR_INFO m_sTSensorInfo;
QDialogButtonBox *m_pButtonBox; QTabWidget *m_pDialogTabWidget; QWidget *m_pPage1; QLabel *m_pLabel1; QLabel *m_pLabel2; QLabel *m_pLabel3; QFrame *m_pFrame1; QFrame *m_pFrame2; QSpacerItem *m_pVerticalSpacer; QLabel *m_pLabel4; QWidget *m_pPage2; QWidget *m_pPage3; QWidget *m_pPage4; QWidget *m_pPage5; QWidget *m_pPage6; QPushButton *m_pButtonCmdCancelNet; QPushButton *m_pButtonCmdFinishNet; QPushButton *m_pButtonCmdShowDeviceSettings; QPushButton *m_pButtonCmdStartOnvif; QComboBox *m_pDeviceTypeCombo; QComboBox *m_pSourceTypeCombo; QComboBox *m_pLocalDevicesCombo; QComboBox *m_pDeviceResolutionCombo; QComboBox *m_pScaledResolutionCombo; QComboBox *m_pInputPinCombo;
QFormLayout *m_pStage6Layout; QLabel *m_pPTZProtocolLabel; QLabel *m_pPTZComPortLabel; QLabel *m_pPTZComSpeedLabel; QLabel *m_pPTZCamIDLabel;
QComboBox *m_pPTZProtocolCombo; QComboBox *m_pPTZComPortCombo; QSpinBox *m_pPTZComSpeedBox; QSpinBox *m_pPTZCamIDBox;
QCheckBox *m_pPTZPanEna; QCheckBox *m_pPTZPanReversed; QDoubleSpinBox *m_pPTZPanStartBox; QDoubleSpinBox *m_pPTZPanEndBox;
QCheckBox *m_pPTZTiltEna; QCheckBox *m_pPTZTiltReversed; QDoubleSpinBox *m_pPTZTiltStartBox; QDoubleSpinBox *m_pPTZTiltEndBox; QCheckBox *m_pPTZZoomEna; QDoubleSpinBox *m_pPTZMaxZoomBox; QCheckBox *m_pPTZDZoomEna; QSpinBox *m_pPTZMaxDZoomBox;
QRadioButton *m_p16x9resolution; QRadioButton *m_p4x3resolution; QCheckBox *m_pScalePicture; QVBoxLayout *m_pStage1Layout; QVBoxLayout *m_pStage2Layout; QVBoxLayout *m_pStage4Layout; QHBoxLayout *m_pS2HMLayout; QVBoxLayout *m_pS2VMLayout; QSpacerItem *verticalSpacer; QSpacerItem *horizontalSpacer; QLineEdit *m_pLineText; public: explicit guiAddDeviceDialog( QWidget *parent); ~guiAddDeviceDialog(); public slots: void addSensor(); void cancelDialog(); void setNetworkSourcePath(CSTR Path, CSTR device = NULL, CSTR user = NULL, CSTR pass = NULL); void setDialogStage(uint8_t Stage); void nextDialogStage(); void setDeviceType(int index); void setComType(int index); //void setNetPort(int index);
void setComPort(int index);};
#endif
|