4062 Commits

Author SHA1 Message Date
gsherman
2677863552 Updated german translation from sholl
git-svn-id: http://svn.osgeo.org/qgis/trunk@5653 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-08-01 02:22:32 +00:00
g_j_m
b9850de23a Fix for patch #67 - I think it'll solve the problem without causing
others :)


git-svn-id: http://svn.osgeo.org/qgis/trunk@5652 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-31 10:40:16 +00:00
g_j_m
cc3255c3a5 Fix for ticket #212. Problem was caused by two un-initialised
variables that stored the coordinates of the cursor prior to the
current mouse move. They were un-initialised only for the first mouse
move after a mouse button down event.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5651 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-31 01:10:56 +00:00
g_j_m
2c97100de5 Tidy up #includes
git-svn-id: http://svn.osgeo.org/qgis/trunk@5650 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-31 00:50:01 +00:00
mhugent
a60d85ad56 Added moc entry for QgsMapToolIdentify in gui/Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk@5649 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-30 19:44:49 +00:00
g_j_m
3f15529b3d Remove a debugging std::cerr
git-svn-id: http://svn.osgeo.org/qgis/trunk@5648 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-30 01:27:30 +00:00
g_j_m
af5401cb99 Make the save as svg and save as image file selection dialogs remember
the last used directory in addition to the last used filename.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5647 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-29 08:13:17 +00:00
g_j_m
05433ca8b3 Fix for ticket #198. The identify results dialog is now deleted when
closed by the user (it was previously just hidden).


git-svn-id: http://svn.osgeo.org/qgis/trunk@5646 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-29 05:54:52 +00:00
g_j_m
5c2d41dc21 Apply some changes to the parmater field - +stere changes to +sterea. See ticket #209 for more details.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5645 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-27 21:07:10 +00:00
mhugent
fdbaf80d2e move vertex for postgis point/multipoint layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@5644 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-27 19:56:21 +00:00
mhugent
a7c840462b In QgsPluginManager: test if function type() is present instead of testing if the function isProvider() is not present. Like this, it is also possible to create plugins linking to a data provider (which i need for work)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5643 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-27 15:21:47 +00:00
morb_au
4015a6fd36 Better fix for the issues raised in r5618 and r5626 - the selected item is now scrolled into view, even when the projection selector is being opened.
There still seems to be a slight issue when showing the Project Properties for the first time on a blank project (i.e. it scrolls *near* the WGS 84 entry, but not quite on top of it), but I'll leave that for another time.  Other situations now seem to work OK.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5642 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-27 00:57:01 +00:00
g_j_m
44585e57bc Applied patch in ticket #194
git-svn-id: http://svn.osgeo.org/qgis/trunk@5641 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-26 10:01:09 +00:00
g_j_m
541b054d96 Fix for ticket #146
git-svn-id: http://svn.osgeo.org/qgis/trunk@5640 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-26 09:46:22 +00:00
g_j_m
8195804c8d Alternative fix to that in r5637 - fields that the user didn't touch
are left to the database to fill in.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5639 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-26 09:24:18 +00:00
mhugent
4d839ddef9 Fixed a problem with checkboxes in the legend
git-svn-id: http://svn.osgeo.org/qgis/trunk@5638 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 19:39:28 +00:00
g_j_m
986ea537b6 If an SQL insert fails during committing new features to the database,
include the offending sql in the error dialog box.

