brushtyler 9e19090f10 added GdalTools plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@13639 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-04 00:31:48 +00:00

60 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.gui import *
from ui_dialogAbout import Ui_GdalToolsAboutDialog as Ui_Dialog
import os.path, sys
# Set up current path, so that we know where to look for init file
currentPath = os.path.dirname( __file__ )
sys.path.append( os.path.abspath(os.path.dirname( __file__ )[:-6] ) )
# prepended the dir, to avoid conflicts with other __init__ modules in search path
from GdalTools.__init__ import version
class GdalToolsAboutDialog(QDialog, Ui_Dialog):
def __init__(self, iface):
QDialog.__init__(self, iface.mainWindow())
self.iface = iface
self.setupUi(self)
QObject.connect(self.btnWeb, SIGNAL("clicked()"), self.openWebsite)
self.lblVersion.setText( version() )
self.textEdit.setText(self.getText())
def getText(self):
return self.tr("""GDAL Tools (AKA Raster Tools) is a \
plugin for QuantumGIS aiming at making life simpler for users \
of GDAL Utilities, providing a simplified graphical interface \
for most commonly used programs.
The plugin is being developed by Faunalia (http://faunalia.it) \
with help from GIS-lab (http://gis-lab.info).
Icons by Robert Szczepanek.
Sponsorship by Silvio Grosso was much appreciated.
Please help us by testing the tools, reporting eventual issues, \
improving the code, or providing financial support.
DEVELOPERS:
Faunalia
Paolo Cavallini
Giuseppe Sucameli
Lorenzo Masini
GIS-lab
Maxim Dubinin
Alexander Bruy
icons by Robert Szepanek
HOMEPAGE:
http://trac.faunalia.it/GdalTools-plugin""")
def openWebsite(self):
url = QUrl("http://trac.faunalia.it/GdalTools-plugin")
QDesktopServices.openUrl(url)