295 Commits

Author SHA1 Message Date
larsl
d63124d8e5 ** Hooked up the GPS gui to code that uses gpsbabel to import lots of GPS file
formats to GPX


git-svn-id: http://svn.osgeo.org/qgis/trunk@1649 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-21 13:50:37 +00:00
jobi
0a96c5bf45 ** Added check for wrong UI version to make release
** fixed wrong versions and DOS endlines


git-svn-id: http://svn.osgeo.org/qgis/trunk@1647 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-21 10:23:33 +00:00
timlinux
2e79bd4e26 Got tired of always resetting my GRASS gidbase dir everytime qgis restarts - added it to qsettings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1646 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-21 00:15:49 +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
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
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
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
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
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
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
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
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
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
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
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
ed5711fccb Legen Item font updates.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1574 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 17:25:58 +00:00
timlinux
e5e74b9f02 Add version name to splash
git-svn-id: http://svn.osgeo.org/qgis/trunk@1572 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 15:52:10 +00:00
timlinux
4310f95bd0 Capture Point changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1570 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 15:02:32 +00:00
gsherman
5366915385 Info about Windows version information and bumped extra version
git-svn-id: http://svn.osgeo.org/qgis/trunk@1564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 19:24:28 +00:00
larsl
9b01ff1547 ** Let the user choose GPS protocol and feature type to download
git-svn-id: http://svn.osgeo.org/qgis/trunk@1556 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 13:30:27 +00:00
gsherman
caeb76e04d **Current extent support added to overview map
**Added acetate objects and support to QgsMapCanvas


git-svn-id: http://svn.osgeo.org/qgis/trunk@1555 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-11 01:04:08 +00:00
timlinux
3fb49d8efd 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@1554 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 23:10:16 +00:00
sbr00pwb
1375103d0b *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@1551 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 15:38:53 +00:00
mcoletti
e7232480f5 fixed version numbers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 21:36:33 +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
timlinux
597751ea24 Added "Show in overview" option to vector popup menu.
Removed overview stuff from debug only version of qgisapp.

Did plumbing for enableing disabling layers in overview from popup context menu.

Whoopdeedooo. :-)

All that remains to do now is sort out syncronisation of layer ordering between main map canvas and overview canvas.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1543 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 12:48:21 +00:00
timlinux
d3e5e2456c Fixed empty .dbf crashing bug. Added transparency slider t raster popup menu.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1541 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 08:19:42 +00:00
larsl
a7d36ce73d ** Hid the "GPS download file importer" tab
git-svn-id: http://svn.osgeo.org/qgis/trunk@1538 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 22:18:16 +00:00
larsl
449c0f0555 ** Call GPSBabel using QProcess instead of system(), show a progress bar while
GPSBabel is running, show the messages printed to GPSBabel's stderr if
   something goes wrong


git-svn-id: http://svn.osgeo.org/qgis/trunk@1537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 20:39:45 +00:00
larsl
d0a02efe19 ** Started adding GPS data download capability. Only tracklogs from Garmin
devices for now, routes and waypoints and Magellan support will come in
   the near future.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 14:16:35 +00:00
jobi
3144fa49c2 ** updated ts files
** fixed German translation
** added translation support to external help applications (grid_maker and gpsimporter)


git-svn-id: http://svn.osgeo.org/qgis/trunk@1535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 13:28:35 +00:00
gsherman
16306a0d26 Updated for changes @ devel17
git-svn-id: http://svn.osgeo.org/qgis/trunk@1534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 04:08:48 +00:00
larsl
1cf87b6a0a ** Changed some calls to QMessageBox::question() to QMessageBox::information()
since Qt 3.1.2 doesn't have question()


git-svn-id: http://svn.osgeo.org/qgis/trunk@1532 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-07 16:45:03 +00:00
timlinux
e466391d9c Implemented map overview using maplayers rather than snapshots of a raster layer.
Implemented QgsMapLayerRegistry  - s singleton object that keeps track of loaded layers. When a layer is added an entry is made in the registry. When a layer is removed, the registry emits a layerWillBeRemoved signal that is connected to any mapvcanvas, legend etc that may be using the layer. The objects using the layer can then remove any reference they make to the layer - after which the registry deletes the layer object.

