rabla
0d4c541008
typemask, type/layer option
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3272 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 14:22:28 +00:00
rabla
ac179856b0
grassLayer: GRASS layer number
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3271 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 14:21:46 +00:00
timlinux
8555ff0094
Further implementation of qgsspatialrefsys. Cascaded changes as appropriate to dependent classes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 01:50:58 +00:00
timlinux
442dece25f
Replace big buttons with icon buttons. You can still navigate them with the keyboard, I added keyboard accels to them too and tooltips to show their function.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:21:17 +00:00
rabla
9f7df15654
width scale fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:17:12 +00:00
rabla
034a3bdab3
put labels on top
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:09:30 +00:00
timlinux
ca7f5a85f1
Icons for attribute table
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 12:56:50 +00:00
timlinux
20455fd03d
Added a validator to the qgsspatialrefsys that checks the state of the SRS and forces it into a valid state (as a last ditch it will set it to hard coded geocs:wgs84). Before doing that it will first follow the behaviour rules defined in Settings->prefs->projection. This will mean that providers no longer need to handl this and can simply try to set the srs then call validate() on it to make sure its in a valid state. Is valid also not properly checks if the srs is valid.
...
So you can do something like:
QgsCoordinateTransform * myCS = new QgsCoordinateTransform(srs,srs);
if (!myCS->getSourceSrs()->isValid()) myCs->getSourceSrs->validate();
And you can be sure that the srs will be set. This is not wired into vector or raster layer yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 11:28:42 +00:00
rabla
1c06e96406
open color dialog with current color; check ok/cancel
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 11:09:53 +00:00
timlinux
757da2375d
Prevent crashes caused by uninitialised qgscoordinatetransform
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 00:06:23 +00:00
g_j_m
ba19ab1337
moved scale bar menu into the decoration plugin menu
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:56:01 +00:00
g_j_m
93fe69708e
Bug fix: Plugin menu wasn't starting the plugin gui
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:37:48 +00:00
g_j_m
ed6bedf95c
Plugin gui code was being linked into the standalone version, resulting in
...
unresolved linker errors (problem exposed with the change in how the plugin
creates menus in qgis).
git-svn-id: http://svn.osgeo.org/qgis/trunk@3245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:30:51 +00:00
g_j_m
37d84bb08a
Remove more of those pesky cvs ? warnings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:07:41 +00:00
g_j_m
6133ee4118
Take a punt here - I don't think that this file should be in cvs (it's
...
automatically generated from the .ui file)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 20:59:47 +00:00
g_j_m
6a7a5f2986
Changed to use the new way of setting up its entry in the plugin menu
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 19:58:58 +00:00
mhugent
12715c7657
fix for renderer names, which where inserted two times in QgsDlgVectorLayerProperties and fix for the round off bug in 'equal interval' classification mode
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 19:23:21 +00:00
timlinux
44ac5937fd
Remove changes inadvertantly committed wich force use of aclocal 1.8 and automake 1.8
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 14:49:37 +00:00
rabla
3fa02515de
number formating
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 14:37:44 +00:00
timlinux
04887a78ba
Added QgsSpatialRefSys to maplayer and dataprovider interfaces
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 12:59:40 +00:00
rabla
92cc893ba6
cross2 bunding box fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 12:18:07 +00:00
rabla
45376d2d0f
increment and total swaped, azimuth disabeled
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:28:50 +00:00
rabla
7052f2b36a
do not add new point if zoom is stoped, reset measure by right mouse button
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:27:24 +00:00
rabla
26baf704b3
buttons frame horizontal size policy fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:05:45 +00:00
rabla
fffe033dc2
menu removed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 07:15:59 +00:00
g_j_m
ccae8d965a
Altered the way in which plugins add items to the plugin menu. Old way
...
still supported for the moment. New way allows different plugins to use the
same submenu (e.g. Decorations for copyright and north arrow)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 05:21:34 +00:00
gsherman
469a54ec2a
Added icon for the custom projections menu pick
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 03:58:57 +00:00
gsherman
e3f1dd8721
Another ugly icon to invoke criticism and jeers from onlookers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 03:58:02 +00:00
timlinux
50078cf4a9
Added logic for getting projection from epsg and qgis srsid codes. Fixed sql errors.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3229 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 01:17:30 +00:00
mhugent
e2369beef1
replaced menues in the attribute table with buttons
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3228 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-26 18:06:00 +00:00
timlinux
d526602cec
Prevent assert failure when adding pg layer...still doesnt seem to set layer proejction properly though...weill investigate further tomorrow.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3227 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 21:54:10 +00:00
mhugent
edd45c6782
update vector layer extent in case of (not commited) deleted features and fixed a small memory leak in QgsMapCanvas
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 19:52:43 +00:00
gsherman
13cc8f3681
Implemented getSrid() to return the SRID of the layer. This commit
...
temporarily breaks the loading of PostGIS layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3225 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 15:37:30 +00:00
g_j_m
72312f3d85
Fix for bugs 1188781 and 1188780 (identify and select don't work on
...
projected layers)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3223 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 08:47:16 +00:00
g_j_m
217fee7d64
Added a set(const QgsRect&) function
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 08:41:08 +00:00
timlinux
ae4a7ae831
Added body of method to create QgsSpatialRefSys from POSTGIS SRID
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3221 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 05:52:49 +00:00
timlinux
e6ca57aee1
Fix projections broken by my last commit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3220 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 04:44:13 +00:00
timlinux
0a6b7f0400
Added new QgsSpatialRefSys constructor that takes a spatial ref sys id and the spatia ref sys id type (which can be QGIS, POSTGIS or EPSG). Adde a new ctor to coordinate transform which takes a source srid, a dest wkt and a source srid type. Another two ctors will follow for coord transform
...
1) can take two srid (and thier types)
2) takes two QgsSpatialRefSys pointers
git-svn-id: http://svn.osgeo.org/qgis/trunk@3219 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 02:00:23 +00:00
timlinux
498aa8529e
Replace qgscoordinatetransform source and dest members which were strings with QgsSpatialRefSys pointers. Show proj in vector metadata dlg. Liberal sprinkling of const in QgsSpatialRefSys where appropriate. Commented out overloadded << operator in qgsspatialrefsys.h for now. Added QgsSpatialRefSys ctor that takes a wkt string.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3218 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-25 00:47:52 +00:00
g_j_m
41a138f7f1
Don't load all of the point symbols if the layer is not of point
...
type (saves time)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3217 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 11:46:31 +00:00
g_j_m
e89dcc4404
Add in some debugging code for polylines
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 11:33:41 +00:00
g_j_m
98e93b6be8
Remove items that the Qt svg read complains about. Doesn't seem to make
...
any difference to the resulting image
git-svn-id: http://svn.osgeo.org/qgis/trunk@3215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 10:02:26 +00:00
gsherman
fea5f30dc8
Fix for incorrect class names in the ui.h files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 06:57:41 +00:00
gsherman
2496fb4964
More bookmark implementation. Bookmarks can now be added to the database.
...
Deleting bookmarks and zooming to a bookmark still to be implemented.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 06:17:28 +00:00
mhugent
5c3c762978
consider added (not commited) features when zooming to the extent of a layer. Deleted (not commited) features are not considered at the moment as this would require a complete bounding box recalculation.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3212 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 05:29:42 +00:00
gsherman
9cd1bc1e36
Bookmark item class. A bookmark item is stored as a record in the users database
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3211 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 05:05:04 +00:00
g_j_m
0719a873a9
Give each plugin gui a unique class name based on the plugin name.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:34:36 +00:00
gsherman
06c90fe8bc
- 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@3209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:17:52 +00:00
gsherman
fae68add2f
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@3208 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:07:15 +00:00
g_j_m
2f3d623a44
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@3207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 00:22:35 +00:00