aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyDetailsDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-22 05:40:29 +0000
committerSaturneric <[email protected]>2021-05-22 05:40:29 +0000
commitdca700701e034a4862361645030de79e1dfc33e0 (patch)
tree4e2d483d3908be6edaff23320fe633e7255d1c06 /src/ui/keypair_details/KeyDetailsDialog.cpp
parentpopupMenu now Exec When mKeyList HAS item(s) Selected. (diff)
downloadGpgFrontend-dca700701e034a4862361645030de79e1dfc33e0.tar.gz
GpgFrontend-dca700701e034a4862361645030de79e1dfc33e0.zip
Expand and improve GpgKey;
Modify project structure, separate KeyPairDetail from other ui files; Add New Tab and Write the Code for KeyPair Details Dialog; Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyDetailsDialog.cpp (renamed from src/ui/KeyDetailsDialog.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/KeyDetailsDialog.cpp b/src/ui/keypair_details/KeyDetailsDialog.cpp
index 3be333a1..7b09471b 100644
--- a/src/ui/KeyDetailsDialog.cpp
+++ b/src/ui/keypair_details/KeyDetailsDialog.cpp
@@ -22,14 +22,16 @@
*
*/
-#include "ui/KeyDetailsDialog.h"
+#include "ui/keypair_details/KeyDetailsDialog.h"
KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext *ctx, const GpgKey& key, QWidget *parent)
: QDialog(parent) {
tabWidget = new QTabWidget(this);
- tabWidget->addTab(new KeyPairDetailTab(ctx, key, this), tr("KeyPair Details"));
+ tabWidget->addTab(new KeyPairDetailTab(ctx, key, this), tr("KeyPair"));
+ tabWidget->addTab(new KeyPairUIDTab(ctx, key, this), tr("UIDs"));
+ tabWidget->addTab(new KeyPairSubkeyTab(ctx, key, this), tr("Subkeys"));
auto *mainLayout = new QVBoxLayout;
mainLayout->addWidget(tabWidget);
@@ -38,6 +40,4 @@ KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext *ctx, const GpgKey& key, QW
this->setWindowTitle(tr("Key Details"));
this->setModal(true);
this->show();
-
- exec();
} \ No newline at end of file