gsherman
62b119afdb
Added include of qapplication.h when building on windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:29:43 +00:00
gsherman
c1b936f9a4
Modifications to allow compilation under windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-17 04:27:07 +00:00
timlinux
8ca71e58a4
Added qgsvectorfilewriter stuff. Minor formatting changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 22:03:09 +00:00
timlinux
11b80cda76
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/qgis@1601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 22:02:30 +00:00
timlinux
1a1046d703
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/qgis@1600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 21:59:51 +00:00
larsl
ffa989d545
More GPS import code
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 11:36:29 +00:00
larsl
e1a3167811
** Added skeleton code for importing other GPS file formats using GPSBabel
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 09:30:19 +00:00
gsherman
d876c44223
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/qgis@1597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 05:49:52 +00:00
timlinux
b9f0cff1d0
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/qgis@1596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:17:03 +00:00
timlinux
c84bf644f8
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/qgis@1595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:13:45 +00:00
timlinux
6f20152588
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/qgis@1594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-16 00:12:22 +00:00
timlinux
a7b1e2af47
Add all layers to overview
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:18:00 +00:00
timlinux
ad1a43a3c0
Added new menu / toolbar option to add all loaded layers into the overview.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:15:49 +00:00
timlinux
f327f38c88
Icon for add all layers to overview
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-15 23:14:05 +00:00
larsl
a6effb9d1f
Added link to GPSBabel in the GPS download/upload help text
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1589 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 23:01:41 +00:00
larsl
85255638d6
** More preparation for GPS upload code
...
** New function in QgisInterface - getLayerRegistry()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 22:37:38 +00:00
larsl
99225b3564
Cleaned up the GPX parsing
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 21:53:32 +00:00
mcoletti
70e62d30ab
nextFeature() now sets feature type name
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 20:59:45 +00:00
mcoletti
b2a48b8e5e
Now properly propogate mTypeName in copy ctor and assignment operator.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 20:32:57 +00:00
timlinux
9a837789c4
Force new project added to plugin iface
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 11:03:59 +00:00
timlinux
901f42c58d
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/qgis@1583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 11:00:52 +00:00
timlinux
505ef72cf2
Added qgispoint to libqgis - needed for passing raster objects through plugin iface (not sure why).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 10:02: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
timlinux
ebb2155b03
addRasterLayer to plugin interface
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 00:10:28 +00:00
timlinux
bafe559bac
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/qgis@1578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 00:08:46 +00:00
timlinux
3a2f981762
Removal of some genericly useable raster methods into qgsrasterlayer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1577 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 22:04:47 +00:00
timlinux
fb5c25e1af
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/qgis@1576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 22:01:40 +00:00
timlinux
d51265f219
I commited this by mistake earlier - this just cleans up a little, but the 'Where clause' box doesnt do anything yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1575 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 17:45:39 +00:00
timlinux
a426311a7c
Legen Item font updates.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1574 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 17:25:58 +00:00
timlinux
297c217561
Change legend item fonts to arial 10pt for consistancy with rest of gui and to make font size more reasonable for Winders Users.
...
In the next release I will softcode global font selection in qgsoptions, but I dont have time to do that right now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1573 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 17:17:14 +00:00
timlinux
202cf6f1ff
Add version name to splash
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1572 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 15:52:10 +00:00
timlinux
1d7da06250
Added version name to splash.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1571 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 15:50:37 +00:00
timlinux
2e023d7ba8
Capture Point changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1570 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 15:02:32 +00:00
timlinux
c88d99c7a2
Implemented a new map cursor type : Capture Point (little pencil icon on your toolbar). At the moment clicking on the map in capture point mode will cause QgsMapCanvas to emit an xyClickCoordinate(QgsPoint) signal which is picked up by qgisapp and the coordinates are placed into the system clipboard.
...
In release 0.5 this will be extended to provide simple point vector file data capture / digitising facility. This will be implemented by means of a plugin which will utilise the aforementioned xyClickCoordinate(QgsPoint) signal.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1569 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 14:59:21 +00:00
timlinux
8e03def5f5
Added signal and mouse mode for capturing points.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1568 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 02:19:43 +00:00
timlinux
da46ed0dba
Added digitising point icon.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1567 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 02:18:24 +00:00
larsl
ae4547df80
Make 'no data' handling consistent in the GPX provider and remove isnan() since it breaks Windows builds
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 22:02:12 +00:00
gsherman
587a81065b
Added ifdef's for OSX compilation (per J.Collord)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1565 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 19:54:43 +00:00
gsherman
f84f59e5aa
Info about Windows version information and bumped extra version
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 19:24:28 +00:00
gsherman
dd8b8a7f89
Massive changes to provide Windows support. This is a work in progress but
...
has been tested and it compiles under unix. Future changes to the code must
be aware of multiplatform issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1563 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 18:27:11 +00:00
gsherman
e169a5968b
Fixed interect function to get rid of >? operator (windows doesn't like
...
it)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1562 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 18:05:03 +00:00
gsherman
f376f878c7
Added WIN32 support -- Edit with caution -- we now are supporting multiple
...
platforms from one code base!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 17:26:47 +00:00
timlinux
55b0d4bb02
Minor bugfix for some dodgy looking ternary operators.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1560 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 22:53:14 +00:00
timlinux
1bcccf261a
Fix canvas zorder syncing problems between overview and mapcanvas.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1559 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 17:09:46 +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
gsherman
c315e89a26
Added QgsMapLayerRegistry to libqgis sources
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 14:47:19 +00:00
larsl
6477f9096c
** Let the user choose GPS protocol and feature type to download
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1556 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 13:30:27 +00:00
gsherman
6bffe44f68
**Current extent support added to overview map
...
**Added acetate objects and support to QgsMapCanvas
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1555 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 01:04:08 +00:00
timlinux
e8c159c7c8
Modified projectio (serialisation and deserialisation of project files) to use maplayerregistry and not mapcanvas.
...
Implemented state handling of 'showInOverview' property in project io.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1554 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 23:10:16 +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