diff --git a/app/app.pro b/app/app.pro index 3e47c73..d400020 100644 --- a/app/app.pro +++ b/app/app.pro @@ -4,6 +4,8 @@ TARGET = cool-retro-term DESTDIR = $$OUT_PWD/../ SOURCES = main.cpp +macx:ICON = icons/crt.icns + RESOURCES += qml/resources.qrc ######################################### diff --git a/app/icons/crt.icns b/app/icons/crt.icns new file mode 100644 index 0000000..3af2b33 Binary files /dev/null and b/app/icons/crt.icns differ diff --git a/app/icons/crt128.png b/app/icons/crt128.png new file mode 100644 index 0000000..a2279d8 Binary files /dev/null and b/app/icons/crt128.png differ diff --git a/app/icons/crt256.png b/app/icons/crt256.png new file mode 100644 index 0000000..d16072c Binary files /dev/null and b/app/icons/crt256.png differ diff --git a/app/icons/crt32.png b/app/icons/crt32.png new file mode 100644 index 0000000..2d1cca6 Binary files /dev/null and b/app/icons/crt32.png differ diff --git a/app/icons/crt64.png b/app/icons/crt64.png new file mode 100644 index 0000000..ed1d084 Binary files /dev/null and b/app/icons/crt64.png differ diff --git a/app/qml/AboutDialog.qml b/app/qml/AboutDialog.qml index a2747c4..2933e2c 100644 --- a/app/qml/AboutDialog.qml +++ b/app/qml/AboutDialog.qml @@ -63,17 +63,23 @@ Window{ id: defaultComponent ColumnLayout{ anchors.fill: parent - anchors.margins: 10 spacing: 10 Item{ Layout.fillHeight: true + Layout.fillWidth: true + Image{ + anchors.fill: parent + fillMode: Image.PreserveAspectFit + source: "images/crt256.png" + smooth: true + } } Text{ anchors.horizontalCenter: parent.horizontalCenter horizontalAlignment: Text.AlignHCenter text: shadersettings.version + "\n" + qsTr("Author: ") + "Filippo Scognamiglio\n" + - qsTr("Email: ") + "flscogna@gmail.com\n" + + qsTr("Email: ") + "flscogna@gmail.com\n" + qsTr("Source: ") + "https://github.com/Swordfish90/cool-retro-term\n" } } diff --git a/app/qml/images/crt256.png b/app/qml/images/crt256.png new file mode 100644 index 0000000..d16072c Binary files /dev/null and b/app/qml/images/crt256.png differ diff --git a/app/qml/resources.qrc b/app/qml/resources.qrc index 8cf78e2..3ea4352 100644 --- a/app/qml/resources.qrc +++ b/app/qml/resources.qrc @@ -66,5 +66,6 @@ CRTMainMenuBar.qml SettingsPerformanceTab.qml TerminalContainer.qml + images/crt256.png