46 Commits

Author SHA1 Message Date
g_j_m
05cb4e4c4a Modify Makefile.am files to get qgis to compile from a clean cvs checkout. No guarantees that it actually will compile yet, but here's hoping (to test a clean
checkout, I need to commit the changes, so that I can do a clean checkout to test if it works).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-26 03:32:16 +00:00
g_j_m
329aef52c3 Bug fix. Compiling under QT3 didn't work. The changes here are an attempt to fix the problem, but need reviewing by morb_au first before they are applied to all of the other directories that have the same problem.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3976 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-25 05:09:03 +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
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
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
7ccf59c89f Add $(GDAL_CFLAGS) and $(GEOS_CFLAGS) to Makefile.am's. Addresses bug 1212152 and Martin Dobias' email of 8 June 2005.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-09 20:44:28 +00:00
g_j_m
c2e3b3de95 Scale bar can now do units cm if appropriate
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3405 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-16 06:47:45 +00:00
gsherman
98e85c5e53 Fixes to backport to Qt3.2
Also removed debug hook function from the gui


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3395 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-15 00:08:55 +00:00
gsherman
1b5087d9c2 Backport to Qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3392 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-14 16:39:12 +00:00
g_j_m
88eb798a8a Bug fix for negative map units per pixel values causing a zero length scale bar.
Use the QGis::units enum names instead of integers
Cope with the new QGis::UNKNOWN units value


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 20:03:16 +00:00
g_j_m
e86c7ea9a9 Allow for map units of nautical miles
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3355 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 00:02:07 +00:00
g_j_m
1020657be1 Made the unit display a bit better (km, m, mm, foot, feet, degree, degrees)
A couple of formatting changes
Remove windows #ifdef that wasn't necessary (I hope :)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3352 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 08:29:32 +00:00
g_j_m
1b62206c8d Give a sensible scale bar when the length is less than one map unit
Is actually more of a bug fix than a new feature :)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 07:54:25 +00:00
g_j_m
c9b4dfa020 moved scale bar menu into the decoration plugin menu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:56:01 +00:00
g_j_m
3c40292773 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/qgis@3232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 05:21:34 +00:00
gsherman
1e12404352 Fix for incorrect class names in the ui.h files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 06:57:41 +00:00
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
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
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
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
g_j_m
651c647cc8 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
timlinux
d7e6f025c7 Refactored QgsCoordinateTransform to QgsMapToPixel
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 02:52:37 +00:00
gsherman
9493aca366 Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
timlinux
4adfaaa909 Save colour of scale bar in project too...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2336 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 00:25:43 +00:00
timlinux
b3f339e35d Scale bar settings saved with project and minor tweaks to north arrow and copyright label plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:56:34 +00:00
gsherman
9504d805ae Fixes to get plugins to compile under WIN32
Changes to qgislib.pro to include recently added classes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
timlinux
92e1be151a Implemented state handling via qgsproject for copyright label.
Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
gsherman
0c60c51c39 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00
larsl
8f97632f5b ** Fixed bug in scale_bar plugin that would cause QGIS to freeze when a
layer with one point was loaded


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 14:58:05 +00:00
gsherman
96a0e85577 * Fixed bug that caused qgis to crash when a plugin was unloaded. All plugins
must now have a QAction member pointer that is created when the GUI is
  initialized in initGui(). This pointer is used in the unload() method to
  remove the QAction and associated icon from the plugins toolbar.

* Updated splash for upcoming 0.5 release


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
dbd4f6e281 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
gsherman
2b17ddeba2 Qmake project files for win32 build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +00:00
jobi
dd58213216 ** made ready for release
** added interface version for libqgis


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-30 11:30:40 +00:00
jobi
db453e2eb6 ** fix bug #981159
** cleaned warnings


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1697 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-28 11:08:18 +00:00
timlinux
48a46d0a40 Made the scale bar units intelligently switch between m and km as appropriate.
Made the scale bar max lenght 1/3 screen rather than 1/2


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-27 00:09:25 +00:00
timlinux
a8cee634d5 Fix for const const error caused by incorrect version of designer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1667 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-24 11:51:48 +00:00
gsherman
54d80c6840 Qmake project files for building on Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
sbr00pwb
86aa4dd52d Tidied up scale bar plugin for release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1658 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-22 21:17:50 +00:00
timlinux
c6accaff35 Complete buffering so that bar as well as text will be visible on both light and dark surfaces.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1645 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 23:58:14 +00:00
timlinux
7a6aea525d Buffer size to 1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 15:44:02 +00:00
timlinux
daa253205c Buffer text of scale bar with white so its visible on both dark and light backgrounds.
Pete to do same for scale bar lines themselves?


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 12:36:16 +00:00
larsl
9f030d5145 ** Added an option for setting the length of the scale bar to closest
integer < 10 times power of 10


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-18 15:06:55 +00:00
gsherman
75e79f7427 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
sbr00pwb
eadd6bd115 Fixed bug where QGIS attempts to render scale bar when no layers are added causing QGIS to freeze
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1558 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 15:22:19 +00:00
sbr00pwb
7946f68d59 Fixed scaling issues for scale bar plugin and implemented colour selection
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 15:41:40 +00:00
sbr00pwb
f7ed3d787b First commit of the scale bar plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1547 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 16:03:02 +00:00