2258 Commits

Author SHA1 Message Date
g_j_m
2cfff3c90e Give each plugin gui a unique class name based on the plugin name.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:34:36 +00:00
gsherman
4b9cac991c - Added QgsBookmark class which implements the spatial bookmarks dialog.
- Added new files to Makefile.am
- Changes to the custom projection dialog to use the new qgis.db


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:17:52 +00:00
gsherman
eaab5f3700 Changed user database name to qgis.db. The new database contains the
spatial bookmarks table (tbl_bookmarks).

Added qgis.db to Makefile.am


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3208 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:07:15 +00:00
g_j_m
afa0f494bf Bug fix for qgis crash when starting the northarrow gui after loading it.
Bug was the
same as for earlier fix with plugins, but with gui part. Will do the gui
parts of the other plugins in due course


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 00:22:35 +00:00
timlinux
4336f0c62b Removed defunct headers in qgscoordinatetransform.cpp qgsprojectproperties.cpp
Added more to qgsspatialrefsys.cpp skelecton from work. Will start implementing
these methods tomorrow.
Commented out soem debug stuff in qgsvectorlayer.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3206 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 23:48:43 +00:00
g_j_m
faf9435a01 Remove the stuff from the canvas when the plugin is removed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 23:07:57 +00:00
g_j_m
cac31cea77 Misc fixes for:
- change to proj from ogr for coordinate transformations
- unnecessary #includes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 22:15:25 +00:00
gsherman
89695d77d8 Changes to use proj4 functions directlry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3203 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 21:13:08 +00:00
timlinux
23bc20871c Added new table tbl_srs that will hold srs systems. The table is not complete - proj and ellips acronyms sttill need to be parsed and the appropriate fields updated. Old spatial_ref_sys is left in for the time being. Once tbl_srs updates are complete, spatial ref sys and srs_name tables will be deleted after this, making the db much smaller.
Also added ellipsoid and projection dictionary tables generated by parsing proj -lP and proj -le


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3202 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 13:09:23 +00:00
timlinux
c01cde2997 Removed qgsspatialreferences.cpp as its functionailty is no longer needed now that we have sqlite3 on the job.
Reimplemented qgsspatialrefsys to match the new schema that is going into srs.db

Removed qgsspatialreferences.cpp and qgsspatialreferences.h from Makefile


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3201 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 12:58:14 +00:00
g_j_m
9a9c27f2e1 Bug fix: local variable was obscuring a class member variable meaning
that the relevant plugin menu item was not being removed when the
plugin was removed


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 12:29:03 +00:00
g_j_m
c4086e115f Return the menu id instead of 0
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3199 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 12:26:50 +00:00
g_j_m
1879b2709d Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
mcoletti
bf23e14be9 - removed completed TODO items
- now catches expected exceptions for not finding map extents since there
  aren't going to be any in the test simulation


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3197 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:34:10 +00:00
mcoletti
7a3a3ec1c0 QgsProject is now a *little* bit more robust with regards to dealing with
project files that have missing or relocated layers.  Now it least pops up a
dialog that tells you that it was unable to open the layer instead of just
silently failing.

Better than nothing, I suppose.  Will continue to improve error handling.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3196 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:32:04 +00:00
timlinux
80379b1aea JDigiguere's fixes for sqlite3 detection on ubuntu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3195 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 17:05:00 +00:00
gsherman
f6901bf90f Updated bookmarks icons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 14:43:28 +00:00
mhugent
ef160811bc added the possibility to choose encoding for postgis layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 04:48:28 +00:00
mcoletti
2db5e7fe57 qgslabeldialog.cpp :
- define constants via "const" and not through #defines
  - adding some debugging messages

qgsmaplayer.cpp :

  - trivial reformatting

qgsmaplayer.h :

  - header file includes generally should use brackets and not double quotes

qgssinglesymrenderer.cpp :

  - more robust checking of XML elements

qgsproject, qgsvectorlayer :

  - no longer bombs when loading a project where one or more layers are
    missing (e.g., relocating the data)


