bug fixes

This commit is contained in:
xueyan hu
2022-01-04 17:10:14 +08:00
parent 8743f5674b
commit c0c4873d84
11 changed files with 559 additions and 43 deletions

41
src/aboutwidget.h Normal file
View File

@@ -0,0 +1,41 @@
#ifndef _ABOUTWIDGET_H_
#define _ABOUTWIDGET_H_
#include <QObject>
#include <QWidget>
#include <QDesktopServices>
#include <QUrl>
#include <QFileInfo>
#include <QCoreApplication>
class QVBoxLayout;
class QHBoxLayout;
class QPushButton;
class QLabel;
class AboutWidget : public QWidget
{
Q_OBJECT
public:
explicit AboutWidget(QWidget* parent = nullptr);
~AboutWidget();
private slots:
void openHelpFile();
private:
void initUi();
bool execResult(const char* cmd, std::string& result);
bool execResult2(const char* cmd, std::string& result);
QString getLinuxVersion();
QString getDCMTKVersion();
//QString queryVersion(const QString& packName);
};
#endif // !_ABOUTWIDGET_H_