1276 Commits

Author SHA1 Message Date
timlinux
074f62b406 ** Fix for bug [ 973922 ] Overview shows layers in wrong order
** Fixed show stopper bug where maplayerregistry wasnt being cleared properly on file new

** Added setZOrder which will be used in next commit to fix projectio zorder problem


git-svn-id: http://svn.osgeo.org/qgis/trunk@1644 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 23:05:28 +00:00
timlinux
3b03172e88 Fix anoying mapcanvas isnt freezing during raster layer add bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@1643 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 20:30:28 +00:00
timlinux
b8e3d36db0 Ahem - fixed bug causing layers to annoyingly redraw while loading caused by yours truly...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1642 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 20:26:41 +00:00
gsherman
914227f820 Updated splash screen for upcoming 0.4 release
git-svn-id: http://svn.osgeo.org/qgis/trunk@1641 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 19:42:30 +00:00
gsherman
b114606eef Restored to revsion 1.52. Revisions 1.53+ were causing crashes, hangs, or
display problems.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1640 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 19:12:52 +00:00
gsherman
5ef01ce75c Restored to revsion 1.53. Changes at 1.54 were causing hangs/crashes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1639 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 18:43:58 +00:00
mhugent
13ae5db6b0 fixed more memory leaks. Enabled delete statement in qgsvectorlayer.cpp, l. 595
git-svn-id: http://svn.osgeo.org/qgis/trunk@1638 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 16:04:28 +00:00
mhugent
49208bc65f fixed two memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk@1637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 14:47:30 +00:00
mhugent
0d702bc792 fixed layout which was lost somehow
git-svn-id: http://svn.osgeo.org/qgis/trunk@1636 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 13:09:36 +00:00
mhugent
299296c403 graduated and continuous renderers now copy only the required attributes, which makes rendering faster, especially if there is much attribute information associated with a layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 12:53:53 +00:00
mhugent
264a1b0330 automatically use field precision in equal interval classification, implemented getNextFeature(list) in the postgresprovider. This change will not take effect until the other providers implement this too and i can change the mechanism for attribute loading for renderers. Delimitedtextprovider and grassprovider are still left
git-svn-id: http://svn.osgeo.org/qgis/trunk@1634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-20 06:29:11 +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
bd87304713 Add buffer around scale bar text
git-svn-id: http://svn.osgeo.org/qgis/trunk@1631 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 12:41:29 +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
timlinux
70594df0b5 Change to hourglass cursor during lengthy operations
git-svn-id: http://svn.osgeo.org/qgis/trunk@1629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 06:34:41 +00:00
gsherman
aadc684c37 Changes to vector renderer gui layout. Windows Qt version cannot set
the background color of a button. The controls have been changed to use
the layout similar to Qt Designer (QLabel with color and QToolButton for
changing the color)


git-svn-id: http://svn.osgeo.org/qgis/trunk@1627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-19 05:35:59 +00:00
larsl
fa31f15854 Added some code for GPSBabel import
git-svn-id: http://svn.osgeo.org/qgis/trunk@1626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-18 23:11:45 +00:00
timlinux
d3073f8a65 Change capture point behaviour on X11 qt - lmb puts coords to X selection instead of X clipboard
git-svn-id: http://svn.osgeo.org/qgis/trunk@1625 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-18 21:43:56 +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
larsl
980ea4363c Fixed Makefile bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@1622 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-18 14:19:42 +00:00
timlinux
18f54183aa Petes nice new icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@1607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 12:24:44 +00:00
sbr00pwb
e856ae3ca9 updated icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@1606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 10:29:22 +00:00
sbr00pwb
906c0da8df Now allows multiple tables to be added at the same time.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 08:42:23 +00:00
gsherman
033798dbec Added include of qapplication.h when building on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:29:43 +00:00
gsherman
48b01324d1 Modifications to allow compilation under windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:27:07 +00:00
timlinux
bf22f75eab Added qgsvectorfilewriter stuff. Minor formatting changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 22:03:09 +00:00
timlinux
d57a8643bf Beginnings of generic vector file writer - incomplete and doesnt do anything useful yet except has abilty to make a shapefile with a couple of user defined fields e.g. to create a new point shapefile:
QgsVectorFileWriter myFileWriter("/tmp/test.shp", wkbPoint);
  if (myFileWriter.initialise())
  {
    myFileWriter.createField("TestInt",OFTInteger,8,0);
    myFileWriter.createField("TestRead",OFTReal,8,3);
    myFileWriter.createField("TestStr",OFTString,255,0);
    myFileWriter.writePoint(&theQgsPoint);
  }


