2010-06-04 00:31:48 +00:00
# -*- 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
2010-06-07 21:55:03 +00:00
from GdalTools import version
2010-06-13 18:27:55 +00:00
from GdalTools_utils import GdalConfig
2010-06-07 19:52:27 +00:00
2010-06-04 00:31:48 +00:00
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 )
2010-06-13 18:27:55 +00:00
self . lblVersion . setText ( version ( ) + self . tr ( " \n (using GDAL v. % 1) " ) . arg ( str ( GdalConfig . version ( ) ) ) )
2010-06-04 00:31:48 +00:00
self . textEdit . setText ( self . getText ( ) )
def getText ( self ) :
2010-06-06 08:12:22 +00:00
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.
2010-06-04 00:31:48 +00:00
2010-06-06 08:12:22 +00:00
The plugin is being developed by Faunalia ( http : / / faunalia . it ) with help from GIS - lab ( http : / / gis - lab . info ) .
2010-06-04 00:31:48 +00:00
Icons by Robert Szczepanek .
Sponsorship by Silvio Grosso was much appreciated .
2010-06-06 08:12:22 +00:00
Please help us by testing the tools , reporting eventual issues , improving the code , or providing financial support .
2010-06-04 00:31:48 +00:00
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 )