GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GnupgTab.h
1 /*
2  * Copyright (c) 2022. Saturneric
3  *
4  * This file is part of GpgFrontend.
5  *
6  * GpgFrontend is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * GpgFrontend is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with GpgFrontend. If not, see <https://www.gnu.org/licenses/>.
18  *
19  * The initial version of the source code is inherited from
20  * the gpg4usb project, which is under GPL-3.0-or-later.
21  *
22  * All the source code of GpgFrontend was modified and released by
23  * Saturneric<eric@bktus.com> starting on May 12, 2021.
24  *
25  * SPDX-License-Identifier: GPL-3.0-or-later
26  */
27 
28 //
29 // Created by eric on 2022/7/23.
30 //
31 
32 #ifndef GPGFRONTEND_GNUPGTAB_H
33 #define GPGFRONTEND_GNUPGTAB_H
34 
35 #include "core/GpgContext.h"
36 #include "ui/GpgFrontendUI.h"
37 
38 class Ui_GnuPGInfo;
39 namespace GpgFrontend::UI {
40 class GnupgTab : public QWidget {
41  Q_OBJECT
42  public:
48  explicit GnupgTab(QWidget* parent = nullptr);
49 
50  private:
51  std::shared_ptr<Ui_GnuPGInfo> ui_;
52 
53  void process_software_info();
54 };
55 } // namespace GpgFrontend::UI
56 
57 #endif // GPGFRONTEND_GNUPGTAB_H
Definition: GnupgTab.h:40
GnupgTab(QWidget *parent=nullptr)
Construct a new Info Tab object.
Definition: GnupgTab.cpp:39
Definition: FileReadTask.cpp:29