-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbboxdialog.py
42 lines (34 loc) · 1.62 KB
/
bboxdialog.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
# -*- coding: utf-8 -*-
"""
/***************************************************************************
bBoxDialog
A QGIS plugin
plugin for Quantum GIS which reports current bounding box and zooms to user-entered bounding box
-------------------
begin : 2013-07-26
copyright : (C) 2013 by Hans Fast -- Webmapper
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. *
* *
***************************************************************************/
"""
from PyQt4 import QtCore, QtGui
from ui_bbox import Ui_bBox
# create the dialog for zoom to point
class bBoxDialog(QtGui.QDialog):
def __init__(self):
QtGui.QDialog.__init__(self)
# Set up the user interface from Designer.
self.ui = Ui_bBox()
self.ui.setupUi(self)
#def on_buttonBox_accepted(self):
#class bBoxDialog(QtGui.QDialog, Ui_bBox):
# def __init__(self, parent, fl):
# QtGui.QDialog.__init__(self, parent, fl)
# self.setupUi(self)