From 952c7b801ef8f1d02a41cffdbae592d05bc88d82 Mon Sep 17 00:00:00 2001 From: sc74 Date: Sun, 27 Oct 2024 14:36:43 +0100 Subject: [PATCH] add url in readme.qml --- make-test.sh | 5 +++++ src/modules/notesqml/readme.qml | 29 ++++++++++++++++++----------- 2 files changed, 23 insertions(+), 11 deletions(-) create mode 100755 make-test.sh diff --git a/make-test.sh b/make-test.sh new file mode 100755 index 0000000000..f3e2945361 --- /dev/null +++ b/make-test.sh @@ -0,0 +1,5 @@ +mkdir -p build +cd build +cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_QT6=ON .. +make -j$(nproc) +#sudo make install diff --git a/src/modules/notesqml/readme.qml b/src/modules/notesqml/readme.qml index e2c51a73a4..cc6fc50e4e 100644 --- a/src/modules/notesqml/readme.qml +++ b/src/modules/notesqml/readme.qml @@ -37,17 +37,24 @@ Item { } TextArea { - id: intro - x: 1 - y: 0 - width: parent.width - fscrollbar.width - font.pointSize: 14 - textFormat: Text.MarkdownText - antialiasing: true - activeFocusOnPress: false - wrapMode: Text.WordWrap - - text: qsTr("

More information can be found on https://github.com/devDucks/astroarch.

") + id: intro + x: 1 + y: 0 + width: parent.width - fscrollbar.width + font.pointSize: 14 + textFormat: TextEdit.RichText + antialiasing: true + activeFocusOnPress: false + wrapMode: Text.WordWrap + + onLinkActivated: Qt.openUrlExternally( link ) + + text: qsTr('

Find information or ask questions on :

\ +


Github https://github.com/devDucks/astroarch

\ +

Discord https://discord.com/invite/uJEQCZKBT8

\ +

Indilib https://indilib.org/forum/astro-arch.html

\ +

 

\ +

astroarch image  Clear skies and have fun with AstroArch
Mattia Procopio

') } } }