KeyUIDSignDialog.h
#ifndef GPGFRONTEND_KEYUIDSIGNDIALOG_H
#define GPGFRONTEND_KEYUIDSIGNDIALOG_H
#include "core/GpgContext.h"
#include "ui/GpgFrontendUI.h"
#include "ui/dialog/GeneralDialog.h"
#include "ui/widgets/KeyList.h"
namespace GpgFrontend::UI {
class KeyUIDSignDialog : public GeneralDialog {
Q_OBJECT
public:
explicit KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
QWidget* parent = nullptr);
signals:
void SignalKeyUIDSignUpdate();
private:
KeyList* m_key_list_;
QPushButton* sign_key_button_;
QDateTimeEdit* expires_edit_;
QCheckBox* non_expire_check_;
UIDArgsListPtr m_uids_;
const GpgKey& m_key_;
private slots:
void slot_sign_key(bool clicked);
};
} // namespace GpgFrontend::UI
#endif // GPGFRONTEND_KEYUIDSIGNDIALOG_H
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:52
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyUIDSignDialog::KeyUIDSignDialog
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
GpgFrontend::UI::GeneralDialog
Definition: GeneralDialog.h:35
GpgFrontend::UI::KeyList::AddListGroupTab
void 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;})
Definition: KeyList.cpp:99
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
GpgFrontend::UI::KeyUIDSignDialog
Definition: KeyUIDSignDialog.h:37
GpgFrontend::UI::KeyUIDSignDialog::slot_sign_key
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:106
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:140
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:142
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:144
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
GpgFrontend::GpgKey::IsHasCertificationCapability
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:123
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:146
GpgFrontend::GpgKey
Definition: GpgKey.h:41