347 Commits

Author SHA1 Message Date
stevehalasz
f4c94ef90d Set movingItem to NULL before emitting zOrderChanged(). This prevents mouse movement from moving layers after mouse is released and before layers have re-rendered.
git-svn-id: http://svn.osgeo.org/qgis/trunk@556 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 02:31:14 +00:00
timlinux
26122d8dcf Transparency slider now working (allows up to full transparency). Percentage display of slider also working.
git-svn-id: http://svn.osgeo.org/qgis/trunk@555 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 22:20:41 +00:00
timlinux
5d3da9c031 Added signal handler for transparency slider. Added label to display percentage of transparency slider. Increased max on transparency slider so that images can be completely transparent.
git-svn-id: http://svn.osgeo.org/qgis/trunk@554 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 21:48:08 +00:00
timlinux
da39200f3e Sorted out items 8 (move all to top of raster filters list in load dialog) and 9 (remove .adf from all filter in raster load) in todo list. Updated todo list accordingly.
git-svn-id: http://svn.osgeo.org/qgis/trunk@553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 21:30:34 +00:00
timlinux
ad6e65bbe8 Added more logic to determine the drawing style for the raster layer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@552 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 14:09:09 +00:00
timlinux
f7680e3854 Only calculatestats for all layers if grayscale or undefined layer type.
git-svn-id: http://svn.osgeo.org/qgis/trunk@551 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 14:06:52 +00:00
timlinux
075ef650a4 Couple more wishes :-)
git-svn-id: http://svn.osgeo.org/qgis/trunk@550 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 13:19:51 +00:00
timlinux
6d50d22d07 Added support for qt3.3
git-svn-id: http://svn.osgeo.org/qgis/trunk@549 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 11:29:46 +00:00
mhugent
f6c38d58ee zoom to selected
git-svn-id: http://svn.osgeo.org/qgis/trunk@548 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 08:47:31 +00:00
timlinux
74b7156564 Added percentage label for transparency slider
git-svn-id: http://svn.osgeo.org/qgis/trunk@547 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 08:41:10 +00:00
timlinux
5965b8b7e3 Fixed a stupid bug causing a segfault in hasBand() method. Added a short circuit to calculate stats loop to prevent repeating stats gathering when it has already been done before.
git-svn-id: http://svn.osgeo.org/qgis/trunk@546 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 08:33:53 +00:00
mhugent
ad78d37c9e moved bBoxOfSelected() from QgsMapLayer to QgsVectorLayer to restore 'zoom to selected' soon
git-svn-id: http://svn.osgeo.org/qgis/trunk@545 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 07:57:15 +00:00
gsherman
7bde026346 Updated TODO list of isssues requiring attention prior to release of 0.1 (formerly 0.0.14)
git-svn-id: http://svn.osgeo.org/qgis/trunk@544 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 17:32:40 +00:00
mhugent
914eae7362 scrollview around extension widget and adapted renderers to changing fonts
git-svn-id: http://svn.osgeo.org/qgis/trunk@543 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 10:44:32 +00:00
gsherman
957c58107b updated doxygen config
git-svn-id: http://svn.osgeo.org/qgis/trunk@542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 04:17:56 +00:00
gsherman
da32fe0578 blank TODO for 0.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@541 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 04:17:37 +00:00
gsherman
aa33f9ccf4 removed since files are generated by autotools
git-svn-id: http://svn.osgeo.org/qgis/trunk@540 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 04:16:15 +00:00
gsherman
0919c4bce0 Instructions on how to build and install the cvs version
git-svn-id: http://svn.osgeo.org/qgis/trunk@539 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 04:09:57 +00:00
gsherman
bb5096a634 removed since it is generated by automake
git-svn-id: http://svn.osgeo.org/qgis/trunk@538 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 02:44:03 +00:00
gsherman
e8bade4ccc moved context menu to vectorlayer class
git-svn-id: http://svn.osgeo.org/qgis/trunk@537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 02:42:53 +00:00
gsherman
5c4a9eb2d9 get rid of configure since it needs to be generated
git-svn-id: http://svn.osgeo.org/qgis/trunk@536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 01:41:08 +00:00
timlinux
1a91bf009d Small change - forgot empty implementation after removing =0 from pure virtual functions.
git-svn-id: http://svn.osgeo.org/qgis/trunk@535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:31:53 +00:00
timlinux
27f7e19345 Removed pure virtual method declarations where it did not make sense for raster layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk@534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:21:18 +00:00
timlinux
48822a3cfa Removed deprecated showgrayascolor tag.
git-svn-id: http://svn.osgeo.org/qgis/trunk@533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:06:55 +00:00
timlinux
c84cc60496 Added yours truly to authors list
git-svn-id: http://svn.osgeo.org/qgis/trunk@532 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:04:35 +00:00
timlinux
017bb7330a New style rendering where each of the 8 rendering algorithms has its own function:
SINGLE_BAND_GRAY, // a "Gray" or "Undefined" layer drawn as a range of gray colors
        SINGLE_BAND_PSEUDO_COLOR,// a "Gray" or "Undefined" layer drawn using a pseudocolor algorithm
        PALETTED_SINGLE_BAND_GRAY,// a "Palette" layer drawn in gray scale (using only one of the color components)
        PALETTED_SINGLE_BAND_PSEUDO_COLOR, // a "Palette" layer having only one of its color components rendered as psuedo color
        PALETTED_MULTI_BAND_COLOR, //a "Palette" image where the bands contains 24bit color info and 8 bits is pulled out per color
        MULTI_BAND_SINGLE_BAND_GRAY, // a layer containing 2 or more bands, but using only one band to produce a grayscale image
        MULTI_BAND_SINGLE_BAND_PSEUDO_COLOR, //a layer containing 2 or more bands, but using only one band to produce a pseudocolor image
        MULTI_BAND_COLOR //a layer containing 2 or more bands, mapped to the three RGBcolors. In the case of a multiband with only two bands, one band will have to be mapped to more than one color

