13 Commits

Author SHA1 Message Date
mcoletti
683d2978af - re-factored how endian-ness is implemented [0]
- made some functions const-correct [1]

- minor code beautifying via calls to indent and manual tweaking


Notes:

[0] Generalized endian() to QgsDataProvider since most child implementations
were just copies of the same code.  Made endian() virtual so that children are
free to provide their own implementations.  Also now use htonl() for endian()
detection and conversion.

However QgsVectorLayer still has separate endian() implementation.  This
functionality should probably be further generalized to a QGIS utility
function suite since endian detection is used in multiple locations.

Also now use specific enumerated typedef for endian-ness instead of magic
integer numbers.

[1] Although made great strides in making some members const-correct, there
are still so very many member functions that could be const in all classes
that aren't.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2548 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-30 22:14:49 +00:00
mcoletti
c84e6aae6c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
mhugent
6769603abb added qgsvectordataprovider interface and start editing/ stop editing for vector digitising
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-27 21:30:27 +00:00
larsl
91638f3b85 ** Changed Graduated Marker renderer to use the SVG cache
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1783 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-18 10:48:55 +00:00
timlinux
e534756af3 Marcos legend item changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1717 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-01 08:13:46 +00:00
mhugent
76db979ce8 fixed two bugs related to graduated symbol rendering
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1683 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-26 19:27:21 +00:00
timlinux
297c217561 Change legend item fonts to arial 10pt for consistancy with rest of gui and to make font size more reasonable for Winders Users.
In the next release I will softcode global font selection in qgsoptions, but I dont have time to do that right now.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1573 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-13 17:17:14 +00:00
mhugent
3d5c3b668b graduated dialogs keep settings now if classification field or classification mode are changed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 14:30:05 +00:00
mhugent
b36c79f2e4 removed a bug in pixmap rendering of the graduated dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-02 10:42:11 +00:00
mhugent
27f88647b2 markers sizes in graduated marker dialogs are adjusted when apply is pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-02 10:15:16 +00:00
mhugent
a22b164f3b added reading of graduated marker symbology from .qgs files and moved the code for reading symbology XML from qgsprojectio to the individual renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-19 05:28:50 +00:00
mhugent
5aca1ceef6 added rendering of a legend pixmap for graduated marker
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-12 09:02:20 +00:00
mhugent
628d497cd7 added code for graduated markers. Although it is still incomplete and bugy rendering already works
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1172 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-09 22:56:22 +00:00