17 Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)
18 Q_PROPERTY(QString productName READ productName WRITE setProductName)
19 Q_PROPERTY(QString version READ version WRITE setVersion)
20 Q_PROPERTY(QString description READ description WRITE setDescription)
21 Q_PROPERTY(QString license READ license WRITE setLicense)
22 Q_PROPERTY(QString websiteName READ websiteName WRITE setWebsiteName)
23 Q_PROPERTY(QString websiteLink READ websiteLink WRITE setWebsiteLink)
24#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
25 Q_PROPERTY(QString acknowledgementLink READ acknowledgementLink WRITE setAcknowledgementLink)
31 QString windowTitle()
const;
32 QString productName()
const;
33 QString version()
const;
34 QString description()
const;
35#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
36 D_DECL_DEPRECATED_X(
"this method will be deprecated after dtk6") const QPixmap *companyLogo() const;
38 QPixmap companyLogo()
const;
40 QString websiteName()
const;
41 QString websiteLink()
const;
42#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
43 D_DECL_DEPRECATED_X(
"acknowledgement is no longer used") QString acknowledgementLink() const;
45 QString license()
const;
46 void setLicenseEnabled(
bool enabled);
49 void featureActivated();
50 void licenseActivated();
53 void setWindowTitle(
const QString &windowTitle);
54 void setProductIcon(
const QIcon &icon);
55 void setProductName(
const QString &productName);
56 void setVersion(
const QString &version);
57 void setDescription(
const QString &description);
58 void setCompanyLogo(
const QPixmap &companyLogo);
59 void setWebsiteName(
const QString &websiteName);
60 void setWebsiteLink(
const QString &websiteLink);
61#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
62 D_DECL_DEPRECATED_X(
"acknowledgement is no longer used") void setAcknowledgementLink(const QString &acknowledgementLink);
64 void setAcknowledgementVisible(
bool visible);
65 void setLicense(
const QString &license);
68 void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
69 void showEvent(QShowEvent *event) Q_DECL_OVERRIDE;
72 Q_PRIVATE_SLOT(d_func(),
void _q_onLinkActivated(
const QString &link))
73 Q_PRIVATE_SLOT(d_func(),
void _q_onFeatureActivated(
const QString &link))
74 Q_PRIVATE_SLOT(d_func(),
void _q_onLicenseActivated(
const QString &link))