Pegelonline/__init__.py

42 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
"""
/***************************************************************************
Pegelonline
A QGIS plugin
Lädt Daten von Pegelonline, bereitet sie für QGIS auf und stellt sie grafisch dar.
Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
-------------------
begin : 2025-09-26
copyright : (C) 2025 by Katrin Haßel
email : s6kathom@uni-trier.de
git sha : $Format:%H$
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
This script initializes the plugin, making it known to QGIS.
"""
from . import resources
# Sonst wird das Icon in der Toolbar nicht angezeigt
print(resources.__doc__)
# noinspection PyPep8Naming
def classFactory(iface): # pylint: disable=invalid-name
"""Load Pegelonline class from file Pegelonline.
:param iface: A QGIS interface instance.
:type iface: QgsInterface
"""
#
from .pegelonline import Pegelonline
return Pegelonline(iface)