mirror of
https://github.com/vgough/encfs.git
synced 2025-01-05 05:29:33 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
38 lines
704 B
C++
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
|