Skip to content

Commit

Permalink
cleanup line endings and some typos in fTools
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10080 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 1, 2009
1 parent c8bfe07 commit 79febc8
Show file tree
Hide file tree
Showing 25 changed files with 765 additions and 764 deletions.
22 changes: 11 additions & 11 deletions python/plugins/fTools/__init__.py
Expand Up @@ -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 changes: 7 additions & 7 deletions python/plugins/fTools/doAbout.py
Expand Up @@ -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)
Expand Down
20 changes: 10 additions & 10 deletions python/plugins/fTools/fTools.py
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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_()
Expand Down

0 comments on commit 79febc8

Please sign in to comment.