|
void | slot_double_clicked (const QModelIndex &index) |
|
void | slot_refresh_ui () |
|
void | slot_sync_with_key_server () |
|
|
void | init () |
|
void | import_keys (const QByteArray &inBuffer) |
|
void | uncheck_all () |
|
void | check_all () |
|
|
std::mutex | buffered_key_list_mutex_ |
|
std::shared_ptr< Ui_KeyList > | ui_ |
|
QTableWidget * | m_key_list_ {} |
|
std::vector< KeyTable > | m_key_tables_ |
|
QMenu * | popup_menu_ {} |
|
GpgFrontend::KeyLinkListPtr | buffered_keys_list_ |
|
std::function< void(const GpgKey &, QWidget *)> | m_action_ = nullptr |
|
KeyMenuAbility::AbilityType | menu_ability_ = KeyMenuAbility::ALL |
|
◆ KeyList()
GpgFrontend::UI::KeyList::KeyList |
( |
KeyMenuAbility::AbilityType |
menu_ability, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
Construct a new Key List object.
- Parameters
-
◆ AddListGroupTab()
void GpgFrontend::UI::KeyList::AddListGroupTab |
( |
const QString & |
name, |
|
|
KeyListRow::KeyType |
selectType = KeyListRow::SECRET_OR_PUBLIC_KEY , |
|
|
KeyListColumn::InfoType |
infoType = KeyListColumn::ALL , |
|
|
const std::function< bool(const GpgKey &)> & |
filter = [](const GpgKey&) -> bool { return true; } |
|
) |
| |
◆ AddMenuAction()
void GpgFrontend::UI::KeyList::AddMenuAction |
( |
QAction * |
act | ) |
|
◆ ContainsPrivateKeys()
bool GpgFrontend::UI::KeyList::ContainsPrivateKeys |
( |
| ) |
|
◆ contextMenuEvent()
void GpgFrontend::UI::KeyList::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
overrideprotected |
◆ dragEnterEvent()
void GpgFrontend::UI::KeyList::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotected |
◆ dropEvent()
void GpgFrontend::UI::KeyList::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
◆ GetAllPrivateKeys()
KeyIdArgsListPtr GpgFrontend::UI::KeyList::GetAllPrivateKeys |
( |
| ) |
|
Get the All Private Keys object.
- Returns
- KeyIdArgsListPtr
◆ GetChecked() [1/2]
KeyIdArgsListPtr GpgFrontend::UI::KeyList::GetChecked |
( |
| ) |
|
◆ GetChecked() [2/2]
KeyIdArgsListPtr GpgFrontend::UI::KeyList::GetChecked |
( |
const KeyTable & |
key_table | ) |
|
|
static |
Get the Checked object.
- Parameters
-
- Returns
- KeyIdArgsListPtr
◆ GetPrivateChecked()
KeyIdArgsListPtr GpgFrontend::UI::KeyList::GetPrivateChecked |
( |
| ) |
|
◆ GetSelected()
KeyIdArgsListPtr GpgFrontend::UI::KeyList::GetSelected |
( |
| ) |
|
◆ GetSelectedKey()
std::string GpgFrontend::UI::KeyList::GetSelectedKey |
( |
| ) |
|
Get the Selected Key object.
- Returns
- std::string
◆ import_keys()
void GpgFrontend::UI::KeyList::import_keys |
( |
const QByteArray & |
inBuffer | ) |
|
|
private |
◆ MarkKeys()
void GpgFrontend::UI::KeyList::MarkKeys |
( |
QStringList * |
keyIds | ) |
|
|
static |
- Parameters
-
set background color for Keys and put them to top
◆ SetChecked() [1/2]
void GpgFrontend::UI::KeyList::SetChecked |
( |
const KeyIdArgsListPtr & |
keyIds, |
|
|
const KeyTable & |
key_table |
|
) |
| |
|
static |
Set the Checked object.
- Parameters
-
◆ SetChecked() [2/2]
void GpgFrontend::UI::KeyList::SetChecked |
( |
KeyIdArgsListPtr |
key_ids | ) |
|
◆ SetColumnWidth()
void GpgFrontend::UI::KeyList::SetColumnWidth |
( |
int |
row, |
|
|
int |
size |
|
) |
| |
Set the Column Width object.
- Parameters
-
◆ SetDoubleClickedAction()
void GpgFrontend::UI::KeyList::SetDoubleClickedAction |
( |
std::function< void(const GpgKey &, QWidget *)> |
action | ) |
|
◆ SignalRefreshStatusBar
void GpgFrontend::UI::KeyList::SignalRefreshStatusBar |
( |
const QString & |
message, |
|
|
int |
timeout |
|
) |
| |
|
signal |
◆ slot_double_clicked
void GpgFrontend::UI::KeyList::slot_double_clicked |
( |
const QModelIndex & |
index | ) |
|
|
privateslot |
The documentation for this class was generated from the following files:
- src/ui/widgets/KeyList.h
- src/ui/widgets/KeyList.cpp