#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H
-#include <QDialog>
+#include <QWidget>
namespace Ui {
class OptionsDialog;
class QValidatedLineEdit;
/** Preferences dialog. */
-class OptionsDialog : public QDialog
+class OptionsDialog : public QWidget
{
Q_OBJECT
protected:
bool eventFilter(QObject *object, QEvent *event);
+ void keyPressEvent(QKeyEvent *);
private slots:
/* enable only apply button */