Skip to content
Permalink
Browse files

cleanup line endings and some typos in fTools

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10080 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 1, 2009
1 parent 67d60af commit f4a2cee8b6646bc27fcf4654cd8c5fec60189d29
@@ -14,18 +14,18 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

def name():
return "fTools"

def description():
return "Tools for vector data analysis and management"

def version():
def name():
return "fTools"

def description():
return "Tools for vector data analysis and management"

def version():
return "0.5.3"

def qgisMinimumVersion():
return "1.0.0"

return "1.0.0"

def classFactory( iface ):
from fTools import fToolsPlugin
return fToolsPlugin( iface )
from fTools import fToolsPlugin
return fToolsPlugin( iface )
@@ -14,15 +14,15 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

from PyQt4.QtCore import *
from PyQt4.QtGui import *

from qgis.core import *
import webbrowser, os
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from qgis.core import *
import webbrowser, os
from frmAbout import Ui_Dialog
import resources
import resources
currentPath = os.path.dirname(__file__)


class Dialog(QDialog, Ui_Dialog):
def __init__(self, iface):
QDialog.__init__(self)
@@ -30,10 +30,10 @@
#
#---------------------------------------------------------------------

from PyQt4.QtCore import *
from PyQt4.QtGui import *
import resources
from qgis.core import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *
import resources
from qgis.core import *
import resources
import os.path, sys
# Set up current path, so that we know where to look for mudules
@@ -46,7 +46,7 @@
import doIntersectLines, doJoinAttributes, doSelectByLocation, doVectorSplit, doMeanCoords
import doPointDistance, doPointsInPolygon, doRandom, doRandPoints, doRegPoints, doDefineProj
import doReProject, doSpatialJoin, doSubsetSelect, doSumLines, doVectorGrid, doAbout


class fToolsPlugin:
def __init__( self,iface ):
self.iface = iface
@@ -184,7 +184,7 @@ def initGui( self ):
menuBar = self.iface.mainWindow().menuBar()
actions = menuBar.actions()
helpAction = actions[ len( actions ) - 1 ]
menuBar.insertMenu( helpAction, self.menu )
menuBar.insertMenu( helpAction, self.menu )

QObject.connect( self.distMatrix, SIGNAL("triggered()"), self.dodistMatrix )
QObject.connect( self.sumLines, SIGNAL("triggered()"), self.dosumLines )
@@ -306,19 +306,19 @@ def docentroids( self ):
def dosumLines(self):
d = doSumLines.Dialog(self.iface)
d.exec_()


def dopointsPoly( self ):
d = doPointsInPolygon.Dialog( self.iface )
d.exec_()


def dorandSel( self ):
d = doRandom.Dialog( self.iface )
d.exec_()


def dorandSub( self ):
d = doSubsetSelect.Dialog( self.iface )
d.exec_()


def dorandPoints( self ):
d = doRandPoints.Dialog( self.iface )
d.exec_()

0 comments on commit f4a2cee

Please sign in to comment.
You can’t perform that action at this time.