haccpdownloaddlg.h 640 Bytes
#ifndef HACCPDOWNLOADDLG_H
#define HACCPDOWNLOADDLG_H

#include <QDialog>

namespace Ui {
class HaccpDownloadDlg;
}

class HaccpDownloadDlg : public QDialog
{
    Q_OBJECT

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

private slots:
    void on_ctrBtnCancel_clicked();

    void on_ctrBtnOk_clicked();

    void keyCancel_clicked();
    void keyEnter_clicked();

    void focusInSpinBox(QWidget *widget);

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

private:
    Ui::HaccpDownloadDlg *ui;
    int m_nFocusValue;
};

#endif // HACCPDOWNLOADDLG_H