forked from bstroebl/DigitizingTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdtDialog.py
62 lines (51 loc) · 2.65 KB
/
dtDialog.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
# -*- coding: utf-8 -*-
"""
/***************************************************************************
DigitizingTools
A QGIS plugin
Subsumes different tools useful during digitizing sessions
-------------------
begin : 2013-02-25
copyright : (C) 2013 by Bernhard Ströbl
email : bernhard.stroebl@jena.de
***************************************************************************/
/***************************************************************************
* *
* 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 QtGui, QtCore
from ui_about import Ui_about
class DigitizingToolsAbout(QtGui.QDialog):
def __init__(self, iface):
QtGui.QDialog.__init__(self)
# Set up the user interface from Designer.
self.ui = Ui_about()
self.ui.setupUi(self)
# keep reference to QGIS interface
self.iface = iface
aboutText = QtCore.QCoreApplication.translate("dtAbout", "Subsumes different tools useful during digitizing sessions")
aboutText += "\n\n"
aboutText += QtCore.QCoreApplication.translate("dtAbout", "List of Contributors:")
aboutText +="\n"
aboutText += "Sandra Lopes (Portugese translation)"
aboutText +="\n"
aboutText += "Alexandre Neto"
aboutText += "\n"
aboutText += "Jean-Cyrille Notter (French translation)"
aboutText += "\n"
aboutText += u"Bernhard Ströbl"
aboutText += "\n"
aboutText += u"Angelos Tzotsos"
aboutText += "\n\n"
aboutText += u"DigitizingTools is copyright (C) 2013 Bernhard Ströbl bernhard.stroebl[at]jena.de\n\n"
aboutText += u"Licensed under the terms of the GNU GPL V 2:\n"
aboutText += u"This program is free software; you can redistribute it and/or modify it under the"
aboutText += " terms of the GNU General Public License as published by the Free Software Foundation;"
aboutText += " either version 2 of the License, or (at your option) any later version."
#QtGui.QMessageBox.information(None, "", aboutText)
self.ui.textArea.setPlainText(aboutText)