timlinux
76694f5de7
Apply warnings for unused vars patch from karl
...
[ 1325870 ] removing trivial warnings (unused variables)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 18:30:07 +00:00
timlinux
b7a9443c8a
Applied patch from Karl
...
[ 1305377 ] constructor initialization order warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@4002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 23:59:13 +00:00
g_j_m
bbf9ffd04c
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@3981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-26 03:32:16 +00:00
g_j_m
84f816b79d
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@3976 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-25 05:09:03 +00:00
morb_au
0468ae83d8
More changes for Qt4 porting readiness.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3948 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:11:18 +00:00
timlinux
08774d5013
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@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
morb_au
c911336f91
More changes for Qt4 porting readiness.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3915 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:30:38 +00:00
morb_au
e01c483064
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@3561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-09 20:44:28 +00:00
g_j_m
005b33f596
Scale bar can now do units cm if appropriate
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3405 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-16 06:47:45 +00:00
gsherman
de40711d7e
Fixes to backport to Qt3.2
...
Also removed debug hook function from the gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@3395 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-15 00:08:55 +00:00
gsherman
7ec2003a65
Backport to Qt 3.2
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3392 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-14 16:39:12 +00:00
g_j_m
08839bd355
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@3372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 20:03:16 +00:00
g_j_m
171439368e
Allow for map units of nautical miles
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3355 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 00:02:07 +00:00
g_j_m
99f7bb0163
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@3352 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 08:29:32 +00:00
g_j_m
dcd7f27e5d
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@3351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 07:54:25 +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
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
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
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
g_j_m
143a17d836
Remove the stuff from the canvas when the plugin is removed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 23:07:57 +00:00
g_j_m
e3f307e610
Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
stevehalasz
c9ad2edc9c
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@3054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 18:20:57 +00:00
g_j_m
dca4ab94e3
More .cvsignore files. Should be all done now.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
timlinux
977ff433ad
Refactored QgsCoordinateTransform to QgsMapToPixel
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 02:52:37 +00:00
gsherman
fcf4f353bb
Merged changes from the 0.6.0 release branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
timlinux
f3d77eb924
Save colour of scale bar in project too...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2336 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 00:25:43 +00:00
timlinux
f7d95cde22
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@2335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:56:34 +00:00
gsherman
b69b0996f1
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@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
timlinux
c7ba33f0f2
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@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
gsherman
f5c424a8d6
Merged changes in 0.5 release branch to MAIN
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00
larsl
6cdab1d672
** 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@1995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 14:58:05 +00:00
gsherman
e0fc262363
* 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@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
04e51f8fa5
Use the new unified plugins toolbar.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
gsherman
c5eefa522d
Qmake project files for win32 build
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +00:00
jobi
d7610c95a2
** made ready for release
...
** added interface version for libqgis
git-svn-id: http://svn.osgeo.org/qgis/trunk@1710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-30 11:30:40 +00:00
jobi
b103db421c
** fix bug #981159
...
** cleaned warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@1697 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-28 11:08:18 +00:00
timlinux
093db91552
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@1688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-27 00:09:25 +00:00
timlinux
9590331f19
Fix for const const error caused by incorrect version of designer.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1667 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-24 11:51:48 +00:00
gsherman
eb546f40e6
Qmake project files for building on Windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
sbr00pwb
940459df1e
Tidied up scale bar plugin for release
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1658 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-22 21:17:50 +00:00
timlinux
dd50c95bc0
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@1645 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 23:58:14 +00:00
timlinux
c220d470fd
Buffer size to 1
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 15:44:02 +00:00
timlinux
dbe6c870de
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@1630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 12:36:16 +00:00
larsl
27c8ec798e
** 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@1623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-18 15:06:55 +00:00
gsherman
d8e87cbaa1
Changes to support Windows version
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
sbr00pwb
b52c7eed86
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@1558 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 15:22:19 +00:00
sbr00pwb
077dcef119
Fixed scaling issues for scale bar plugin and implemented colour selection
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 15:41:40 +00:00
sbr00pwb
f6a539419d
First commit of the scale bar plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1547 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 16:03:02 +00:00