GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef __ABOUTDIALOG_H__
30 #define __ABOUTDIALOG_H__
32 #include "core/GpgContext.h"
33 #include "ui/GpgFrontendUI.h"
34 #include "ui/dialog/GeneralDialog.h"
35 #include "ui/struct/SoftwareVersion.h"
52 explicit InfoTab(QWidget* parent =
nullptr);
78 QLabel* current_version_label_;
79 QLabel* latest_version_label_;
80 QLabel* upgrade_label_;
82 QString current_version_;
83 QPushButton* download_button_;
91 explicit UpdateTab(QWidget* parent =
nullptr);
130 explicit AboutDialog(
int defaultIndex, QWidget* parent);
146 #endif // __ABOUTDIALOG_H__
Definition: FileReadTask.cpp:31
void SignalUpgradeVersion(SoftwareVersion version)
Class containing the translator tab of about dialog.
Definition: AboutDialog.h:59
void getLatestVersion()
Get the Latest Version object.
Definition: AboutDialog.cpp:198
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
Definition: SoftwareVersion.h:39
Definition: GeneralDialog.h:35
Class containing the main tab of about dialog.
Definition: AboutDialog.h:43
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:125
AboutDialog(int defaultIndex, QWidget *parent)
Construct a new About Dialog object.
Definition: AboutDialog.cpp:38
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:76
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:87
void showEvent(QShowEvent *ev) override
Definition: AboutDialog.cpp:71
TranslatorsTab(QWidget *parent=nullptr)
Construct a new Translators Tab object.
Definition: AboutDialog.cpp:114
UpdateTab(QWidget *parent=nullptr)
Construct a new Update Tab object.
Definition: AboutDialog.cpp:146
InfoTab(QWidget *parent=nullptr)
Construct a new Info Tab object.
Definition: AboutDialog.cpp:76
void slot_show_version_status(const SoftwareVersion &version)
Definition: AboutDialog.cpp:213
Class for handling the about dialog.
Definition: AboutDialog.h:120
bool NeedUpgrade() const
Definition: SoftwareVersion.h:65
Definition: VersionCheckTask.h:45
Class containing the main tab of about dialog.
Definition: AboutDialog.h:75
void SignalReplyFromUpdateServer(QByteArray data)