forked from csgis/kgr_finder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
find_osm_data_dockwidget.py
47 lines (37 loc) · 1.72 KB
/
find_osm_data_dockwidget.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
"""
/***************************************************************************
KgrFinderDockWidget
A QGIS plugin
Find KGR Data
Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
-------------------
begin : 2023-09-11
git sha : $Format:%H$
copyright : (C) 2023 by csgis gbr
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
"""
import os
from qgis.PyQt.QtCore import pyqtSignal
from qgis.PyQt.QtWidgets import QWidget, QVBoxLayout
from .config_options_page import ConfigOptionsPage
class KgrFinderDockWidget(QWidget):
closingPlugin = pyqtSignal()
def __init__(self, parent=None):
super().__init__(parent)
layout = QVBoxLayout()
self.config_options = ConfigOptionsPage(self)
layout.addWidget(self.config_options)
self.setLayout(layout)
def closeEvent(self, event):
self.closingPlugin.emit()
event.accept()