encfs/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/mainwindow.hh
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

38 lines
704 B
C++

#ifndef MAINWINDOW_HH
#define MAINWINDOW_HH
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class ListWithSearch;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
/**
* Loads memory from list of words provided as param.
* Note, in the source file, this function has performance tracking on.
*/
void initializeDictionary(const QString& wordsFile);
void resizeEvent(QResizeEvent *);
public slots:
void onSelectionMade(const QString& word);
private slots:
void on_buttonInfo_clicked();
private:
Ui::MainWindow* ui;
ListWithSearch* list;
};
#endif // MAINWINDOW_HH