Quote Originally Posted by pherthyl
QWidget::setWindowOpacity(qreal)

Or am I misunderstanding your question? That function will set your window partially transparent (provided composite is working).
It won't work for X11 and additionally it changes the opacity of the whole window, not parts of it.