usbcheckpopupdlg.h 567 Bytes
#ifndef USBCHECKPOPUPDLG_H
#define USBCHECKPOPUPDLG_H

#include <QDialog>
#include <QTimer>
#include <QKeyEvent>

namespace Ui {
class UsbCheckPopupDlg;
}

class UsbCheckPopupDlg : public QDialog
{
    Q_OBJECT

public:
    explicit UsbCheckPopupDlg(QWidget *parent = 0);
    ~UsbCheckPopupDlg();

private slots:
    void on_ctrBtnYes_clicked();
    void usbCheckTimerFired();

protected:
    void keyReleaseEvent(QKeyEvent* event);
    void keyPressEvent(QKeyEvent* event);

private:
    Ui::UsbCheckPopupDlg *ui;
    QTimer *timer;
};

#endif // USBCHECKPOPUPDLG_H