275 Commits

Author SHA1 Message Date
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
larsl
838098df43 ** Show the legend widgets in debug mode too
git-svn-id: http://svn.osgeo.org/qgis/trunk@1467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 18:21:54 +00:00
larsl
85c7c0c77c ** Fixed some more instances of the same bug in raster layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 17:54:10 +00:00
timlinux
07b4293bcd Update summary by Tim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1465 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 17:18:41 +00:00
larsl
215137abe2 ** Updated all ts files and translated new messages in the swedish file
git-svn-id: http://svn.osgeo.org/qgis/trunk@1462 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:33:08 +00:00
larsl
380f58df02 ** Updated the swedish translation
git-svn-id: http://svn.osgeo.org/qgis/trunk@1459 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:08:16 +00:00
larsl
7629b51fe2 ** Resaved plugins/copyright_label/pluginguibase.ui with designer 3.1 to fix
const problem


git-svn-id: http://svn.osgeo.org/qgis/trunk@1457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 09:40:34 +00:00
timlinux
261963d620 First working version for gui pyramid manager (implemented as tab in raster props). Raster legend entry now stretched to width of legend and show an icon indicating whether the layer has overviews or not. Added struct and qvaluelist to raster to store pyramids state in.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1444 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 11:25:39 +00:00
gsherman
46cc05d9b3 ** Changed release name to Madison in qgis.h
** Added QgsScaleCalculator to libqgis spec in src/Makefile.am
** Additional debug statements in grass data provider


git-svn-id: http://svn.osgeo.org/qgis/trunk@1443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 06:26:24 +00:00
timlinux
7c06c43e6b Added pyramid / no pyramid icon to raster legend entry and made legend
pixmap fill up all available space in leend width. Added new dir for icons
in src that will be installed to PKGPATH/share/icons


git-svn-id: http://svn.osgeo.org/qgis/trunk@1436 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-20 10:38:22 +00:00
timlinux
3f2954e238 Changed splash to load picture from file instead of an xpm include. This
will hopefully speed up compile times for folks building on p133's. Changed
splash image to the fluffball ready for 0.3 release.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1435 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-20 07:27:36 +00:00
larsl
6cad51b07f ** Implemented getNextFeature(list<int>&) in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@1434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 15:18:39 +00:00
gsherman
5236f77594 Updated ChangeLog and bumped configure.in EXTRA_VERSION to 26
git-svn-id: http://svn.osgeo.org/qgis/trunk@1433 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 06:10:24 +00:00
gsherman
fa1cc2d467 Bumped EXTRA_VERSION to 24
Updated ChangeLog


git-svn-id: http://svn.osgeo.org/qgis/trunk@1431 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 05:16:58 +00:00
timlinux
b2f70a3dc0 Relax checking of raster filetype extensions to cater for filetypes where extension is unpredictable (e.g. grass).
Now I use gdal to quickly check if a file is useable so pretty much anything gdal iscompile with should get through if you have chosen wildcard
 filter in add raster dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1429 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-18 23:06:17 +00:00
larsl
7639902d1e ** Added URL parsing and attribute fields for route and track GPX layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1421 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 10:32:19 +00:00
timlinux
061fe72f94 Added support to Save As Image to save in any QImageIO supported format. File->SaveAsImage dialog filter list now generated automagically by interrogating QImageIO for its supportted formats. File->SaveAsImage remembers last dir used (stored in qsettings). Its supposed to remember last filter used but there is an issue with that that needs to be resolved.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1420 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 09:27:27 +00:00
larsl
2d067cb838 Added url/link parsing to the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@1416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:23:27 +00:00
larsl
3f36b20bdb ** Corrected file name extension for PNG files
git-svn-id: http://svn.osgeo.org/qgis/trunk@1413 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 15:16:05 +00:00
larsl
3909b8adf5 Added my mugshot
git-svn-id: http://svn.osgeo.org/qgis/trunk@1408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 20:42:34 +00:00
timlinux
c2fd2985d3 Raster props changes: Switched order of general tab and symbology tab - as you normally change straight to symbology tab anyway. Removed stats tab and consolidated stats into metadata tab. Clean ups on metadata tab.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 14:11:47 +00:00