diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-06-22 13:26:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 13:26:47 -0700 |
commit | f1ebec641aa1a8f8992d6230a42001ad18c24a74 (patch) | |
tree | f0f15391035280e5c36cf3ed6119fbb0dbc6bcf1 /launcher/ui/widgets/InfoFrame.h | |
parent | c5f16276d74283169eccf3f6a8845da910af0221 (diff) | |
parent | 470518eb3a3e0e43d67b7a15823c060755ad3284 (diff) | |
download | PrismLauncher-f1ebec641aa1a8f8992d6230a42001ad18c24a74.tar.gz PrismLauncher-f1ebec641aa1a8f8992d6230a42001ad18c24a74.tar.bz2 PrismLauncher-f1ebec641aa1a8f8992d6230a42001ad18c24a74.zip |
Merge pull request #1058 from Ryex/feature/images-for-resource-page
Feature: image coumn for Mod, Resource Pack, and Texturepack pages
Diffstat (limited to 'launcher/ui/widgets/InfoFrame.h')
-rw-r--r-- | launcher/ui/widgets/InfoFrame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/ui/widgets/InfoFrame.h b/launcher/ui/widgets/InfoFrame.h index 84523e28..7eb679a9 100644 --- a/launcher/ui/widgets/InfoFrame.h +++ b/launcher/ui/widgets/InfoFrame.h @@ -36,6 +36,8 @@ class InfoFrame : public QFrame { void setName(QString text = {}); void setDescription(QString text = {}); void setImage(QPixmap img = {}); + void setLicense(QString text = {}); + void setIssueTracker(QString text = {}); void clear(); @@ -48,6 +50,7 @@ class InfoFrame : public QFrame { public slots: void descriptionEllipsisHandler(QString link); + void licenseEllipsisHandler(QString link); void boxClosed(int result); private: @@ -56,5 +59,6 @@ class InfoFrame : public QFrame { private: Ui::InfoFrame* ui; QString m_description; + QString m_license; class QMessageBox* m_current_box = nullptr; }; |