yesnopopupdlg.h 528 Bytes
#ifndef YESNOPOPUPDLG_H
#define YESNOPOPUPDLG_H

#include <QDialog>
#include <QKeyEvent>

namespace Ui {
class YesNoPopupDlg;
}

class YesNoPopupDlg : public QDialog
{
    Q_OBJECT

public:
    explicit YesNoPopupDlg(QWidget *parent = 0, QString strDesc="");
    ~YesNoPopupDlg();

private slots:
    void on_ctrBtnYes_clicked();

    void on_ctrBtnNo_clicked();

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

private:
    Ui::YesNoPopupDlg *ui;
};

#endif // YESNOPOPUPDLG_H