GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Typedefs | |
using | OperaWaitingHd = std::function< void()> |
using | OperaWaitingCb = const std::function< void(OperaWaitingHd)> |
Enumerations | |
enum | InfoBoardStatus { INFO_ERROR_OK = 0 , INFO_ERROR_WARN = 1 , INFO_ERROR_CRITICAL = 2 , INFO_ERROR_NEUTRAL = 3 } |
Functions | |
auto | FindTopMostWindow (QWidget *fallback) -> QWidget * |
void | InitUITranslations () |
setup the locale and load the translations | |
void | WaitEnvCheckingProcess () |
void | PreInitGpgFrontendUI () |
void | InitGpgFrontendUI (QApplication *) |
init the UI library | |
auto | RunGpgFrontendUI (QApplication *) -> int |
run main window | |
void GPGFRONTEND_UI_EXPORT | DestroyGpgFrontendUI () |
init the UI library | |
void | show_verify_details (QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &verify_result) |
void | import_unknown_key_from_keyserver (QWidget *parent, const GpgVerifyResultAnalyse &verify_res) |
void | refresh_info_board (InfoBoardWidget *info_board, int status, const QString &report_text) |
void | process_result_analyse (TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse) |
void | process_result_analyse (TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse_a, const GpgResultAnalyse &result_analyse_b) |
void | process_operation (QWidget *parent, const QString &waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, DataObjectPtr data_object) |
auto | BinaryToString (const QByteArray &source) -> QString |
Variables | |
constexpr size_t | kBufferSize = 8192 |
QList< QTranslator * > | registered_translators |
Copyright (C) 2021 Saturneric eric@ bktu s.com
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.
GpgFrontend 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 GpgFrontend. If not, see https://www.gnu.org/licenses/.
The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.
All the source code of GpgFrontend was modified and released by Saturneric eric@ starting on May 12, 2021. bktu s.com
SPDX-License-Identifier: GPL-3.0-or-later
Enumeration for the status of Verify label
void GpgFrontend::UI::import_unknown_key_from_keyserver | ( | QWidget * | parent, |
const GpgVerifyResultAnalyse & | verify_res | ||
) |
parent | |
verify_res |
References GpgFrontend::GpgVerifyResultAnalyse::GetSignatures().
void GpgFrontend::UI::process_operation | ( | QWidget * | parent, |
const QString & | waiting_title, | ||
Thread::Task::TaskRunnable | func, | ||
Thread::Task::TaskCallback | callback = nullptr , |
||
DataObjectPtr | data_object = nullptr |
||
) |
parent | |
waiting_title | |
func |
References GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance().
void GpgFrontend::UI::process_result_analyse | ( | TextEdit * | edit, |
InfoBoardWidget * | info_board, | ||
const GpgResultAnalyse & | result_analyse | ||
) |
edit | |
info_board | |
result_analyse |
References GpgFrontend::UI::InfoBoardWidget::AssociateTabWidget(), GpgFrontend::GpgResultAnalyse::GetResultReport(), GpgFrontend::GpgResultAnalyse::GetStatus(), and refresh_info_board().
Referenced by GpgFrontend::UI::MainWindow::SlotArchiveDecrypt(), GpgFrontend::UI::MainWindow::SlotArchiveDecryptVerify(), GpgFrontend::UI::MainWindow::SlotDecrypt(), GpgFrontend::UI::MainWindow::SlotDecryptVerify(), GpgFrontend::UI::MainWindow::SlotDirectoryEncryptSign(), GpgFrontend::UI::MainWindow::SlotEncrypt(), GpgFrontend::UI::MainWindow::SlotEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileDecrypt(), GpgFrontend::UI::MainWindow::SlotFileDecryptVerify(), GpgFrontend::UI::MainWindow::SlotFileEncrypt(), GpgFrontend::UI::MainWindow::SlotFileEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileSign(), GpgFrontend::UI::MainWindow::SlotFileVerify(), GpgFrontend::UI::MainWindow::SlotSign(), and GpgFrontend::UI::MainWindow::SlotVerify().
void GpgFrontend::UI::process_result_analyse | ( | TextEdit * | edit, |
InfoBoardWidget * | info_board, | ||
const GpgResultAnalyse & | result_analyse_a, | ||
const GpgResultAnalyse & | result_analyse_b | ||
) |
edit | |
info_board | |
result_analyse_a | |
result_analyse_b |
References GpgFrontend::UI::InfoBoardWidget::AssociateTabWidget(), GpgFrontend::GpgResultAnalyse::GetResultReport(), GpgFrontend::GpgResultAnalyse::GetStatus(), and refresh_info_board().
void GpgFrontend::UI::refresh_info_board | ( | InfoBoardWidget * | info_board, |
int | status, | ||
const QString & | report_text | ||
) |
info_board | |
status | |
report_text |
References GpgFrontend::UI::InfoBoardWidget::SlotRefresh().
Referenced by process_result_analyse().
void GpgFrontend::UI::show_verify_details | ( | QWidget * | parent, |
InfoBoardWidget * | info_board, | ||
GpgError | error, | ||
const GpgVerifyResult & | verify_result | ||
) |
parent | |
info_board | |
error | |
verify_result |
References GpgFrontend::UI::InfoBoardWidget::AddOptionalAction(), and GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu().