mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-20 09:56:45 +02:00
gui/SearchWindow: implement dictionary language
This commit is contained in:
parent
3b1ada9cb7
commit
1f8fbfc8ca
2 changed files with 47 additions and 0 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include <QWidget>
|
||||
#include <eoskeygen/key_search_result.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include "MultiSelect.h"
|
||||
|
||||
class SearchWindow : public QWidget, public eoskeygen::IKeySearchResult
|
||||
{
|
||||
|
|
@ -62,6 +63,9 @@ private slots:
|
|||
// Called when a search is done.
|
||||
void searchFinished();
|
||||
|
||||
// Called when dictionary language(s) are selected.
|
||||
void langSelected(QStringList selected);
|
||||
|
||||
signals:
|
||||
void addOutput(const QString& line);
|
||||
|
||||
|
|
@ -72,6 +76,8 @@ private:
|
|||
|
||||
eoskeygen::KeySearch m_ksearch;
|
||||
|
||||
eoskeygen::Dictionary m_dict;
|
||||
|
||||
// Widgets
|
||||
// ----------------
|
||||
|
||||
|
|
@ -89,6 +95,8 @@ private:
|
|||
|
||||
QCheckBox m_leet_cb;
|
||||
|
||||
MultiSelect m_dict_lang;
|
||||
|
||||
// Buttons
|
||||
QPushButton m_btn_exec;
|
||||
QPushButton m_btn_clear;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue