mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 08:23:17 +02:00
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:
parent
5fdd563bfa
commit
00855cba3d
4 changed files with 27 additions and 13 deletions
BIN
interface/resources/images/about-opus.png
Normal file
BIN
interface/resources/images/about-opus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
interface/resources/images/about-projectathena.png
Normal file
BIN
interface/resources/images/about-projectathena.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -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"
|
||||
|
|
|
@ -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"));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue