This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
VectorSearch/QVectorSearch/mainwindow.h

31 lines
465 B
C
Raw Normal View History

2024-03-19 20:42:32 +00:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
2024-03-20 09:16:46 +00:00
#include <QStringListModel>
2024-03-19 20:42:32 +00:00
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow {
Q_OBJECT
2024-03-20 09:16:46 +00:00
private:
std::vector<std::string> word_list_;
QStringListModel result_model_;
2024-03-19 20:42:32 +00:00
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
2024-03-20 09:16:46 +00:00
private:
void generate_word_list();
2024-03-19 20:42:32 +00:00
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H