#include <PasswordDialogs.hpp>
Public Member Functions | |
| PasswordDialog (Gtk::Window &parent, const Glib::ustring &title) | |
| PasswordDialog (Gtk::Window &parent, const Glib::ustring &title, const PasswordEntry &entry, const std::string &secret) | |
| ~PasswordDialog () override | |
| PasswordEntry | getEntry () const |
| std::string | getSecret () const |
Private Member Functions | |
| void | build () |
| void | fillFrom (const PasswordEntry &entry, const std::string &secret) |
Private Attributes | |
| Gtk::Entry | nameEntry_ |
| Gtk::Entry | usernameEntry_ |
| Gtk::Entry | urlEntry_ |
| Gtk::Entry | tagsEntry_ |
| Gtk::TextView | notesView_ |
| Gtk::Entry | passwordEntry_ |
| Gtk::CheckButton | showPasswordCheck_ |
| Glib::RefPtr< Gtk::TextBuffer > | notesBuffer_ |
Definition at line 28 of file PasswordDialogs.hpp.
| PasswordDialog::PasswordDialog | ( | Gtk::Window & | parent, |
| const Glib::ustring & | title ) |
Definition at line 27 of file PasswordDialogs.cpp.
References build().
Referenced by PasswordManagerPage::onAddClicked().
| PasswordDialog::PasswordDialog | ( | Gtk::Window & | parent, |
| const Glib::ustring & | title, | ||
| const PasswordEntry & | entry, | ||
| const std::string & | secret ) |
Definition at line 33 of file PasswordDialogs.cpp.
References build(), and fillFrom().
|
overridedefault |
References getEntry(), and getSecret().
|
private |
Definition at line 42 of file PasswordDialogs.cpp.
References _, nameEntry_, notesBuffer_, notesView_, passwordEntry_, showPasswordCheck_, tagsEntry_, urlEntry_, and usernameEntry_.
Referenced by PasswordDialog(), and PasswordDialog().
|
private |
Definition at line 97 of file PasswordDialogs.cpp.
References PasswordEntry::name, nameEntry_, PasswordEntry::notes, notesBuffer_, passwordEntry_, PasswordEntry::tags, tagsEntry_, PasswordEntry::url, urlEntry_, PasswordEntry::username, and usernameEntry_.
Referenced by PasswordDialog().
| PasswordEntry PasswordDialog::getEntry | ( | ) | const |
Definition at line 114 of file PasswordDialogs.cpp.
References PasswordEntry::name, nameEntry_, PasswordEntry::notes, notesBuffer_, PasswordEntry::tags, tagsEntry_, PasswordEntry::url, urlEntry_, PasswordEntry::username, and usernameEntry_.
Referenced by ~PasswordDialog().
| std::string PasswordDialog::getSecret | ( | ) | const |
Definition at line 133 of file PasswordDialogs.cpp.
References passwordEntry_.
Referenced by ~PasswordDialog().
|
private |
Definition at line 39 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getEntry().
|
private |
Definition at line 46 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getEntry().
|
private |
Definition at line 43 of file PasswordDialogs.hpp.
Referenced by build().
|
private |
Definition at line 44 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getSecret().
|
private |
Definition at line 45 of file PasswordDialogs.hpp.
Referenced by build().
|
private |
Definition at line 42 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getEntry().
|
private |
Definition at line 41 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getEntry().
|
private |
Definition at line 40 of file PasswordDialogs.hpp.
Referenced by build(), fillFrom(), and getEntry().