diff --git a/qtribu/gui/wdg_authoring.py b/qtribu/gui/wdg_authoring.py
index c17882e4..aacf28b8 100644
--- a/qtribu/gui/wdg_authoring.py
+++ b/qtribu/gui/wdg_authoring.py
@@ -42,6 +42,7 @@ def load_settings(self) -> dict:
self.lne_github_account.setText(settings.author_github)
self.lne_linkedin_account.setText(settings.author_linkedin)
self.lne_twitter_account.setText(settings.author_twitter)
+ self.lne_mastodon_account.setText(settings.author_mastodon)
def save_settings(self) -> None:
"""Save form text into QgsSettings."""
@@ -55,6 +56,7 @@ def save_settings(self) -> None:
settings.author_github = self.lne_github_account.text()
settings.author_linkedin = self.lne_linkedin_account.text()
settings.author_twitter = self.lne_twitter_account.text()
+ settings.author_mastodon = self.lne_mastodon_account.text()
# save it
self.plg_settings.save_from_object(settings)
diff --git a/qtribu/gui/wdg_authoring.ui b/qtribu/gui/wdg_authoring.ui
index 49f86a64..809aa19d 100644
--- a/qtribu/gui/wdg_authoring.ui
+++ b/qtribu/gui/wdg_authoring.ui
@@ -6,8 +6,8 @@
0
0
- 350
- 225
+ 505
+ 255
@@ -43,6 +43,9 @@
true
+
+
+
-
@@ -131,6 +134,9 @@
-
+
+ Qt::ImhUrlCharactersOnly
+
https://github.com/geotribu
@@ -139,7 +145,7 @@
- -
+
-
Used during broadcasting to credit author.
@@ -149,7 +155,7 @@
- -
+
-
https://www.linkedin.com/in/pierredupont/
@@ -159,7 +165,7 @@
- -
+
-
Used during broadcasting to credit author.
@@ -169,7 +175,7 @@
- -
+
-
https://twitter.com/geotribu
@@ -179,6 +185,26 @@
+ -
+
+
+ Mastodon account:
+
+
+
+ -
+
+
+ Qt::ImhUrlCharactersOnly
+
+
+ https://mapstodon.space/@geotribu
+
+
+ true
+
+
+
diff --git a/qtribu/toolbelt/preferences.py b/qtribu/toolbelt/preferences.py
index 2872be26..43efc07e 100644
--- a/qtribu/toolbelt/preferences.py
+++ b/qtribu/toolbelt/preferences.py
@@ -53,6 +53,7 @@ class PlgSettingsStructure:
author_github: str = ""
author_linkedin: str = ""
author_twitter: str = ""
+ author_mastodon: str = ""
@property
def browser_as_str(self) -> str: