Redo the About menu dialog

Change project name, remove references to EOS blockchain, add Project Athena copyright, add attribution to Opus.
This commit is contained in:
Marcus Llewellyn 2020-01-10 16:09:20 -06:00
parent 5fdd563bfa
commit 00855cba3d
4 changed files with 27 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -25,7 +25,7 @@ Rectangle {
Image { Image {
sourceSize.width: 295 sourceSize.width: 295
sourceSize.height: 75 sourceSize.height: 75
source: "../../../images/about-highfidelity.png" source: "../../../images/about-projectathena.png"
} }
Item { height: 30; width: 1 } Item { height: 30; width: 1 }
Column { Column {
@ -56,9 +56,9 @@ Rectangle {
text: "<a href=\"https:/github.com/kasenvr/hifi-community\">Project Athena Github</a>." text: "<a href=\"https:/github.com/kasenvr/hifi-community\">Project Athena Github</a>."
size: 20 size: 20
onLinkActivated: { onLinkActivated: {
HiFiAbout.openUrl("https:/github.com/kasenvr/hifi-community"); HiFiAbout.openUrl("https:/github.com/kasenvr/project-athena");
} }
} }
Item { height: 40; width: 1 } Item { height: 40; width: 1 }
Row { Row {
@ -93,17 +93,31 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
} }
Row {
spacing: 5
Image {
sourceSize.width: 34
sourceSize.height: 25
source: "../../../images/about-opus.png"
MouseArea {
anchors.fill: parent
onClicked: {
HiFiAbout.openUrl("http://opus-codec.org/");
}
}
}
RalewayRegular {
color: "white"
text: "Built using the Opus codec."
size: 12
anchors.verticalCenter: parent.verticalCenter
}
}
Item { height: 20; width: 1 } Item { height: 20; width: 1 }
RalewayRegular { RalewayRegular {
textFormat: Text.StyledText
linkColor: "#00B4EF"
color: "white" color: "white"
property string link: "https://eos.io/" text: "© 2019 - 2020 Project Athena Contributors"
text: "Blockchain technology from <a href=\"" + link + "\">EOS</a>."
size: 14 size: 14
onLinkActivated: {
HiFiAbout.openUrl(link);
}
} }
RalewayRegular { RalewayRegular {
color: "white" color: "white"

View file

@ -768,8 +768,8 @@ Menu::Menu() {
// Help/Application menu ---------------------------------- // Help/Application menu ----------------------------------
MenuWrapper * helpMenu = addMenu("Help"); MenuWrapper * helpMenu = addMenu("Help");
// Help > About High Fidelity // Help > About Project Athena
action = addActionToQMenuAndActionHash(helpMenu, "About High Fidelity"); action = addActionToQMenuAndActionHash(helpMenu, "About Project Athena");
connect(action, &QAction::triggered, [] { connect(action, &QAction::triggered, [] {
qApp->showDialog(QString("hifi/dialogs/AboutDialog.qml"), qApp->showDialog(QString("hifi/dialogs/AboutDialog.qml"),
QString("hifi/dialogs/TabletAboutDialog.qml"), "AboutDialog"); QString("hifi/dialogs/TabletAboutDialog.qml"), "AboutDialog");
@ -807,7 +807,7 @@ Menu::Menu() {
// Help > Report a Bug! // Help > Report a Bug!
action = addActionToQMenuAndActionHash(helpMenu, "Report a Bug!"); action = addActionToQMenuAndActionHash(helpMenu, "Report a Bug!");
connect(action, &QAction::triggered, qApp, [] { connect(action, &QAction::triggered, qApp, [] {
QDesktopServices::openUrl(QUrl("https://github.com/kasenvr/hifi-community/issues")); QDesktopServices::openUrl(QUrl("https://github.com/kasenvr/project-athena/issues"));
}); });
} }