brushtyler b5819e3424 Removed the unnecessary setted paths
git-svn-id: http://svn.osgeo.org/qgis/trunk@13682 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-07 19:52:27 +00:00

61 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
# Set up current path, so that we know where to look for version
import os.path, sys
currentPath = os.path.dirname( __file__ )
pluginPath = os.path.abspath( currentPath + "/.." )
sys.path.append( pluginPath )
# prepended the module name, to avoid conflicts with other __init__ modules in search path
from GdalTools.__init__ import version
sys.path.remove( pluginPath )
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)