- Put in an explicit conversion from Qgis layer type enum to
OGR layer type enum when creating a new layer
- When creating a new vector layer, and the user selected an existing
file, delete that file. This was causing a problem when the new layer
type was different to the selected layer type because the selected
layer type was being used.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5588 c8812cc2-4d05-0410-92ff-de0c093fc19c
As part of this "merge", the main application copy will now precede its results with a row of attribute headers.
Also, the editCopy() procedure and friends (editCut() and editPaste()) can now take the layer to act on, thus allowing the Attribute Table to work on a different layer to the Current Layer in the Legend.
This change was done so that the Copy button in the main application AND the Copy button on the attribute table works consistently.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5584 c8812cc2-4d05-0410-92ff-de0c093fc19c
why it needs to be that to get symbols of a similar size to the map
canvas, but it works fine.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5577 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Tidy up #ifdef QGISDEBUGs
- Replace some qt3 compabitilty code with the 'qt4 way'
- Use a default label buffer size of 1 instead of 0 to reduce user confusion
git-svn-id: http://svn.osgeo.org/qgis/trunk@5573 c8812cc2-4d05-0410-92ff-de0c093fc19c
This is solving a similar problem to the linestring case in r5550.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5569 c8812cc2-4d05-0410-92ff-de0c093fc19c
* Bonus bugfix: If two adjacent verticies were moved in succession, the second vertex would show a rubberband from the *old* position of the first vertex instead of the moved-to position of the first vertex. This should now be fixed.
* Bonus function: New "get_at()" function in QgsGeometryVertexIndex. Should be fairly self-explanitory.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5568 c8812cc2-4d05-0410-92ff-de0c093fc19c
dialog that lets the user swap between using a QImage or a QPixmap for
rendering the map. May or may not fix things. Committed so that others
can try it out.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5567 c8812cc2-4d05-0410-92ff-de0c093fc19c
was 0.01, which in most cases was too small to generate a visible line
in the print composer window. Default is now 2.0
git-svn-id: http://svn.osgeo.org/qgis/trunk@5565 c8812cc2-4d05-0410-92ff-de0c093fc19c
to a QgsLogger::debug, as the messages are confusing the users, and
don't impact on Qgis's ability to load such files.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5563 c8812cc2-4d05-0410-92ff-de0c093fc19c
The attribute table was failing to display the contents of the last column
in a table for tables where the geometry column was not the last
in the table.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5552 c8812cc2-4d05-0410-92ff-de0c093fc19c
edit, the closest geometry will be selected (not just the first within
snapping range),
AND then the closest vertex *on that geometry* will be
selected.
This disambiguates between the same vertex shared amongst
multiple geometries.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5550 c8812cc2-4d05-0410-92ff-de0c093fc19c
changed geometries to pre-1.0 PostGIS servers (pre-r3907). This also now includes
the ability to sniff the PostGIS version.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5549 c8812cc2-4d05-0410-92ff-de0c093fc19c
warnings from Qt during runtime, and don't seem to affect the
operation of qgis when removed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5542 c8812cc2-4d05-0410-92ff-de0c093fc19c
Markers now are drawn generically onto a QPainter device and there will be two wrappers - one that returns a qpicture and one that returns a qpixmap.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5539 c8812cc2-4d05-0410-92ff-de0c093fc19c