2792 Commits

Author SHA1 Message Date
mcoletti
9551c8ff3d - rolled forward named() and description() member changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:35 +00:00
mcoletti
0289e94722 qgisapp.cpp
- merged from branch 0.7

qgsdataprovider.h

 - added name() and description() pure virtual members

qgspluginmanager.cpp

 - plugin directory path now used

qgsproviderregistry.cpp

 - member names now compliant with coding standard

 - limited reformatting and clean-up

qgsvectordataprovider

 - no longer uses Q_OBJECT since it doesn't provide signals or slots

qgsvectorfilewriter.cpp

 - 0.7 branch merge


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3966 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:02 +00:00
gsherman
3bf0a36738 Moved qgsscangeometries.ui.h out of SPIT_UI to prevent its deletion when
doing a make clean. Files ending in ui.h are not generated; they are original
source files and should not be included in BUILT_SOURCES.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3964 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 13:56:36 +00:00
mcoletti
ffb3bafc0e - by golly, someone moved QgsScaleCalculator units to QGis
- using the various *config utils generates -I strings that apparently flummox
  qmake; so now strip those out before appending the include strings generated
  from config script invocations

The test suite now runs again successfully.  Go me.  Or something.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 02:24:56 +00:00
mcoletti
8a0d9f3c32 - dump() now checks to see if properties_ is empty before dumping properties
- qDebug() would abort because someone forgot that QString::local8bit()
  _doesn't_ return a C-style string; it returns QCString which will cause
  qDebug() calls to blow up; if you insist on using QString::local8bit() in
  qDebug() then use it this way:

  qDebug( "%s", myQString.local8bit().data() );

Please do pay attention to compiler warnings.  The warnings generated by
mis-using local8bit _do_ _say_ that the program will likely abort when
execution gets to those statements.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3958 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 02:22:41 +00:00
mcoletti
c188184b84 Synched with latest snapshot of dependent object files. Also now depend on
qgis library.  Also use cppunit configure script for command line options.

Sadly, QgsProject seems to be broken, though that may have more to do with
local state of source than anything else.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 01:13:12 +00:00
mcoletti
079bbf1363 Stomping link errors and superfluous builds
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 22:50:42 +00:00
mcoletti
10b5739f3e future means of adding and managing data
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 21:34:18 +00:00
mcoletti
d475f90fef Eliminated annoying linker issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 21:21:17 +00:00
timlinux
c1352c6e4e Every new version needs some nice splashyness :-)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3953 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 12:39:05 +00:00
telwertowski
6a9e84bac0 Remove duplicate files from qgis app which were also being compiled by libqgis.
Suppress distribution of generated uic.h files.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3952 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 07:36:45 +00:00
timlinux
e6fc6ad810 [ 1294894 ] measure distances using geodetic distance
Committing wonder's patch for measuring areas.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:46:17 +00:00
morb_au
7f5677d2aa More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3948 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:11:18 +00:00
mhugent
409e1a7c2c bugfixes for the legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 16:18:48 +00:00
timlinux
582fad1d2e Fix small bug in select using epsg spotted by Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3940 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 00:53:36 +00:00
telwertowski
e1794d1ed8 Move catch outside #ifdef to balance try
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3938 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 00:43:05 +00:00
timlinux
c1f2ad47c2 [ 1246882 ] warnings cleanup - missing returns
Applied and tested Karls retrun type warnings patch.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3937 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 23:29:18 +00:00
timlinux
8b45a2b99f Karls patch for safer file writing in map composer:
[ 1243390 ] unsafe fileopens in mapcomposer


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3936 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 22:53:31 +00:00
telwertowski
86434a5172 Use qApp->applicationDirPath() instead of PKGDATAPATH for Mac and Win
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3934 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-20 16:59:32 +00:00
morb_au
9532721083 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3930 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-19 22:08:30 +00:00
morb_au
d79cb2f351 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3928 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-18 22:15:45 +00:00
timlinux
f4020df369 Added tr updates from BABA Yoshihiko for japanese
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3927 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-18 14:24:11 +00:00
mhugent
83e49f180b added 'expand all' and 'collapse all' functions. Removed some bugs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3923 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 16:26:53 +00:00
timlinux
aaa93894e3 Apply patch
[ 1274887 ] Added tr()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 10:15:54 +00:00
timlinux
6b1f74b69b Applied following patches:
1293255 SPIT: bugfix for "no fields" problem
1293069 2 bugfixes regarding extent calculation
1292938 added panning to overview
1253211 patch for PostGIS provider
1253027 patch for querybuilder


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
morb_au
bd0d5412fe More changes for Qt4 porting readiness. In theory the process described in http://wiki.qgis.org/qgiswiki/Building_a_Qt3_codebase_with_Qt4 should work now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3917 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:35:46 +00:00
morb_au
f8fabcbedf More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3915 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:30:38 +00:00
morb_au
e68037634a More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:08:59 +00:00
morb_au
871860604c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3912 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 22:05:05 +00:00
morb_au
03c5046358 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:33:04 +00:00
morb_au
370350cb7c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:16:10 +00:00
morb_au
b37059bc1c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 20:35:22 +00:00
mhugent
ece5eb22b6 also applied postgis provider changes to head. Removed a bug in ogrprovider which sometimes caused crashes when selecting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-14 15:21:04 +00:00
mhugent
3a422d14ed fixed 'zoom to selection' in head. Changed QgsLegend::currentLayer() such that it also returns a layer if a legend layer is active (and not only if a legend layer file is active)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 17:45:24 +00:00
rabla
627be00353 composer picture
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 09:04:48 +00:00
morb_au
e893c8c1e8 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 22:01:36 +00:00
morb_au
09185f2d22 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 21:46:57 +00:00
timlinux
d7f22f458e Applied patch from Martin Dobias to provide feature searches in attribute table.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-10 10:34:05 +00:00
rabla
67627f923c slightly modified nviz tool posted by Larissa Junek
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:28:43 +00:00
rabla
aebcb395ed fix for enable/disable actions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:05:58 +00:00
rabla
213b300f26 set Select tool before QgsComposerMap constructor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 12:26:19 +00:00
mhugent
c18520c3b8 functions and icons for adding and removing legend groups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-06 17:09:03 +00:00
mhugent
b2053876b5 some code cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-29 19:35:33 +00:00
mhugent
022af7db8b removed a bug in the new legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-28 21:05:57 +00:00
mhugent
89db3212fd add to overview/ remove from overview for the legend layer. Changed QgisApp::setOverviewZOrder(QgsLegend) from private to public. Removed a qWarning line in QgsMaplayerRegistry to get cvs head to compile
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3867 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-28 20:37:03 +00:00
mcoletti
66ebf42cae Since the provider registry will give you the desired data provider, why do it
yourself?  QgsVectorLayer now relies on provider registry to get OGR provider.

Of course even this will probably significantly change Real Soon Now.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 22:20:53 +00:00
mcoletti
228a2a3741 - optimized #includes and forward class declartions in header
- made const functions const

- prefer argument const references to copies

- internal improvements such as not creating empty meta data entries when
  searching for data providers


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 22:19:12 +00:00
mhugent
2491fdb859 tried to make the new legend easier for casual GIS users by showing only the legend layers by default and by adding a right click menu also to the legend layer (not only to the legend layer file)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 21:13:28 +00:00
mhugent
a28e0f184b changed behaviour of the new legend such that all drag functions are with left mouse button pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3851 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-21 19:01:57 +00:00
mcoletti
aa9227ccdf - pass in QStrings to ctor by const reference instead of by value
- made const members const
- added a few comments


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-19 20:06:09 +00:00