2293 Commits

Author SHA1 Message Date
telwertowski
2e99595690 Add HAVE_QTMAC conditional to configure. Use it to suppress compile-time
paths which cause errors when building with Qt/Mac which obtains paths
from qApp->applicationDirPath() at runtime.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:16:57 +00:00
telwertowski
dafb74805b #ifdef Q_OS_MACX needs #include <qapplication.h> for qApp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3141 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 06:56:23 +00:00
g_j_m
3dad95ceeb The extent display on the status bar now sets the number of decimal
places automatically, so as to always show enough to cover the size
of the extent


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 05:40:45 +00:00
gsherman
a05ea0293a Applied patches from Markus Neteler to allow compilation on Qt 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 05:04:18 +00:00
mhugent
231ac4d493 use postgis srid instead of hardcoded -1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 20:49:53 +00:00
timlinux
c12a870fe2 Fix for [ 1181249 ] Crash when loading shape files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 11:51:30 +00:00
g_j_m
67fbb91aac Yet more fixes for bugs in the X11 zoom clipping code. Hopefully all sorted
now. Still need to optimise the code a bit.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 10:23:06 +00:00
g_j_m
e6374fd6e2 Fix for bug 1180930.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 10:21:42 +00:00
rabla
67712e9781 init mTotal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 09:46:29 +00:00
g_j_m
00dbef3624 - Fix X11 zoom bug for multipoints
- some code layout changes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 07:06:02 +00:00
g_j_m
4a8992cde1 Bug fix: drawing of multilinestrings was causing crashes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 04:36:31 +00:00
timlinux
0e29b63637 Data binding on ellipsod and projection controls in custom projection dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3131 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-12 00:16:42 +00:00
timlinux
6d8eaf9e6c Ellipsoid list now populated from sql ite db too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:42:41 +00:00
timlinux
270a7bf59a Porjections list now shows list of available projection families
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:36:25 +00:00
gsherman
50d9c25814 Applied patches from Markus Neteler to allow compilation on Qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3128 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:35:07 +00:00
timlinux
547e6969e2 Local copy of user projection database now made in ~/.qgis/ if it does not already exist
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:11:18 +00:00
gsherman
bd0fcafb90 Fixed default projection (WGS 84) so it is now selected when the project
properties dialog is opened and no projection has been set.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3126 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 17:09:00 +00:00
timlinux
a78b7105cf Take dtor out of slots section
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 16:35:18 +00:00
rabla
f42a0648b2 repaint changed region
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3124 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 16:28:03 +00:00
timlinux
bb9f0f39d5 Added custom projection maker to gui menu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3123 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 13:29:11 +00:00
timlinux
68f2f81dbc Added custom projection builder to app menus. Doesnt do anything yet exept pop up the dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3122 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 13:24:41 +00:00
rabla
bf32308705 toolbar title
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 12:22:56 +00:00
g_j_m
6b4b7f8ad9 - further changes for the X11 zoom bug
- clipped polygons now have correct borders
- polygons now have borders back
- multipolygons now render holes correctly
- multipoints now appear on the canvas
- polygon redraw speed still a bit slow
- some odd polygon filling from shape files (will look at later)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3120 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 11:14:49 +00:00
timlinux
b2c22fa355 SQLite user projections database
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3119 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 23:51:30 +00:00
timlinux
906ef71810 Cleaned out some duplicate includes from widgets/projectionselector/qgsprojectionselector.cpp
Added initial start of user custom projection dialog (doesnt do anything much yet and not wired into gui yet)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 23:50:32 +00:00
mhugent
e1aa7dc735 improved dialog for creating a new vectorlayer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3117 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 12:51:30 +00:00
timlinux
07a3b797f7 Fix windows ifdef
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 12:22:44 +00:00
gsherman
bdc28355d7 Fixes to Makefile.am related to merge of Projections_Branch into HEAD
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3115 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 07:48:33 +00:00
gsherman
190f9df059 Fix for missing backslash in Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 07:23:42 +00:00
gsherman
86c976272f ** Merged Projections_Branch into HEAD
Problems:
      Polygon outlines are not drawn. This was checked twice and no cause
      was found.

      Projections do not work in all circumstances

      Note that both the proj4 library and sqlite3 are now required. The
      build system has not been modified to test for these yet.

      Qt 3.3.x is required to build this source tree.

      Make sure to increment the EXTRA_VERSION in configure.in when
      committing changes.

      Make sure to update the Changelog with each commit


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 07:04:07 +00:00
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