mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
remove trailing whitespace
This commit is contained in:
parent
75ac364719
commit
56bba0609e
@ -5,27 +5,27 @@
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
#
|
||||
# Once run this will define:
|
||||
#
|
||||
# Once run this will define:
|
||||
#
|
||||
# QEXTSERIALPORT_FOUND = system has Qextserialport lib
|
||||
# QEXTSERIALPORT_LIBRARY = full path to the Qextserialport library
|
||||
# QEXTSERIALPORT_INCLUDE_DIR = where to find headers
|
||||
# QEXTSERIALPORT_INCLUDE_DIR = where to find headers
|
||||
#
|
||||
|
||||
|
||||
FIND_PATH(QEXTSERIALPORT_INCLUDE_DIR NAMES qextserialport.h PATHS
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
"$ENV{LIB_DIR}/include"
|
||||
"$ENV{INCLUDE}"
|
||||
"$ENV{LIB_DIR}/include"
|
||||
"$ENV{INCLUDE}"
|
||||
PATH_SUFFIXES QtExtSerialPort
|
||||
)
|
||||
|
||||
FIND_LIBRARY(QEXTSERIALPORT_LIBRARY NAMES qextserialport-1.2 PATHS
|
||||
FIND_LIBRARY(QEXTSERIALPORT_LIBRARY NAMES qextserialport-1.2 PATHS
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
"$ENV{LIB_DIR}/lib"
|
||||
"$ENV{LIB}/lib"
|
||||
"$ENV{LIB_DIR}/lib"
|
||||
"$ENV{LIB}/lib"
|
||||
)
|
||||
|
||||
IF (QEXTSERIALPORT_INCLUDE_DIR AND QEXTSERIALPORT_LIBRARY)
|
||||
|
@ -8,7 +8,7 @@ Date : Oct 13, 2011
|
||||
copyright : (C) 2011 by Giuseppe Sucameli
|
||||
email : brush.tyler@gmail.com
|
||||
|
||||
The content of this file is based on
|
||||
The content of this file is based on
|
||||
- PG_Manager by Martin Dobias (GPLv2 license)
|
||||
***************************************************************************/
|
||||
|
||||
@ -37,7 +37,7 @@ class DlgExportVector(QDialog, Ui_DlgExportVector):
|
||||
self.inLayer = inLayer
|
||||
self.db = inDb
|
||||
self.setupUi(self)
|
||||
|
||||
|
||||
# update UI
|
||||
self.setupWorkingMode()
|
||||
self.populateEncodings()
|
||||
@ -75,7 +75,7 @@ class DlgExportVector(QDialog, Ui_DlgExportVector):
|
||||
settings.setValue("/db_manager/lastUsedDir", QFileInfo(filename).filePath())
|
||||
|
||||
self.editOutputFile.setText( filename )
|
||||
|
||||
|
||||
def populateEncodings(self):
|
||||
# populate the combo with supported encodings
|
||||
self.cboEncoding.addItems(qgis.core.QgsVectorDataProvider.availableEncodings())
|
||||
@ -88,7 +88,7 @@ class DlgExportVector(QDialog, Ui_DlgExportVector):
|
||||
self.cboEncoding.insertItem( 0, enc )
|
||||
idx = 0
|
||||
self.cboEncoding.setCurrentIndex( idx )
|
||||
|
||||
|
||||
def accept(self):
|
||||
# sanity checks
|
||||
if self.editOutputFile.text() == "":
|
||||
|
@ -7,13 +7,13 @@ Introduction:
|
||||
|
||||
The purpose of the QGIS designer plugins is to enable all third
|
||||
party developers to create GIS enabled Qt4 based applications
|
||||
with minimal programming. The idea being that you use the
|
||||
with minimal programming. The idea being that you use the
|
||||
standard Qt4 Designer GUI design tool to create your user
|
||||
interface and then add map canvas, legend, projection selector
|
||||
etc. type of widgets from the toolbox of widgets in designer
|
||||
- with QGIS having added its own group of custome widgets there.
|
||||
The QGIS custom widgets can then be graphically 'programmed' by
|
||||
setting widget properties and using interactive signal/slot
|
||||
setting widget properties and using interactive signal/slot
|
||||
connectors.
|
||||
|
||||
Plugin Paths:
|
||||
@ -22,25 +22,25 @@ There are two options for having Qt4 Designer find your
|
||||
plugins at startup:
|
||||
|
||||
1) copy the plugin from {QGIS Install Prefix}/lib/qgis/designer
|
||||
into the standard Qt4 designer plugin directory at
|
||||
into the standard Qt4 designer plugin directory at
|
||||
$QTDIR/plugins/designer/
|
||||
|
||||
2) export the environment variable QT_PLUGIN_PATH with all the
|
||||
places designer should look for your plugins in. Separate
|
||||
each entry with a colon. So for example:
|
||||
|
||||
|
||||
export QT_PLUGIN_PATH={QGIS Install Prefix}/lib/qgis
|
||||
|
||||
Note that the 'designer' directory is omitted from the path.
|
||||
|
||||
Its probably a good idea to add the above export clause to
|
||||
your ~/.bash_profile or ~/.bashrc if you plan to use the
|
||||
Its probably a good idea to add the above export clause to
|
||||
your ~/.bash_profile or ~/.bashrc if you plan to use the
|
||||
designer plugins frequently.
|
||||
|
||||
|
||||
Additional Notes:
|
||||
|
||||
If you built Qt4 in debug mode then the designer plugins must also
|
||||
If you built Qt4 in debug mode then the designer plugins must also
|
||||
be built in debug mode or they will be ignored. The converse is also
|
||||
true.
|
||||
|
||||
|
@ -19,7 +19,7 @@ SET (coordinatecapture_RCCS coordinatecapture.qrc)
|
||||
########################################################
|
||||
# Build
|
||||
|
||||
QT4_WRAP_UI (coordinatecapture_UIS_H ${coordinatecapture_UIS})
|
||||
QT4_WRAP_UI (coordinatecapture_UIS_H ${coordinatecapture_UIS})
|
||||
|
||||
QT4_WRAP_CPP (coordinatecapture_MOC_SRCS ${coordinatecapture_MOC_HDRS})
|
||||
|
||||
@ -30,9 +30,9 @@ ADD_LIBRARY (coordinatecaptureplugin MODULE ${coordinatecapture_SRCS} ${coordina
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../ui/
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core/symbology
|
||||
../../gui
|
||||
..
|
||||
|
@ -2,5 +2,5 @@ Coordinate Capture Plugin for Quantum GIS
|
||||
|
||||
Tim Sutton 2008
|
||||
|
||||
A simple plugin that allows you to copy the
|
||||
A simple plugin that allows you to copy the
|
||||
coordinates of mouse clicks to the clipboard.
|
||||
|
@ -10,7 +10,7 @@
|
||||
# directory, and source directory, respectively
|
||||
# OSGDIR or OSG_SOURCE_DIR: osg source directory, typically OpenSceneGraph
|
||||
# OSG_DIR or OSG_BUILD_DIR: osg build directory, place in which you've
|
||||
# built osg via cmake
|
||||
# built osg via cmake
|
||||
|
||||
# Header files are presumed to be included like
|
||||
# #include <osg/PositionAttitudeTransform>
|
||||
|
@ -1,10 +1,10 @@
|
||||
# OpenThreads is a C++ based threading library. Its largest userbase
|
||||
# OpenThreads is a C++ based threading library. Its largest userbase
|
||||
# seems to OpenSceneGraph so you might notice I accept OSGDIR as an
|
||||
# environment path.
|
||||
# I consider this part of the Findosg* suite used to find OpenSceneGraph
|
||||
# I consider this part of the Findosg* suite used to find OpenSceneGraph
|
||||
# components.
|
||||
# Each component is separate and you must opt in to each module.
|
||||
#
|
||||
#
|
||||
# Locate OpenThreads
|
||||
# This module defines
|
||||
# OPENTHREADS_LIBRARY
|
||||
@ -21,8 +21,8 @@
|
||||
# #include <OpenThreads/Thread>
|
||||
|
||||
# To make it easier for one-step automated configuration/builds,
|
||||
# we leverage environmental paths. This is preferable
|
||||
# to the -DVAR=value switches because it insulates the
|
||||
# we leverage environmental paths. This is preferable
|
||||
# to the -DVAR=value switches because it insulates the
|
||||
# users from changes we may make in this script.
|
||||
# It also offers a little more flexibility than setting
|
||||
# the CMAKE_*_PATH since we can target specific components.
|
||||
@ -75,7 +75,7 @@ IF(NOT OPENTHREADS_INCLUDE_DIR)
|
||||
ENDIF(NOT OPENTHREADS_INCLUDE_DIR)
|
||||
|
||||
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
NAMES OpenThreads OpenThreadsWin32
|
||||
PATHS
|
||||
$ENV{OPENTHREADS_LIBRARY_DIR}
|
||||
@ -90,15 +90,15 @@ FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
)
|
||||
|
||||
IF(NOT OPENTHREADS_LIBRARY)
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
NAMES OpenThreads OpenThreadsWin32
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
NAMES OpenThreads OpenThreadsWin32
|
||||
PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
|
||||
PATH_SUFFIXES lib64 lib
|
||||
)
|
||||
ENDIF(NOT OPENTHREADS_LIBRARY)
|
||||
|
||||
IF(NOT OPENTHREADS_LIBRARY)
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY
|
||||
NAMES OpenThreads OpenThreadsWin32
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
@ -121,7 +121,7 @@ IF(NOT OPENTHREADS_LIBRARY)
|
||||
ENDIF(NOT OPENTHREADS_LIBRARY)
|
||||
|
||||
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
NAMES OpenThreadsd OpenThreadsWin32d
|
||||
PATHS
|
||||
$ENV{OPENTHREADS_DEBUG_LIBRARY_DIR}
|
||||
@ -140,7 +140,7 @@ FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
)
|
||||
|
||||
IF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
NAMES OpenThreadsd OpenThreadsWin32d
|
||||
PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
|
||||
PATH_SUFFIXES lib64 lib
|
||||
@ -148,7 +148,7 @@ IF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||
ENDIF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||
|
||||
IF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
FIND_LIBRARY(OPENTHREADS_LIBRARY_DEBUG
|
||||
NAMES OpenThreadsd OpenThreadsWin32d
|
||||
PATHS
|
||||
/usr/local/lib64
|
||||
@ -176,7 +176,7 @@ IF(OPENTHREADS_LIBRARY)
|
||||
SET(OPENTHREADS_LIBRARY_DEBUG "${OPENTHREADS_LIBRARY}" CACHE FILEPATH "Debug version of OpenThreads Library (use regular version if not available)" FORCE)
|
||||
ENDIF(NOT OPENTHREADS_LIBRARY_DEBUG)
|
||||
ENDIF(OPENTHREADS_LIBRARY)
|
||||
|
||||
|
||||
SET(OPENTHREADS_FOUND "NO")
|
||||
IF(OPENTHREADS_INCLUDE_DIR AND OPENTHREADS_LIBRARY)
|
||||
SET(OPENTHREADS_FOUND "YES")
|
||||
|
@ -5,7 +5,7 @@
|
||||
##############################################
|
||||
|
||||
Please do not edit the files in this directory
|
||||
unless you know exactly what you are doing -
|
||||
unless you know exactly what you are doing -
|
||||
these files are used as the basis for creating
|
||||
new plugins. Altering these files may break
|
||||
the automated plugin template generation process.
|
||||
|
@ -4,6 +4,6 @@
|
||||
<qgisgrassmodule label="Locate the closest points between objects in two raster maps" module="r.distance">
|
||||
<option key="maps" option="map1"/>
|
||||
<option key="maps" option="map2"/>
|
||||
<option key="fs" advanced="yes"/>
|
||||
<option key="fs" advanced="yes"/>
|
||||
</qgisgrassmodule>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<option key="type" advanced="yes"/>
|
||||
<flag key="z" answer="off" hidden="no" advanced="yes"/>
|
||||
<flag key="e" answer="off" hidden="no" advanced="yes"/>
|
||||
<option key="snap" advanced="yes" />
|
||||
<option key="snap" advanced="yes" />
|
||||
<option key="min_area" advanced="yes" />
|
||||
<flag key="o" answer="on" advanced="yes" />
|
||||
</qgisgrassmodule>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">
|
||||
|
||||
<qgisgrassmodule label="Import loaded vector" module="v.in.ogr">
|
||||
<ogr key="dsn" layeroption="layer" whereoption="where" label="Loaded layer" />
|
||||
<option key="output" />
|
||||
<qgisgrassmodule label="Import loaded vector" module="v.in.ogr">
|
||||
<ogr key="dsn" layeroption="layer" whereoption="where" label="Loaded layer" />
|
||||
<option key="output" />
|
||||
<option key="type" advanced="yes"/>
|
||||
<flag key="z" answer="off" hidden="no" advanced="yes" />
|
||||
<flag key="e" answer="off" hidden="no" advanced="yes" />
|
||||
|
@ -9,7 +9,7 @@ SET (INTERPOLATION_SRCS
|
||||
qgstininterpolatordialog.cpp
|
||||
)
|
||||
|
||||
SET (INTERPOLATION_UIS
|
||||
SET (INTERPOLATION_UIS
|
||||
qgsidwinterpolatordialogbase.ui
|
||||
qgsinterpolationdialogbase.ui
|
||||
qgstininterpolatordialogbase.ui
|
||||
@ -32,19 +32,19 @@ QT4_WRAP_CPP (INTERPOLATION_MOC_SRCS ${INTERPOLATION_MOC_HDRS})
|
||||
|
||||
QT4_ADD_RESOURCES(INTERPOLATION_RCC_SRCS ${INTERPOLATION_RCCS})
|
||||
|
||||
ADD_LIBRARY (interpolationplugin MODULE
|
||||
ADD_LIBRARY (interpolationplugin MODULE
|
||||
${INTERPOLATION_SRCS}
|
||||
${INTERPOLATION_MOC_SRCS}
|
||||
${INTERPOLATION_RCC_SRCS}
|
||||
${INTERPOLATION_MOC_SRCS}
|
||||
${INTERPOLATION_RCC_SRCS}
|
||||
${INTERPOLATION_UIS_H})
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${GEOS_INCLUDE_DIR}
|
||||
../../analysis/interpolation
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core/symbology
|
||||
../../gui
|
||||
..
|
||||
|
@ -6,7 +6,7 @@ SET (RASTER_TERRAIN_SRCS
|
||||
qgsrasterterrainanalysisdialog.cpp
|
||||
)
|
||||
|
||||
SET (RASTER_TERRAIN_UIS
|
||||
SET (RASTER_TERRAIN_UIS
|
||||
qgsrasterterrainanalysisdialogbase.ui
|
||||
)
|
||||
|
||||
@ -25,17 +25,17 @@ QT4_WRAP_CPP (RASTER_TERRAIN_MOC_SRCS ${RASTER_TERRAIN_MOC_HDRS})
|
||||
|
||||
QT4_ADD_RESOURCES(RASTER_TERRAIN_RCC_SRCS ${RASTER_TERRAIN_RCCS})
|
||||
|
||||
ADD_LIBRARY (rasterterrainplugin MODULE
|
||||
ADD_LIBRARY (rasterterrainplugin MODULE
|
||||
${RASTER_TERRAIN_SRCS}
|
||||
${RASTER_TERRAIN_MOC_SRCS}
|
||||
${RASTER_TERRAIN_RCC_SRCS}
|
||||
${RASTER_TERRAIN_MOC_SRCS}
|
||||
${RASTER_TERRAIN_RCC_SRCS}
|
||||
${RASTER_TERRAIN_UIS_H})
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${GDAL_INCLUDE_DIR}
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core
|
||||
../../core/raster
|
||||
../../gui
|
||||
../../analysis/raster
|
||||
..
|
||||
|
@ -8,7 +8,7 @@ SET (sqlanywhere_SRCS
|
||||
sadbtablemodel.cpp
|
||||
)
|
||||
|
||||
SET (sqlanywhere_UIS
|
||||
SET (sqlanywhere_UIS
|
||||
sanewconnectionbase.ui
|
||||
sasourceselectbase.ui
|
||||
)
|
||||
@ -48,9 +48,9 @@ INCLUDE_DIRECTORIES(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../ui
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core
|
||||
../../core/raster
|
||||
../../core/renderer
|
||||
../../core/symbology
|
||||
../../gui
|
||||
../../app
|
||||
|
Loading…
x
Reference in New Issue
Block a user