Also fix the remaining part of ticket #131 - the code wasn't coping
correctly with blank data fields.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 10:35:53 +00:00
g_j_m
fd39376874 Change a debugging std::cout to use the QgsLogger class
git-svn-id: http://svn.osgeo.org/qgis/trunk@5636 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 09:57:52 +00:00
g_j_m
30317a6d6d Fix a problem with an incorrect proj4 string and the associated query
to the spatial reference system database (it was never returning a
result because the proj4 string didn't have '+no_defs' on the end)


git-svn-id: http://svn.osgeo.org/qgis/trunk@5635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 09:48:28 +00:00
mhugent
41015a3a5d Legend: apply overview and editing icons also to QgsLegendLayer if it has only one file. QgsOgrProvider: if a vector type is not known (e.g. for the ogr GML driver), examine the first layer feature to find out the wkb type
git-svn-id: http://svn.osgeo.org/qgis/trunk@5634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 06:15:29 +00:00
gsherman
bd9046dc1a Change to prefix in winbuild.sh; Bumped version to preview 2; Fixed error in the src/Makefile.win
git-svn-id: http://svn.osgeo.org/qgis/trunk@5633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-25 05:27:24 +00:00
gsherman
84cac5dd73 Update context_id for copyright plugin; Include updated help database
git-svn-id: http://svn.osgeo.org/qgis/trunk@5632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 20:25:21 +00:00
gsherman
05c43a4cff Script to configure Windows version of QGIS under Linux using
MingW cross compiler.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5631 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 17:20:14 +00:00
gsherman
0f7c8a9b12 Windows makefile for gps importer
git-svn-id: http://svn.osgeo.org/qgis/trunk@5630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 17:18:18 +00:00
g_j_m
efde71a432 Add in context help for the copyright plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@5629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 09:22:24 +00:00
g_j_m
e851737809 Use the Qt4 slot for terminating a QProcess rather than the Qt3
one. Removes a console warning message.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5628 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 08:35:08 +00:00
morb_au
e57f22e05f Fix for trac ticket #11.
When a new WMS layer is opened and it is the first layer on the canvas, the project projection is now copied from that used when selecting that WMS layer.

Previously this was hard coded to EPSG:4326 / WGS 84.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 02:29:34 +00:00
morb_au
eb4fc907c2 Add comments to explain why r5618 only partly works as expected under Qt 4.1.0 (i.e. the branches are expanded but the selected item is not scrolled into view).
git-svn-id: http://svn.osgeo.org/qgis/trunk@5626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-24 02:11:34 +00:00
g_j_m
46fc648ec0 Applied patch in ticket #202
git-svn-id: http://svn.osgeo.org/qgis/trunk@5624 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-23 21:54:35 +00:00
g_j_m
350753372e Tweak the tab order for the postgres new database dialog box - now
controlled by the .ui file rather than in the .cpp file


git-svn-id: http://svn.osgeo.org/qgis/trunk@5623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 08:51:39 +00:00
gsherman
5b38ad3460 Updated context help database. New items are just stubbed in so more
content is forthcoming.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5622 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 05:38:11 +00:00
gsherman
4117a1170b Change to use new schema in the qgis_help.db database
git-svn-id: http://svn.osgeo.org/qgis/trunk@5621 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 05:37:22 +00:00
gsherman
768b8ad1f4 Enabled help button for WMS dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@5620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 05:25:12 +00:00
gsherman
aee073ca84 New context_ids for context help.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 05:22:38 +00:00
morb_au
095e37fe45 Settings -> Project Properties -> Projections now shows, as selected, the current projection. Previously nothing was selected, making it difficult to determine what the current projection actually was.
This is because QgsProjectionSelector::setSelectedSRSID() now works as advertised when called externally.

It didn't work before, because setSelectedSRSID() did not make sure the tree widget was pre-populated with the projection list.

This commit is a pre-requisite to fixing #11.  This is so that we can actually perform the experiment to prove future bug fixes against #11.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5618 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 03:11:11 +00:00
g_j_m
6cf9f114db eliminate the OGR message about not being able to open a read-only
.shp file (if it is read-only, qgis then tries to open it read-only,
so the OGR error message is unnecessary).


git-svn-id: http://svn.osgeo.org/qgis/trunk@5617 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-21 00:36:58 +00:00
g_j_m
443e85bfb6 Use icon overlays for the editable and overview status of a layer
instead of separate icons in separate columns. Still only applies to
the actual layer file entry in the legend, but removes the need for
the extra columns. However, I'm hopeless at icon drawing...
These changes are a variation on the suggestions in ticket #191.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-20 09:34:04 +00:00
g_j_m
536daaebf9 Remove a redundant connect call for the help button (it's done
somewhere else)


git-svn-id: http://svn.osgeo.org/qgis/trunk@5615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-20 09:00:27 +00:00
g_j_m
cf3fdb8973 Fix for ticket #197. The tab order is now set by the .ui file rather
than explicit code in the .cpp file.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-20 08:54:54 +00:00
morb_au
3b840fbe40 When loading a project file, restore the canvas extent to that provided in the project file (i.e. the extent in existence when the project file was saved). Previously the extent was the maximum extent across all layers.
I'm not sure why this functionality hasn't been done before, as it seemed so trivial to implement?

The main benefit to its implementation is that in large layers, the user doesn't have to wait for the whole layer to draw before he can restart work on a project (which is particularly important since we currently can no longer hit Esc to halt a redraw).



git-svn-id: http://svn.osgeo.org/qgis/trunk@5613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-20 01:17:51 +00:00
g_j_m
79023aa089 Fix for ticket #193. Added in a clip region when drawing to a QImage
to prevent draws outside the QImage.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-19 22:23:18 +00:00
morb_au
264a408c91 Fix an Q_ASSERT failure in the Print Composer when "Adding new vect legend" and then clicking it into place on the composer canvas.
This appears to be because of the use of QWidget::removeChild in QgsComposer::removeWidgetChildren, which is a Qt3 idiom (it doesn't appear in the Qt4.1 API).  A QWidget::setParent(0) idiom is now used instead.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-19 01:05:31 +00:00
g_j_m
269d4ef559 Give a default value to mValid for all constructors
git-svn-id: http://svn.osgeo.org/qgis/trunk@5610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-18 10:16:00 +00:00
g_j_m
d454fdbebb Remove an unnecessary \0 pad to the end of the wkb char*. Also fix a
bug whereby the first byte after the wkb array was being set to \0


git-svn-id: http://svn.osgeo.org/qgis/trunk@5609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-17 09:18:14 +00:00
g_j_m
452f1668bc Remove lines inside #ifdef QT_VERSION < 0x0400000
git-svn-id: http://svn.osgeo.org/qgis/trunk@5608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-17 05:26:48 +00:00
g_j_m
9597bcde35 Comment out a slot connect to a slot that no longer exists
git-svn-id: http://svn.osgeo.org/qgis/trunk@5607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-17 04:28:21 +00:00
morb_au
2b799141a8 Fix for trac ticket #4. (Tested on DEMIS site.)
With the Identify tool on a WMS layer, now send a query to the WMS server *only* on those layers that the WMS server had already declared queryable.  This avoids the server returning an error on un-queryable layers.

Also, QgsWmsProvider::identifyAsHtml() is renamed to QgsWmsProvider::identifyAsText() to better identify what it does.  Commentary, and other dependent variable and function names have also been updated to suit.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-17 00:50:54 +00:00
morb_au
838b262737 In WMS, use a more robust method of passing the WMS proxy information to the provider. For instance if there is a space in the proxy password, it should now pass-through OK.
Unfortunately I don't have access to a proxy to test, so if I could get some independent verification it would be appreciated.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-16 23:19:04 +00:00
morb_au
300c6e61f8 Tidy-up of r5603: improve the commentary of QgsWmsProvider::subLayerStyles().
git-svn-id: http://svn.osgeo.org/qgis/trunk@5604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-16 22:46:56 +00:00
morb_au
3916b1ccc3 Partial fix for #38 (Saved WMS layers do not reload).
Now, the fact the WMS raster provider was used, the layer names, layer styles and image formatting is stored in the project file (and restores OK).  However upon initial testing the extent doesn't appear to be restored.  I will need to address that later.



git-svn-id: http://svn.osgeo.org/qgis/trunk@5603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-07-16 13:00:57 +00:00