qissue-bot / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
http://qgis.org
GNU General Public License v2.0
0 stars 0 forks source link

transparency for point layers does not work #1207

Closed qissue-bot closed 5 years ago

qissue-bot commented 5 years ago

Author Name: Steven Mizuno (Steven Mizuno) Original Redmine Issue: 1220, https://issues.qgis.org/issues/1220

Original Assignee: Marco Hugentobler


The Transparency control on Layer Properties, Symbology for a Point layer does not affect the map display.

on Linux and Windows, as of r9044

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Giovanni Manghi (Giovanni Manghi) Original Date: 2009-07-03T01:53:28.000Z


This is still true as for QGis 1.2 rev. 11005.

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Magnus Homann (Magnus Homann) Original Date: 2009-08-05T06:22:14.000Z


Added a fix in commit:ca0b14db (SVN r11276).

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Giovanni Manghi (Giovanni Manghi) Original Date: 2009-08-05T06:55:06.000Z


I don't know if it was this fix, but right now I cannot compile (commit:ca0b14db (SVN r11276))

[ 59%] Generating core/core.so
sipcoreQgsRenderer.cpp: In function ‘void* init_QgsRenderer(sipWrapper*, [[PyObject]]*, sipWrapper**, int*)’:
sipcoreQgsRenderer.cpp:817: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   because the following virtual functions are pure within ‘sipQgsRenderer’:
/home/gio/Desktop/qgis_unstable/src/core/renderer/qgsrenderer.h:79: note:   virtual void [[QgsRenderer]]::renderFeature(QgsRenderContext&, [[QgsFeature]]&, QImage*, bool, double)
sipcoreQgsRenderer.cpp:829: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   since type ‘sipQgsRenderer’ has pure virtual functions
maker3: *** [sipcoreQgsRenderer.o] Error 1
maker2: *** [python/core/core.so] Error 2
maker1: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2
qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Magnus Homann (Magnus Homann) Original Date: 2009-08-05T07:12:43.000Z


Okay, tried a different approach in commit:b4774285 (SVN r11277)

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Giovanni Manghi (Giovanni Manghi) Original Date: 2009-08-05T07:22:39.000Z


seems I'm getting the same error

[ 59%] Generating core/core.so
sipcoreQgsRenderer.cpp: In function ‘void* init_QgsRenderer(sipWrapper*, [[PyObject]]*, sipWrapper**, int*)’:
sipcoreQgsRenderer.cpp:817: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   because the following virtual functions are pure within ‘sipQgsRenderer’:
/home/gio/Desktop/qgis_unstable/src/core/renderer/qgsrenderer.h:80: note:   virtual void [[QgsRenderer]]::renderFeature(QgsRenderContext&, [[QgsFeature]]&, QImage*, bool, double)
sipcoreQgsRenderer.cpp:829: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   since type ‘sipQgsRenderer’ has pure virtual functions
maker3: *** [sipcoreQgsRenderer.o] Error 1
maker2: *** [python/core/core.so] Error 2
maker1: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2
qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Magnus Homann (Magnus Homann) Original Date: 2009-08-05T07:44:04.000Z


Three strikes and out! commit:b4f7e942 (SVN r11278)

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Giovanni Manghi (Giovanni Manghi) Original Date: 2009-08-05T07:50:42.000Z


foul ball! :)

 59%] Generating core/Makefile, gui/Makefile
Parsing SIP files for 'core' library...
/usr/bin/sip -c core -b /home/gio/Desktop/qgis_unstable/python/core/core.sbf -I /usr/share/sip/PyQt4 -x [[VendorID]] -t WS_X11 -x [[PyQt]]_NoPrintRangeBug -t Qt_4_4_1 -g /home/gio/Desktop/qgis_unstable/python/core/core.sip
sip: /home/gio/Desktop/qgis_unstable/python/core/qgssymbol.sip:81: syntax error
Parsing SIP files for 'gui' library...
/usr/bin/sip -c gui -b /home/gio/Desktop/qgis_unstable/python/gui/gui.sbf -I /home/gio/Desktop/qgis_unstable/python -I /usr/share/sip/PyQt4 -x [[VendorID]] -t WS_X11 -x [[PyQt]]_NoPrintRangeBug -t Qt_4_4_1 -g /home/gio/Desktop/qgis_unstable/python/gui/gui.sip
sip: core/qgssymbol.sip:81: syntax error
Creating makefiles...
Creating qgisconfig.py...
Done
[ 59%] Generating core/core.so
sipcoreQgsRenderer.cpp: In function ‘void* init_QgsRenderer(sipWrapper*, [[PyObject]]*, sipWrapper**, int*)’:
sipcoreQgsRenderer.cpp:817: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   because the following virtual functions are pure within ‘sipQgsRenderer’:
/home/gio/Desktop/qgis_unstable/src/core/renderer/qgsrenderer.h:80: note:   virtual void [[QgsRenderer]]::renderFeature(QgsRenderContext&, [[QgsFeature]]&, QImage*, bool, double)
sipcoreQgsRenderer.cpp:829: error: cannot allocate an object of abstract type ‘sipQgsRenderer’
sipcoreQgsRenderer.cpp:172: note:   since type ‘sipQgsRenderer’ has pure virtual functions
maker3: *** [sipcoreQgsRenderer.o] Error 1
maker2: *** [python/core/core.so] Error 2
maker1: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2
qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Magnus Homann (Magnus Homann) Original Date: 2009-08-05T11:49:11.000Z


jef did a small adjustment, does it work now?

qissue-bot commented 5 years ago

Original Redmine Comment Author Name: Giovanni Manghi (Giovanni Manghi) Original Date: 2009-08-06T02:19:18.000Z


Replying to [comment:8 homann]:

jef did a small adjustment, does it work now?

perfect! thanks!