DtkWidget 5.6.0.2
DTK Widget module
daboutdialog_p.h
1// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DABOUTDIALOG_P_H
6#define DABOUTDIALOG_P_H
7
8#include <DAboutDialog>
9#include "ddialog_p.h"
10
11DWIDGET_BEGIN_NAMESPACE
12
14{
15public:
17
18 void init();
19 void loadDistributionInfo();
20 void updateWebsiteLabel();
21 void updateAcknowledgementLabel();
22 void _q_onLinkActivated(const QString &link);
23 QPixmap loadPixmap(const QString &file);
24
25 static const QString websiteLinkTemplate;
26
27 QPixmap windowIcon;
28 QLabel *logoLabel = nullptr;
29 QLabel *productNameLabel = nullptr;
30 QLabel *versionLabel = nullptr;
31 QLabel *descriptionLabel = nullptr;
32 QLabel *licenseLabel = nullptr;
33 QLabel *companyLogoLabel = nullptr;
34 QLabel *websiteLabel = nullptr;
35 QLabel *acknowledgementLabel = nullptr;
36
37 QString logoPath;
38 QString websiteName;
39 QString websiteLink;
40 QString acknowledgementLink;
41
42 Q_DECLARE_PUBLIC(DAboutDialog)
43};
44
45DWIDGET_END_NAMESPACE
46
47#endif // DABOUTDIALOG_P_H
Definition: daboutdialog_p.h:14
DAboutDialog 类提供了应用程序的关于对话框,规范所有 deepin 应用关于窗口设计规范,符合 Deepin 风格.
Definition: daboutdialog.h:14
Definition: ddialog_p.h:26