settingsdialog.h 473 B

1234567891011121314151617181920212223242526272829
  1. #ifndef SETTINGSDIALOG_H
  2. #define SETTINGSDIALOG_H
  3. #include <QDialog>
  4. class QMenu;
  5. class QLineEdit;
  6. class QSpinBox;
  7. class SettingsDialog : public QDialog
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit SettingsDialog(QString _path, int _minQueryLength, int _numberOfSuggestions, QWidget *parent = 0);
  12. QLineEdit *path;
  13. QSpinBox *minQueryLength;
  14. QSpinBox *numberOfSuggestions;
  15. signals:
  16. public slots:
  17. private:
  18. QMenu *menu;
  19. };
  20. #endif // SETTINGSDIALOG_H