forked from sourcepole/qgis-wps-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qgswpsdescribeprocessgui.py
37 lines (32 loc) · 1.57 KB
/
qgswpsdescribeprocessgui.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
# -*- coding: utf-8 -*-
"""
***************************************************************************
QGIS Web Processing Service Plugin
-------------------------------------------------------------------
Date : 09 November 2009
Copyright : (C) 2009 by Dr. Horst Duester
email : horst dot duester at kappasys dot ch
***************************************************************************
* *
* 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. *
* *
***************************************************************************
"""
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from wps import version
from ui_qgswpsdescribeprocess import Ui_QgsWpsDescribeProcessGUI
import os, sys, string
class QgsWpsDescribeProcessGui(QDialog, QObject, Ui_QgsWpsDescribeProcessGUI):
MSG_BOX_TITLE = "QGIS WPS Client"
def __init__(self, parent, fl):
QDialog.__init__(self, parent, fl)
self.setupUi(self)
self.setWindowTitle('QGIS WPS-Client '+version())
self.selectedServiceName = parent.cmbConnections.currentText()
def currentServiceName(self):
return self.selectedServiceName