#include <PasswordVaultView.hpp>
Public Member Functions | |
| PasswordVaultView (Gtk::Window &parent, PasswordVault &vault) | |
| ~PasswordVaultView () | |
| void | present () |
Private Member Functions | |
| void | buildUi () |
| void | styleExportButton () |
| void | populate (const std::string &filter="") |
| void | onSearchChanged () |
| void | onExportClicked () |
| void | showEntryDetail (const PasswordEntry &entry) |
Private Attributes | |
| Gtk::Window & | parent_ |
| PasswordVault & | vault_ |
| Gtk::Dialog * | dialog_ = nullptr |
| Gtk::Box | toolBar_ |
| Gtk::SearchEntry | searchEntry_ |
| Gtk::Button | exportBtn_ |
| Gtk::Label | countLabel_ |
| Gtk::ListBox | list_ |
| Gtk::ScrolledWindow | scrolled_ |
| std::vector< PasswordEntry > | entries_ |
Definition at line 28 of file PasswordVaultView.hpp.
|
explicit |
Definition at line 27 of file PasswordVaultView.cpp.
References _, buildUi(), dialog_, exportBtn_, parent_, toolBar_, and vault_.
Referenced by PasswordManagerPage::onVaultViewClicked().
| PasswordVaultView::~PasswordVaultView | ( | ) |
Definition at line 38 of file PasswordVaultView.cpp.
References dialog_.
|
private |
Definition at line 49 of file PasswordVaultView.cpp.
References _, countLabel_, dialog_, exportBtn_, list_, onExportClicked(), onSearchChanged(), scrolled_, searchEntry_, styleExportButton(), and toolBar_.
Referenced by PasswordVaultView().
|
private |
Definition at line 238 of file PasswordVaultView.cpp.
References _, dialog_, entries_, exportBtn_, PasswordVault::exportToCSV(), and vault_.
Referenced by buildUi().
|
private |
Definition at line 185 of file PasswordVaultView.cpp.
References populate(), and searchEntry_.
Referenced by buildUi().
|
private |
Definition at line 133 of file PasswordVaultView.cpp.
References _, countLabel_, entries_, list_, and showEntryDetail().
Referenced by onSearchChanged(), and present().
| void PasswordVaultView::present | ( | ) |
Definition at line 42 of file PasswordVaultView.cpp.
References dialog_, entries_, PasswordVault::loadIndex(), populate(), and vault_.
|
private |
Definition at line 190 of file PasswordVaultView.cpp.
References _, PasswordEntry::created_at, PasswordVault::getSecretAsync(), PasswordEntry::id, PasswordEntry::name, PasswordEntry::notes, PasswordEntry::updated_at, PasswordEntry::url, PasswordEntry::username, and vault_.
Referenced by populate().
|
private |
Definition at line 116 of file PasswordVaultView.cpp.
References exportBtn_.
Referenced by buildUi().
|
private |
Definition at line 42 of file PasswordVaultView.hpp.
Referenced by buildUi(), and populate().
|
private |
Definition at line 38 of file PasswordVaultView.hpp.
Referenced by buildUi(), onExportClicked(), PasswordVaultView(), present(), and ~PasswordVaultView().
|
private |
Definition at line 45 of file PasswordVaultView.hpp.
Referenced by onExportClicked(), populate(), and present().
|
private |
Definition at line 41 of file PasswordVaultView.hpp.
Referenced by buildUi(), onExportClicked(), PasswordVaultView(), and styleExportButton().
|
private |
Definition at line 43 of file PasswordVaultView.hpp.
Referenced by buildUi(), and populate().
|
private |
Definition at line 36 of file PasswordVaultView.hpp.
Referenced by PasswordVaultView().
|
private |
Definition at line 44 of file PasswordVaultView.hpp.
Referenced by buildUi().
|
private |
Definition at line 40 of file PasswordVaultView.hpp.
Referenced by buildUi(), and onSearchChanged().
|
private |
Definition at line 39 of file PasswordVaultView.hpp.
Referenced by buildUi(), and PasswordVaultView().
|
private |
Definition at line 37 of file PasswordVaultView.hpp.
Referenced by onExportClicked(), PasswordVaultView(), present(), and showEntryDetail().