Please not that this is not all implemented and a lot of deuglification needs to takes place before this is properly useable. Watch this space over the next couple of days...


git-svn-id: http://svn.osgeo.org/qgis/trunk@531 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:03:17 +00:00
timlinux
3034d45e4f Commented out deprecated showGrayAsColor serialiser/deserialiser for raster layer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@530 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 23:58:58 +00:00
timlinux
a7807982e9 Repositioned status text and enlarged status font
git-svn-id: http://svn.osgeo.org/qgis/trunk@529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 23:02:33 +00:00
timlinux
38fc3ef25e Added splash screen to constructor
git-svn-id: http://svn.osgeo.org/qgis/trunk@528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 22:58:55 +00:00
timlinux
6f478a7869 Moved splashscreen to constructor of qgisapp
git-svn-id: http://svn.osgeo.org/qgis/trunk@527 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 22:58:20 +00:00
gsherman
849040d89a removed stale files
git-svn-id: http://svn.osgeo.org/qgis/trunk@526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:09:33 +00:00
gsherman
b9b7f43718 added maplayer plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:05:15 +00:00
gsherman
07451fb893 removed stale files
git-svn-id: http://svn.osgeo.org/qgis/trunk@524 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:01:11 +00:00
gsherman
078c15b733 fixed maplayer plugin so it loads -- doesn't do anything useful
git-svn-id: http://svn.osgeo.org/qgis/trunk@523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:53:53 +00:00
gsherman
f6d292064d improved documentation and behavior of the example plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@522 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:22:02 +00:00
gsherman
ab258797f4 fixed bug that caused multiple properties dialogs to be displayed
git-svn-id: http://svn.osgeo.org/qgis/trunk@521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 19:07:18 +00:00
gsherman
6c8dfaf437 merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@520 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:26:15 +00:00
gsherman
47af50b1e3 merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:17:13 +00:00
gsherman
b778ba56a3 updated to include plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:06:01 +00:00
gsherman
de9b73000f merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 17:59:42 +00:00
stevehalasz
71aa0d6dfc moving debian files out of qgis sources to allow updates to debian package without requiring new qgis release
git-svn-id: http://svn.osgeo.org/qgis/trunk@485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-15 20:37:15 +00:00
timlinux
768d519b46 Added accessors, mutators and members for red, green, blue and gray histogram clipping to rasterlayer, and linked up to advanced symbology tab on rasterproperties dialog. TODO - implement clippng algorithm, let properties dialog modify active clipping algorithm, update dtd and raster properties serialiser in project io.
git-svn-id: http://svn.osgeo.org/qgis/trunk@477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 08:35:20 +00:00
timlinux
f3cba99586 Added sdts raster data to the fileopen dialog for new raster layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk@476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 07:25:39 +00:00
timlinux
1db83c6e64 Last (hopefully) bugfix for serailisation of raster layer properties to project file.
git-svn-id: http://svn.osgeo.org/qgis/trunk@473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 20:39:07 +00:00
timlinux
d3c426251b Small bugfix (fixes bug that caused blueBand to be mapped to gray).
git-svn-id: http://svn.osgeo.org/qgis/trunk@472 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 18:59:43 +00:00
timlinux
fa7dae9206 First pass at raster layer properties persistance when saving project. This is still pretty buggy at the moment. Stand by for a bug fix update in the near future...
git-svn-id: http://svn.osgeo.org/qgis/trunk@471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 15:15:31 +00:00
timlinux
11cb31cd64 Updated configure script.
git-svn-id: http://svn.osgeo.org/qgis/trunk@467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 19:53:57 +00:00
timlinux
0acb009f92 Small bugfix to remove a signal handler for debug checkbox that had no associated implementation in ui.h
git-svn-id: http://svn.osgeo.org/qgis/trunk@466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 16:39:22 +00:00
timlinux
641a94eb62 This is a new addition to the raster implementation that allows debug info to be displayed as an overlay on the raster. Mainly useful for developers. Can be enabled / disabled using this gui. Links to screenshots below show what the debug output looks like.
Also carried out some minor refactoring to qgsrasterlayer.cpp.

http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_debug_info.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_debug_info_properties.png


git-svn-id: http://svn.osgeo.org/qgis/trunk@464 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 12:08:30 +00:00
timlinux
82ecab33d7 You can now request a raster layer to provide its legend - using the getLegendQPixmap method which is returned as a QPixmap. At the moment it is displayed only on the raster properties dialog, but after the qgis_datasource branch is merged in, the legend pixmap will be shown in the legend sidebar. The legend pixmap is rendered (as opposed to a staticly defined images), and in future versions will reflect histogram settings (range constraints etc). Screenshots illustrating this patch available here:
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_grayscale.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_paletted.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_pseudocolor.png


git-svn-id: http://svn.osgeo.org/qgis/trunk@458 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-11 13:57:36 +00:00