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
sbr00pwb
88b00506fd
First commit of scale bar plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1546 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 15:59:42 +00:00
timlinux
0085f2f078
State of overview flag for a layer is now saved to disk - still working on state restoration again....
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1545 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 15:02:33 +00:00
timlinux
f4a6360b5d
Added accessor to maplayer to retrieve overview status (for use by projectio).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1544 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 15:01:49 +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
e9fa3ea782
fixed bug where pop transp. slider was not syncing when transp changed in raster props dialog.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 10:46:12 +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
timlinux
b76a4c8082
Added showInOverview stub
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1540 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-09 08:14:49 +00:00
timlinux
78721f4dc1
Fix crash when qgis loads shapefile with empty .dbf
...
Add transparency slider to raster popup menu.
Adding 'show in overview' mpopup menu option to raster (incomplete).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1539 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 23:39:20 +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
gsherman
a63ef48c09
Added option to set the number of features retreived before the map canvas
...
is updated
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-08 03:21:15 +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
c2a72202d7
Minor bugfix to clear overview when new project is started.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1531 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-07 09:52:51 +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
stevehalasz
a58ab02ca3
Correctly disable buttons when a raster is added as the first layer.
...
The pg buffer plugin button is not disabled. Need to provide a way to let plugins
handle this properly.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 20:10:43 +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
timlinux
a1becbbd6c
Added getPalletteAsPixmap method to rasterlayer class so that the palette of a paletted raster layer can be retrieved and visualised.
...
Rearranged 'General' tab on raster props dialog, including adding a
palette view that uses the above mentioned call to rasterlayer class.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 09:53:30 +00:00
gsherman
123d497842
Updated todo list for 0.4
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1520 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 18:36:46 +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
7abeebbc62
Added $(GDAL_LADD) to makefile to remove dltest GDALTermProgress error.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 13:06:57 +00:00
timlinux
0b1a5e0a9f
Minor fix added std:: before endl in setProgress.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 22:07:18 +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
c59cec4c65
Updated draw method following changes to maplayer.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:36:45 +00:00
timlinux
389d331bf1
Renamed obscurely named Impl struct to CanvasProperties and private instance of impl_ to mCanvasProperties.
...
More tweaking on printing stuff though its still not scaling properly except to A4 landscape.
Added private member mScale (double) and accessor so that plugins can access the current scale.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1514 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:25:25 +00:00
timlinux
ef7c3840f0
Removed src parameter in draw(). This is redundant because you can get it by using qpainter->device(); Updated vector accordingly. Update for raster will follow.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1513 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:22:15 +00:00
timlinux
d725311bae
Minor changes - added some debug info on filePrint
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1512 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:18:21 +00:00
timlinux
ca3c3c055d
Hide dialog before setting props.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1511 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:16:26 +00:00
timlinux
32a594b885
Hide the dialog before updating props.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1510 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:05:07 +00:00
timlinux
ca8b224e00
Fixed const const error that arose when trying to compile under qt 3.2
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1508 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:58:17 +00:00
timlinux
d81622471b
Fixed incorrect designer version
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:44:59 +00:00
timlinux
22f4014504
Switch to using QPaintDeviceMetrics for determining size of paint device.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:57 +00:00
timlinux
4e96112ffe
Switch to useing QPaintDeviceMetrics for determining size of paint device.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:15 +00:00
gsherman
a85e2db47d
Fix for theme preview as the themes are highlighted in the theme
...
drop-down box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1504 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:07:54 +00:00
timlinux
3f8412bbe6
Updated renderCopyrightLabel slot to receive and draw to the qpainter pointer passed by the mapcanvas::renderComplete signal. This allows the north arrow plugin to draw onto the map even when it is being rendered to a device other than the mapCanvas' own pixmap member.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:05:43 +00:00
timlinux
9a7d977201
Updated renderNorthArrow slot to receive and draw to the qpainter pointer passed by the mapcanvas::renderComplete signal. This allows the north arrow plugin to draw onto the map even when it is being rendered to a device other than the mapCanvas' own pixmap member.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1502 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:04:54 +00:00
timlinux
815f99edba
Updated renderComplete signal to pass a pointer to the qpainter device onto which the map was rendered. This allows plugins to draw onto the map even when it is being rendered to a device other than the mapCanvas' own pixmap member.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:01:51 +00:00
timlinux
f8b2e2ec07
Gui cleanups for options dialog box
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1500 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 00:08:27 +00:00
timlinux
a76c7b1466
Added theming for print icon
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1499 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:53:28 +00:00
timlinux
e4cfffcf16
Renamed to fit naming convention
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1498 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:52:19 +00:00
timlinux
c3ced0f002
Icon for print icon
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:17:56 +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
timlinux
ec0f92fd3c
Added basic print capability to qgis....consider this a work in progress.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:02:44 +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
gsherman
eaefa5e0f5
Changed QgsIdentifyResultsBase to inherit from QWidget instead of QDialog
...
so window position can be saved/restored from user settings each time.
Changed qgis.h int version number to 300 (should have been done at release)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1493 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:40:38 +00:00