diff options
author | Saturneric <[email protected]> | 2021-06-08 15:18:34 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-08 15:18:34 +0000 |
commit | 2df942ceef5ba2dbcc36b0ce820f791900e1e94c (patch) | |
tree | d2a4464caef7c55d6ddd95f114382ab2b6b7c1f8 /src | |
parent | Add encryption and signature function. (diff) | |
download | GpgFrontend-2df942ceef5ba2dbcc36b0ce820f791900e1e94c.tar.gz GpgFrontend-2df942ceef5ba2dbcc36b0ce820f791900e1e94c.zip |
Add Some file.
Diffstat (limited to '')
-rw-r--r-- | src/gpg/result_analyse/SignResultAnalyse.cpp | 35 | ||||
-rw-r--r-- | src/ui/widgets/InfoBoardWidget.cpp | 4 |
2 files changed, 37 insertions, 2 deletions
diff --git a/src/gpg/result_analyse/SignResultAnalyse.cpp b/src/gpg/result_analyse/SignResultAnalyse.cpp new file mode 100644 index 00000000..51ab5a46 --- /dev/null +++ b/src/gpg/result_analyse/SignResultAnalyse.cpp @@ -0,0 +1,35 @@ +/** + * This file is part of GPGFrontend. + * + * GPGFrontend is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Foobar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see <https://www.gnu.org/licenses/>. + * + * The initial version of the source code is inherited from gpg4usb-team. + * Their source code version also complies with GNU General Public License. + * + * The source code version of this software was modified and released + * by Saturneric<[email protected]> starting on May 12, 2021. + * + */ + +#include "gpg/result_analyse/SignResultAnalyse.h" + +SignResultAnalyse::SignResultAnalyse(gpgme_sign_result_t result) { + stream << "Sign Report: " << Qt::endl; + + auto new_sign = result->signatures; + + while(new_sign != nullptr) { + + } +} diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp index daa52d85..0e85e72f 100644 --- a/src/ui/widgets/InfoBoardWidget.cpp +++ b/src/ui/widgets/InfoBoardWidget.cpp @@ -43,7 +43,7 @@ InfoBoardWidget::InfoBoardWidget(QWidget *parent, GpgME::GpgContext *ctx, KeyLis actionButtonLayout = new QHBoxLayout(); auto label = new QLabel("Optional Actions Menu"); - label->setMinimumHeight(25); + label->setMinimumHeight(16); actionButtonLayout->addWidget(label); actionButtonLayout->addStretch(); @@ -86,7 +86,7 @@ void InfoBoardWidget::setInfoBoard(const QString &text, InfoBoardStatus verifyLa QPalette status = infoBoard->palette(); status.setColor(QPalette::Text, color); infoBoard->setPalette(status); - infoBoard->setFont(QFont("Times", 10, QFont::Bold)); + infoBoard->setFont(QFont("Times", 12)); } void InfoBoardWidget::slotRefresh(const QString &text, InfoBoardStatus status) { |