2263 Commits

Author SHA1 Message Date
g_j_m
09f911273e - changes to the line and polygon clipping code
- fix bug where clipping fails when zoomed in too far
- many minor changes to reduce execution times
- general code tidy up
- still a bit slower in drawing than desired


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3102 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-08 23:42:50 +00:00
g_j_m
9db8708fa3 - prevent zooming in too much
- debugging syntax changes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3101 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-08 23:40:45 +00:00
g_j_m
7bcd58f934 Add const to a parameter
Layout changes to follow code layout guidelines
Use the set(x,y) function instead of setX() and setY()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3100 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-08 23:38:51 +00:00
g_j_m
7170f5c417 Add a function to set x and y coords in the one call
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3099 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-08 23:33:57 +00:00
mcoletti
6447d251e7 - prefer to use initializers over ctor body initialization
- more robust handling of handling legacy project files


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3098 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-08 18:26:28 +00:00
rabla
b65bbf4606 stopZoom by right button, previous non zoom tool is selected
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3097 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 12:20:15 +00:00
rabla
0bccb1c72f togle actions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3096 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 11:51:34 +00:00
rabla
5c723066c1 qgsgrasseditbase.ui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 11:50:23 +00:00
timlinux
1250e6a7ee Fixed issues with colortable changes not being detected properly when its changed while a raster is loaded.
Fix was to ensure valid==TRUE when layer is loaded.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 08:57:56 +00:00
g_j_m
8d28fc5a7a Oops. Previous commit didn't compile
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 06:29:01 +00:00
g_j_m
6d8926c713 Don't allow zooming in if the extent is too small to represent with
double variables (about 1e-12).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-06 06:21:31 +00:00
mhugent
6aed2e068a don't add features if the attribute dialog is rejected by the user
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3091 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 20:56:05 +00:00
rabla
a4b78656a0 identify improvements - forgot show()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3090 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 17:06:00 +00:00
rabla
6909f15f44 identify improvements
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 17:02:01 +00:00
rabla
0919dd84ed action icon
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 16:38:36 +00:00
rabla
8338cace6a shorter names
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3087 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 13:50:45 +00:00
rabla
049caa5b6a resize according to type
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3086 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 13:15:31 +00:00
rabla
bf95d02944 refresh button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3085 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 12:22:03 +00:00
rabla
1c9c414504 better update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 11:40:10 +00:00
rabla
add6a06966 update better
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3083 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 11:16:08 +00:00
rabla
5f5468c659 font size fixed in map, but probably there is still a problem with offset
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 09:49:31 +00:00
rabla
ab7e2e2677 font size fixe in Postscript
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-05 09:23:32 +00:00
mhugent
9b0c6bd988 changed QgsOgrProvider::getNextFeature(bool) such, that the direct geos creation without WKT import is used. Norway can now be selected on the european map in reasonable time :-)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-04 20:16:50 +00:00
g_j_m
ae77b43aa9 Only try to clip lines and polygons if we know for sure that they need
clipping (speeds up redraws, especially for polygons).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-04 06:37:59 +00:00
gsherman
e0755ad947 Minor changes to allow compilation on Slackware 10.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-03 07:01:58 +00:00
stevehalasz
82d77297e3 Cleanup. Layer order is implicit in project file.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-02 14:35:07 +00:00
rabla
152ab639cd box switch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-02 11:48:05 +00:00
rabla
789c6eeb99 fixed crash if input combo is empty
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-02 11:26:41 +00:00
rabla
793516869b output encoding
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-02 11:19:47 +00:00
rabla
7abe1ad2b6 markers width scale, oversamling, select
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-02 09:45:54 +00:00
larsl
14bc188f7d Added #include <cmath> to qgsclipper.cpp to make it build on my system
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3061 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 21:14:23 +00:00
g_j_m
f43d1a0bb1 - Show a '1:x' scale where x is less than 1 as 'y:1', where y = 1/x
- Misc. code layout changes to improve readibility


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3060 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 20:33:15 +00:00
g_j_m
786aee1293 Change temp variable type from float to double to reduce chance of loss
of precision when zooming in lots


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 19:14:12 +00:00
rabla
15ee81a966 toUnicode for attributes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3058 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 12:28:09 +00:00
rabla
66ed18aac3 fromLocal8Bit for attributes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 12:27:14 +00:00
g_j_m
b592f8eb09 - improved error message when a relation with a geometry column is found
for which the user doesn't have select permissions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-01 01:13:41 +00:00
stevehalasz
943788eaab Don't refresh the canvas on project read for each plugin. This is the fix for bug #1167668. This has the side-effect of not showing the
north arrow or copyright notice at app startup or for new projects. I think this is fine. The alternative is to have the map canvas emit
renderComplete in these situations. This requires a QPainter though, and it doesn't seem worthwhile to create one for this purpose.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 18:20:57 +00:00
rabla
3d359af8f0 use correct band type for readValue
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3053 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 14:53:24 +00:00
g_j_m
b03fcd4381 - Initial implementation of polygon clipping to avoid X11 zoom problems
- #define to only do the X11 fix when compiled for X11
- Further optimisations of linestring clipping
- Better code comments
- Removal of some duplicated code


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3052 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 10:47:53 +00:00
rabla
f88a6f3ac4 fixed close with x
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 16:54:16 +00:00
rabla
e6ae19e854 fix crash on start edit - check if edited
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3050 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 16:40:35 +00:00
rabla
a144b02e6a new markers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 15:29:23 +00:00
rabla
b6e5c476b8 save setting when new object is created
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 14:39:56 +00:00
rabla
7d6f531bd7 draw full paper on printer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3047 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 14:23:25 +00:00
rabla
36ba5b0b25 add 1 pixel to rectangles only in preview
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 14:15:02 +00:00
rabla
b9bda927a2 set paper orientation in printer dialog from composition
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 14:02:11 +00:00
rabla
c5f4fd4c6d fixed scale
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 13:49:19 +00:00
rabla
e874f774f1 +invalidate() - bugfix for crash on delete
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3043 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 08:55:11 +00:00
g_j_m
046d2d750c - warn and refuse to load the layer if we don't have select permissions
on the table that is being loaded
- better conformance to the code style guidelines
- added tr() to some dialog box text


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-30 01:58:11 +00:00
timlinux
656fead2a6 Dont build designer plugins until further notice
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-29 23:12:44 +00:00