Skip to content

Commit

Permalink
Merge pull request #54 from kreis-viersen/about
Browse files Browse the repository at this point in the history
Infobox "Über Flurstücksfinder NRW"
  • Loading branch information
pathmapper authored Aug 30, 2022
2 parents b491a5d + 33c44f3 commit 849a594
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
15 changes: 15 additions & 0 deletions flurstuecks_finder_nrw.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ def initGui(self):
callback=self.SearchFlurstueckClicked,
parent=self.iface.mainWindow())

# Action for showing about message box
self.AddAction(
icon_path=self.icon_path + 'info.png',
text=self.tr(u'Über Flurstücksfinder NRW'),
callback=self.about,
parent=self.iface.mainWindow())

# Sets the default action for the button menu
# Normal search mask as default
default_action = [a for a in self.actions if a.text()
Expand Down Expand Up @@ -1438,3 +1445,11 @@ def run(self):
self.first_start = False
self.dockwidget.show()
self.StartupRoutine()

def about(self):
aboutString = "Flurstücksfinder NRW<br>QGIS-Plugin zur Suche von Flurstücken in NRW<br>" + \
"Author: Kreis Viersen<br>Mail: <a href=\"mailto:[email protected]?subject=Flurst%FCcksfinder%20NRW\">" + \
"[email protected]</a><br>" + \
"Web: <a href=\"https://github.com/kreis-viersen/flurstuecksfinder-nrw\">" + \
"https://github.com/kreis-viersen/flurstuecksfinder-nrw</a>"
QMessageBox.information(self.iface.mainWindow(), "Über Flurstücksfinder NRW", aboutString)
6 changes: 4 additions & 2 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name=Flurstücksfinder NRW
qgisMinimumVersion=3.16.14
description=Find and display parcels (German State of North Rhine-Westphalia) - Flurstücksuche in NRW
version=1.1.4
version=1.2.0
author=Kreis Viersen
[email protected]

Expand All @@ -24,7 +24,9 @@ repository=https://github.com/kreis-viersen/flurstuecksfinder-nrw

hasProcessingProvider=no
# Uncomment the following line and add your changelog:
changelog=v1.1.4:
changelog=v1.2.0:
- Infobox "Über Flurstücksfinder NRW" hinzugefügt
v1.1.4:
- Weiteren JOSM Pfad ergänzt
v1.1.3:
- Entferne etwaige überflüssige Leerzeichen eingegebener IDs
Expand Down

0 comments on commit 849a594

Please sign in to comment.