diff options
Diffstat (limited to 'src/listdialog.h')
| -rw-r--r-- | src/listdialog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/listdialog.h b/src/listdialog.h new file mode 100644 index 00000000..7b5a5461 --- /dev/null +++ b/src/listdialog.h @@ -0,0 +1,29 @@ +#ifndef LISTDIALOG_H +#define LISTDIALOG_H + +#include <QDialog> + +namespace Ui { +class ListDialog; +} + +class ListDialog : public QDialog +{ + Q_OBJECT + +public: + explicit ListDialog(QWidget *parent = nullptr); + ~ListDialog(); + + void setChoices(QStringList choices); + QString getChoice() const; + +public slots: + void on_filterEdit_textChanged(QString filter); + +private: + Ui::ListDialog *ui; + QStringList m_Choices; +}; + +#endif // LISTDIALOG_H |