This fixes a problem with adding an overview map which caused qgis to crash when a layer was removed because it was trying to delete the same pointer twice.

Added a better implementation of the overview map below map legend.

Refactoring in qgis app - all private members now adhere to qgis naming conventions (prefixed with m).


Import Note *** ONLY THE MAPLAYER REGISTRY SHOULD DELETE LAYERS NOW ***


git-svn-id: http://svn.osgeo.org/qgis/trunk@1530 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-07 08:43:53 +00:00
timlinux
b3ca97e496 Added getPaletteAsPixmap function to raster and display on raster props
dialog. Also added gdaldatatype to raster props metadata dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:29 +00:00
timlinux
cfe1aa0842 Added getPaletteAsPixmap function to raster and display on raster props
dialog. Also added gdaldatatype to raster props metadata dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:00 +00:00
jobi
8784b8c27e ** fixed tims typo with GDAL_LDADD
** cleaned pluginnames


git-svn-id: http://svn.osgeo.org/qgis/trunk@1523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 10:23:47 +00:00
jobi
ea2b00d4c5 ** fixed bug #965720 by adding math.h for gcc 3.4 problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@1519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 14:05:01 +00:00
timlinux
cba9c37afe MapCanvas changes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1516 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 14:05:44 +00:00
timlinux
2176bf9cef Print functionality...a work in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1496 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:08:53 +00:00
gsherman
1db2014331 Bumped extra version to 9
Added change log entries


git-svn-id: http://svn.osgeo.org/qgis/trunk@1494 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:43:20 +00:00
timlinux
f561a3f082 Fix poorly placed status text on splash screen.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1492 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 23:48:10 +00:00
gsherman
17b55d9552 Added info about spit plugin fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:53:10 +00:00
jobi
1faad2bbc8 ** cleanup of gcc warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@1484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:05:13 +00:00
timlinux
0f6b1f409f *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@1481 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:07:07 +00:00
gsherman
56a86b63ee Added theme selection to the user preferences dialog. Currently there is only
one theme (default) available. The preferences dialog examines the themes
directory and adds each subdir to the list of available themes (in a combobox).
If a theme subdirectory doesn't contain all the required images and the user selects it, the toolbars and menus will be blank the next time QGIS is started.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1479 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 06:44:02 +00:00
gsherman
c5e88d04f9 Added QgisApp::setTheme() to set the icons from png images:
Inits the toolbar icons by setting the icon for each action.
 All toolbar/menu items must be a QAction in order for this
 to work.

 When new toolbar/menu QAction objects are added to the interface,
 add an entry below to set the icon

 PNG names must match those defined for the default theme. The
 default theme is installed in <prefix>/share/qgis/themes/default.

 TODO:Next step is to allow user specified icon sets by loading the
 images from a theme directory other than "default". This will require
 adding information to preferences to allow selecting the theme.

 New core themes can be added by creating a subdirectory under src/themes
 and modifying the appropriate Makefile.am files. User contributed themes
 will be installed directly into <prefix>/share/qgis/themes/<themedir>.

 TODO: Create a theme preferences dialog that parses the themes directory
 and builds a list of themes (ie subdirectories) for the user to
 choose from.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 05:16:58 +00:00
larsl
9074addc2b ** Added some calls to std::string::c_str() to hopefully make Qt without STL
happy


git-svn-id: http://svn.osgeo.org/qgis/trunk@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
8621f4d5d0 ** Fixed a bug that caused the legend checkboxes to always be unchecked when
using Qt 3.1.2 by removing QgsLegendItem::setOn(), don't know how this
   affects newer Qt


git-svn-id: http://svn.osgeo.org/qgis/trunk@1476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 11:30:46 +00:00