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 {
sourceSize.width: 295
sourceSize.height: 75
source: "../../../images/about-highfidelity.png"
source: "../../../images/about-projectathena.png"
}
Item { height: 30; width: 1 }
Column {
@ -56,9 +56,9 @@ Rectangle {
text: "<a href=\"https:/github.com/kasenvr/hifi-community\">Project Athena Github</a>."
size: 20
onLinkActivated: {
HiFiAbout.openUrl("https:/github.com/kasenvr/hifi-community");
HiFiAbout.openUrl("https:/github.com/kasenvr/project-athena");
}
}
Item { height: 40; width: 1 }
Row {
@ -93,17 +93,31 @@ Rectangle {
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 }
RalewayRegular {
textFormat: Text.StyledText
linkColor: "#00B4EF"
color: "white"
property string link: "https://eos.io/"
text: "Blockchain technology from <a href=\"" + link + "\">EOS</a>."
text: "© 2019 - 2020 Project Athena Contributors"
size: 14
onLinkActivated: {
HiFiAbout.openUrl(link);
}
}
RalewayRegular {
color: "white"

View file

@ -768,8 +768,8 @@ Menu::Menu() {
// Help/Application menu ----------------------------------
MenuWrapper * helpMenu = addMenu("Help");
// Help > About High Fidelity
action = addActionToQMenuAndActionHash(helpMenu, "About High Fidelity");
// Help > About Project Athena
action = addActionToQMenuAndActionHash(helpMenu, "About Project Athena");
connect(action, &QAction::triggered, [] {
qApp->showDialog(QString("hifi/dialogs/AboutDialog.qml"),
QString("hifi/dialogs/TabletAboutDialog.qml"), "AboutDialog");
@ -807,7 +807,7 @@ Menu::Menu() {
// Help > Report a Bug!
action = addActionToQMenuAndActionHash(helpMenu, "Report a Bug!");
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"));
});
}