Historical Map
1.0
Plugin for automatic extraction of old forest from historical map
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
historical_map_dialog.py
Go to the documentation of this file.
1
# -*- coding: utf-8 -*-
2
"""!@brief Call of UI form
3
/***************************************************************************
4
HistoricalMapDialog
5
A QGIS plugin
6
Mapping old forests from historical maps
7
-------------------
8
begin : 2016-01-26
9
git sha : $Format:%H$
10
copyright : (C) 2016 by Karasiak & Lomellini
11
email : karasiak.nicolas@gmail.com
12
***************************************************************************/
13
14
/***************************************************************************
15
* *
16
* This program is free software; you can redistribute it and/or modify *
17
* it under the terms of the GNU General Public License as published by *
18
* the Free Software Foundation; either version 2 of the License, or *
19
* (at your option) any later version. *
20
* *
21
***************************************************************************/
22
"""
23
# import os
24
import
resources
25
from
PyQt4.QtGui
import
QMainWindow, QMessageBox, QListWidgetItem, QFileDialog, QDockWidget
26
27
# OLD Call for UI form
28
#FORM_CLASS, _ = uic.loadUiType(os.path.join(
29
# os.path.dirname(__file__), 'historical_map_dialog_base.ui'))
30
31
from
historical_map_dialog_base
import
Ui_HistoricalMap
32
33
# OLD Call for UI ext
34
# class HistoricalMapDialog(QtGui.QDialog, FORM_CLASS):
35
class
HistoricalMapDialog
(QDockWidget, Ui_HistoricalMap):
36
def
__init__
(self, parent=None):
37
"""Constructor."""
38
super(HistoricalMapDialog, self).
__init__
(parent)
39
# Set up the user interface from Designer.
40
# After setupUI you can access any designer object by doing
41
# self.<objectname>, and you can use autoconnect slots - see
42
# http://qt-project.org/doc/qt-4.8/designer-using-a-ui-file.html
43
# #widgets-and-dialogs-with-auto-connect
44
45
self.setupUi(self)
HistoricalMap.historical_map_dialog.HistoricalMapDialog.__init__
def __init__
Definition:
historical_map_dialog.py:36
HistoricalMap.historical_map_dialog.HistoricalMapDialog
Definition:
historical_map_dialog.py:35
Generated on Mon Feb 22 2016 15:13:05 for Historical Map by
1.8.6