-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from kreis-viersen/about
Infobox "Über Flurstücksfinder NRW"
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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() | ||
|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
||
|
@@ -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 | ||
|