Mostly this commit is for code to stop core dumps when loading projects with
layers with missing or relocated data.  Unfortunately it just silently fails.
Next step will be to add some feedback and then to implement a clever means of
pointing to new data location.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:46:37 +00:00
mcoletti
daa40df02c Compensated for new binaries to link against, including sqlite3
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:41:33 +00:00
g_j_m
fbae813f55 Remove an extraneous / in the test for sqlite3.h headers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:00:08 +00:00
telwertowski
016f2cee0f Remove whitespace inserted into middle of filename during last edit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 18:05:33 +00:00
gsherman
37ca5398f9 Tests for proj4 and sqlite3 added (thanks to jdgiguere)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3188 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 04:06:58 +00:00
g_j_m
61cfe03260 - rationalisation of transform functions in qgsmaptopixel.h
- improvement in code flow when trimming is necessary in qgsvectorlayer.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3187 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-19 05:59:20 +00:00
g_j_m
c798699029 Previous version compiled on my compiler, but not some others. This should fix it.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3186 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 19:38:27 +00:00
mhugent
3d88fe5a5f fixed two bugs in the table function 'bringSelectedToTop' and store the chosen encoding in the QSettings file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3185 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 15:23:25 +00:00
g_j_m
121ea51e3f - rationalisation of polygon and linestring trimming for X11 zoom bug
- rearrangement of misc. transform functions to reduce CPU effort
- mods to exception catching (gave a 10-15% reduction in drawing time)
- some ready to use code to help debug any remaining X11 zoom bugs
- trims at 30000 instead of 32760


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 10:48:53 +00:00
gsherman
5924035e43 Stubbed in function to add a new bookmark.
Added icon for the new bookmark menu item.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3183 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 04:30:40 +00:00
gsherman
9460946da1 Icon for spatial bookmarks menu item.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3182 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 02:45:54 +00:00
gsherman
ef5a280cee Wired bookmarks dialog into the gui. The bookmarks dialog is
still non-functional.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 02:00:49 +00:00
gsherman
9ad5c615c2 Base dialog for displaying and working with spatial bookmarks. Not
connected to the UI yet.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-18 00:36:31 +00:00
timlinux
d108b0b098 User projections now shown in projection selector but are still not useable
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3179 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 22:19:11 +00:00
timlinux
dc0600f772 customprojectiondialog updates : delete now works and its all more or less hunky dory & ready to use.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3178 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 20:46:50 +00:00
timlinux
7537deb5ef Various bugfixes plus insert and update of new records possible. Still need to add close button logic and a delete button.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 02:42:35 +00:00
gsherman
1db99e11d8 Fix for bug 1177637 that prevented complete deletion of a PostgreSQL
connection.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3176 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 01:51:56 +00:00
mhugent
b756fc99f0 some cleanups in qgsvectorlayer.cpp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 21:14:25 +00:00
mhugent
70dda7d59f avoid adding the geometry column to the attribute vector of QgsPostgresProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3174 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:53:56 +00:00
stevehalasz
68e614c891 Fix for compile problem. No uic files in designer_plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3173 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 20:46:18 +00:00
gsherman
338fb63c48 Updated README in preparation for 0.7 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3170 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:15:56 +00:00
larsl
5c7aa94c50 Changed QgsMapLayer to initialise mCoordinateTransform to NULL instead of a random value, changed QgsVectorLayer to initialise valid to false (it might be initialised to false by default on some compilers, but it doesn't hurt to do it explicitly). These changes fixes project loading for me.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 15:07:01 +00:00
timlinux
ef09086cb6 Record navigation is now sane - buttons disable at top and bottom of rec set as needed. Ellisoids now disply properly. Next will come save and update tools
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3167 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-16 00:09:17 +00:00
mcoletti
1bb47e98ea - Kludgey repair for bug where reading shape files from a project causes core
dump.  (Call setCoordinateTransform() in readXML_() if coordinateTransform()
  returns NULL.)

- added more initializers for new data members


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3166 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:55:41 +00:00
mcoletti
66f5b8c357 Appeased plug-in linkage
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 23:05:18 +00:00
g_j_m
550a4e78b9 Added some debugging code for polygon trimming. Commented out for the moment
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3164 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 22:01:45 +00:00
g_j_m
ee5a8ef061 Remove those pesky ? cvs messages when doing an update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 05:18:45 +00:00
timlinux
d27fd16e61 More bugfixes for record navigation....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3162 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 02:50:45 +00:00
timlinux
e8a7f6cd86 Remove extraneous buttons from ui. Move first on form load. Still not ready for use.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:53:25 +00:00
timlinux
0438ccdfaf Further updates to record navigation...still in progress
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 01:09:01 +00:00
g_j_m
f8d24a0ae8 commot forogtten file to go with the .h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 19:52:56 +00:00
timlinux
04d928b88a Wired up move first and move last button sin custom projections dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3158 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-14 10:36:55 +00:00