git-svn-id: http://svn.osgeo.org/qgis/trunk@1601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 22:02:30 +00:00
timlinux
fd9ede2af5 Wind 32 support for package path - which will hopefully ensure pyramid and overview mini icons are displayed on legend entry now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 21:59:51 +00:00
larsl
8f4734d469 More GPS import code
git-svn-id: http://svn.osgeo.org/qgis/trunk@1599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 11:36:29 +00:00
larsl
0ee9136687 ** Added skeleton code for importing other GPS file formats using GPSBabel
git-svn-id: http://svn.osgeo.org/qgis/trunk@1598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 09:30:19 +00:00
gsherman
19c6f0ae6f Changes to support Windows
** qgsprojectio requires casting QString to const char * prior to writing,
otherwise the address of the object is written rather than the content


git-svn-id: http://svn.osgeo.org/qgis/trunk@1597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 05:49:52 +00:00
timlinux
8d7709a95f Added small icon displayed on raster legend showing whether this layer is in overview or not
git-svn-id: http://svn.osgeo.org/qgis/trunk@1596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:17:03 +00:00
timlinux
f3ee5d7bab Added small icon displayed on raster legend showing whether this layer is in overview or not. This icon needs "petification!". Need to do the ame for vector once I figure out where to put the code!
git-svn-id: http://svn.osgeo.org/qgis/trunk@1595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:13:45 +00:00
timlinux
e689b66382 Small icon displayed on raster legend showing whether this layer is in overview or not. This icon needs "petification!".
git-svn-id: http://svn.osgeo.org/qgis/trunk@1594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:12:22 +00:00
timlinux
583158b1a7 Add all layers to overview
git-svn-id: http://svn.osgeo.org/qgis/trunk@1593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:18:00 +00:00
timlinux
d6f837107e Added new menu / toolbar option to add all loaded layers into the overview.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:15:49 +00:00
timlinux
ac0ee2e7b1 Icon for add all layers to overview
git-svn-id: http://svn.osgeo.org/qgis/trunk@1591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:14:05 +00:00
larsl
31ad9a1ce1 Added link to GPSBabel in the GPS download/upload help text
git-svn-id: http://svn.osgeo.org/qgis/trunk@1589 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 23:01:41 +00:00
larsl
10505f49de ** More preparation for GPS upload code
** New function in QgisInterface - getLayerRegistry()


git-svn-id: http://svn.osgeo.org/qgis/trunk@1588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 22:37:38 +00:00
larsl
50251f65b5 Cleaned up the GPX parsing
git-svn-id: http://svn.osgeo.org/qgis/trunk@1587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 21:53:32 +00:00
mcoletti
23fbd1c935 nextFeature() now sets feature type name
git-svn-id: http://svn.osgeo.org/qgis/trunk@1586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 20:59:45 +00:00
mcoletti
9134cd7b1f Now properly propogate mTypeName in copy ctor and assignment operator.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 20:32:57 +00:00
timlinux
f86f900f9d Force new project added to plugin iface
git-svn-id: http://svn.osgeo.org/qgis/trunk@1584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 11:03:59 +00:00
timlinux
4cbdbf5bfb Added capability for plugins to clear the current project ignoring the project dirty flag (ie force new project).
git-svn-id: http://svn.osgeo.org/qgis/trunk@1583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 11:00:52 +00:00
timlinux
7b611981e2 Added qgispoint to libqgis - needed for passing raster objects through plugin iface (not sure why).
git-svn-id: http://svn.osgeo.org/qgis/trunk@1582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 10:02: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
timlinux
83b19d218b addRasterLayer to plugin interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@1579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 00:10:28 +00:00
timlinux
3199508db1 Added addRasterLayer(QgsRasterLayer *) to the plugin interface. This allows plugins to construct their own raster object, set its symbolisation and the pass it over to the app to be loaded into the canvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 00:08:46 +00:00
timlinux
0daeaf15f5 Removal of some genericly useable raster methods into qgsrasterlayer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1577 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 22:04:47 +00:00
timlinux
72089002c9 Removed gdal deps in qgisapp.
Moved raster load stuff to a group at the end of qgisapp.cpp file.

Removed generically useable raster fns from qgisapp to static methods of qgsrasterlayer.

Some renaming of variable names etc.

Added addRaster(QgsRasterLayer *) private method to qgisapp - which is intended for use via plugins that want to load  'ready made' / symbolised raster layer into the mapCanvas.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 22:01:40 +00:00