1 #ifndef CAMERASELDLG_H 2 #define CAMERASELDLG_H 3 4 #include <QDialog> 5 #include <QAbstractButton> 6 7 8 namespace Ui { 9 class CameraSelDlg; 10 } 11 12 class CameraSelDlg : public QDialog 13 { 14 Q_OBJECT 15 16 public: 17 explicit CameraSelDlg(QWidget *parent = 0); 18 ~CameraSelDlg(); 19 public slots: 20 void onButtonClicked(QAbstractButton*); 21 void on_pushButtonEnter_clicked(); 22 int GetCameraId(QString QStr); 23 void SelCheckBox(int iCheBoxId); 24 private: 25 void InitCheckBoxStyle(); 26 Ui::CameraSelDlg *ui; 27 int m_iNewCameraId; 28 }; 29 30 #endif // CAMERASELDLG_H 31