On 2009-07-30 14:16+0100 Alban Rochel wrote: > Dear Alan and PLplot community, > > Please find attached an update for the Qt driver, allowing changes to > the background colors (supporting transparency), based on svn revision > 10819.
Hi Alban: I have committed your patch (revision 10192). My tests of the qtwidgets, pngqt, epsqt, and svgqt devices looked good for semi-transparent backgrounds specified with -bg. Also, C example 16 now gives the correct results. Thanks very much for this fix. Note, there has been a minor background regression introduced for extqt by your changes; if you run ./qt_example, then the first time you try one of "Curves" or "Histogram" the result is background colour that is the same as the underlying widget colour (gray). Subsequent tries of Curves or Histogram give you the correct (default) black background. Whether or not you can fix that minor issue, could you also implement command-line parsing for qt_example so we can thoroughly and conveniently test various colour options (e.g., -bg, -cmap0, and -cmap1)? That just means inserting the appropriate call to plparseopts in the correct place, but when I attempted to do that simple enhancement myself, I kept running up against C++ issues I didn't understand. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
