-
Notifications
You must be signed in to change notification settings - Fork 9
/
dialogs.py
60 lines (48 loc) · 2.5 KB
/
dialogs.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
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
"""
/***************************************************************************
easyAHP
A QGIS plugin
Easy AHP provides Analytic Hierarchy Process (AHP) and Weighted Linear Combination (WLC) analysis in QGIS.
Target audience is decision makers that work on suitability analysis for land use, agriculture, disaster management, environmental resources etc.
The user-friendly interface makes analysis easier by dividing operations to different steps
-------------------
begin : 2014-10-20
version : 0.8
copyright : (C) 2014 by Mehmet Selim BILGIN
email : [email protected]
web : cbsuygulama.wordpress.com
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. *
* *
***************************************************************************/
"""
import os
from qgis.PyQt import QtGui, uic
from qgis.PyQt.QtWidgets import QDialog, QDialogButtonBox
mainFormClass, notImportant = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'main.ui'))
step1FormClass, notImportant = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'step1.ui'))
step2FormClass, notImportant = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'step2.ui'))
step3FormClass, notImportant = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'step3.ui'))
class mainDialog(QDialog, mainFormClass):
def __init__(self):
QDialog.__init__(self)
self.setupUi(self)
class step1Dialog(QDialog, step1FormClass):
def __init__(self):
QDialog.__init__(self)
self.setupUi(self)
class step2Dialog(QDialog, step2FormClass):
def __init__(self):
QDialog.__init__(self)
self.setupUi(self)
class step3Dialog(QDialog, step3FormClass):
def __init__(self):
QDialog.__init__(self)
self.setupUi(self)