221 Commits

Author SHA1 Message Date
mcoletti
4d80222c68 fixed version numbers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 21:36:33 +00:00
sbr00pwb
f7ed3d787b First commit of the scale bar plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1547 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 16:03:02 +00:00
timlinux
20ff078024 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/qgis@1543 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 12:48:21 +00:00
timlinux
4d87e98215 Fixed empty .dbf crashing bug. Added transparency slider t raster popup menu.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1541 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 08:19:42 +00:00
larsl
16502ea4ca ** Hid the "GPS download file importer" tab
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1538 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 22:18:16 +00:00
larsl
279b307e86 ** 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/qgis@1537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 20:39:45 +00:00
larsl
6bd4e9036a ** 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/qgis@1536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 14:16:35 +00:00
jobi
c3620941ba ** 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/qgis@1535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 13:28:35 +00:00
gsherman
68bc4557bd Updated for changes @ devel17
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 04:08:48 +00:00
larsl
5e3748caaa ** 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/qgis@1532 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-07 16:45:03 +00:00
timlinux
8d87cc16ad 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/qgis@1530 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-07 08:43:53 +00:00
timlinux
3258a6bdb9 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/qgis@1526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:29 +00:00
timlinux
9f49427d58 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/qgis@1525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:00 +00:00
jobi
a1e1dba09a ** fixed tims typo with GDAL_LDADD
** cleaned pluginnames


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


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1494 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:43:20 +00:00
timlinux
3709b1f076 Fix poorly placed status text on splash screen.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1492 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 23:48:10 +00:00
gsherman
12c9b62b4f Added info about spit plugin fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:53:10 +00:00
jobi
4f698b92c2 ** cleanup of gcc warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:05:13 +00:00
timlinux
b92ce4bdde *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1481 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:07:07 +00:00
gsherman
0f4ddec0a5 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/qgis@1479 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 06:44:02 +00:00
gsherman
ecc1fac979 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/qgis@1478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 05:16:58 +00:00
larsl
7d0ee227c7 ** Added some calls to std::string::c_str() to hopefully make Qt without STL
happy


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
b1d4ad7f4c ** 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/qgis@1476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 11:30:46 +00:00
larsl
719f567bee ** Show the legend widgets in debug mode too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 18:21:54 +00:00
larsl
2874b1308d ** Fixed some more instances of the same bug in raster layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 17:54:10 +00:00
timlinux
8c36c73b18 Update summary by Tim
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1465 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 17:18:41 +00:00
larsl
a742e0d638 ** Updated all ts files and translated new messages in the swedish file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1462 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:33:08 +00:00
larsl
0f67e93507 ** Updated the swedish translation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1459 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:08:16 +00:00
larsl
ecb8b5637a ** Resaved plugins/copyright_label/pluginguibase.ui with designer 3.1 to fix
const problem


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 09:40:34 +00:00
timlinux
916d8537e7 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/qgis@1444 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 11:25:39 +00:00
gsherman
afb058408b ** 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/qgis@1443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 06:26:24 +00:00
timlinux
87231a4315 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/qgis@1436 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-20 10:38:22 +00:00
timlinux
1fe6413ece 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/qgis@1435 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-20 07:27:36 +00:00
larsl
1718f18eac ** Implemented getNextFeature(list<int>&) in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 15:18:39 +00:00
gsherman
b5d7c2ec59 Updated ChangeLog and bumped configure.in EXTRA_VERSION to 26
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1433 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 06:10:24 +00:00
gsherman
3f21380414 Bumped EXTRA_VERSION to 24
Updated ChangeLog


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1431 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-19 05:16:58 +00:00
timlinux
253f39e721 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/qgis@1429 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-18 23:06:17 +00:00
larsl
7f26cc8dec ** Added URL parsing and attribute fields for route and track GPX layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1421 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 10:32:19 +00:00
timlinux
7f490643a6 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/qgis@1420 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-17 09:27:27 +00:00
larsl
3e6ae6d1ae Added url/link parsing to the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:23:27 +00:00
larsl
1cfe5db358 ** Corrected file name extension for PNG files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1413 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 15:16:05 +00:00
larsl
669aad7578 Added my mugshot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 20:42:34 +00:00
timlinux
0652d3acde 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/qgis@1406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 14:11:47 +00:00
timlinux
5f1ac208e4 Pyramid info in raster stats
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1403 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 00:28:52 +00:00
larsl
148de1ef74 ** Cleaned up the enabling/disabling of controls in the GPS dialog
** Changed the order in which different layers are loaded from a GPX file
** Added the basename of the GPX or LOC file in the layer name
** Changed the plugin name to the more general "GPS Tools"


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1401 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-14 11:47:12 +00:00
larsl
1ca1e0bf24 ** Fixed a bug that caused the canvas to have a fixed width of 400 with my
Qt version - the main grid layout for the main window had one extra column


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1400 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-14 11:08:22 +00:00
larsl
8989d204db ** Added a tab for loading GPX and LOC files to the GPS plugin dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1396 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 23:53:20 +00:00