[PyQt] question about opacity

Jan De Coster jan at digitalbase.eu
Fri Apr 18 15:40:26 BST 2008


Paul,

Kubuntu with KDE 3.5.8 and compositing enabled ...

tried ur code ... tried to apply it on QMainWindow, QWidget ... all fail

kr,


Paul Giannaros schreef:
> What is your operating system? If you're running under Linux, you need
> a compositing window manager. It should work out-of-the-box on Mac or
> Windows. self.setWindowOpacity(0.0) should make it go fully
> transparent.
>
> On Fri, Apr 18, 2008 at 3:18 PM, Jan De Coster <jan at digitalbase.eu> wrote:
>   
>>  hi,
>>
>>  i tried to add QWidget.setWindowOpacity(self, 0.0)
>>
>>  but it no opacity is applied to the window ....
>>
>>
>>  kr,
>>
>>  Jan De Coster
>>
>>  Paul Giannaros schreef:
>>
>>  Implant it?
>>
>> On Fri, Apr 18, 2008 at 1:46 AM, Jan De Coster <jan at digitalbase.eu> wrote:
>>
>>
>>  ok i figured that out ... but how do i implant it ?
>>
>>  </noobmode>
>>
>>  kind regards,
>>
>>
>>
>>
>>
>>
>> Jan De Coster
>>
>>
>>
>>
>>
>>
>>
>> Digital Base
>>  Broekstraat 36, 3001 Heverlee
>>  T. +32 (0)16 36 00 34 - F. +32 (0)16 36 00 39
>>  E-mail: jan.de.coster at digitalbase.eu
>>  New Website: www.digitalbase.eu - www.digitalbase.be
>>
>>
>>
>>
>>
>>
>>  The information in this e-mail and any attachments to it are confidential.
>>
>>  The contents may not be copied or used by anyone other than the addressee
>> and must not be further disclosed without our permission. If you have
>> received this e-mail by mistake, please notify the sender immediately and
>> delete this e-mail and any attachments to it from your systems.
>>
>>  Warning: Although the company has taken reasonable precautions to ensure no
>> viruses are present in this e-mail, the company cannot accept responsibility
>> for any loss or damage arising from the use of this e-mail or any
>> attachments to it.
>>
>>  Paul Giannaros schreef:
>>
>>  It is. See QWidget::setWindowOpacity
>>
>> http://doc.trolltech.com/4.3/qwidget.html#windowOpacity-prop
>>
>> On Fri, Apr 18, 2008 at 1:08 AM, Jan De Coster <jan at digitalbase.eu> wrote:
>>
>>
>>  hi there,
>>
>>  i'm quite new to this list and i have a serious question ...
>>
>>  is it possible to create a 'mainwindow' with opacity ??
>>
>>  thanks in advance,
>>
>>
>> --
>>
>>
>>
>> Jan De Coster
>>
>>
>>
>>
>>
>>
>>
>> Digital Base
>>  Broekstraat 36, 3001 Heverlee
>>  T. +32 (0)16 36 00 34 - F. +32 (0)16 36 00 39
>>  E-mail: jan.de.coster at digitalbase.eu
>>  New Website: www.digitalbase.eu - www.digitalbase.be
>>
>>
>>
>>
>>
>>
>>  The information in this e-mail and any attachments to it are confidential.
>>
>>  The contents may not be copied or used by anyone other than the addressee
>> and must not be further disclosed without our permission. If you have
>> received this e-mail by mistake, please notify the sender immediately and
>> delete this e-mail and any attachments to it from your systems.
>>
>>  Warning: Although the company has taken reasonable precautions to ensure no
>> viruses are present in this e-mail, the company cannot accept responsibility
>> for any loss or damage arising from the use of this e-mail or any
>> attachments to it.
>> _______________________________________________
>>  PyQt mailing list PyQt at riverbankcomputing.com
>>  http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>>  PyQt mailing list PyQt at riverbankcomputing.com
>>  http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>
>>  
>>
>>
>>
>>
>> _______________________________________________
>>  PyQt mailing list    PyQt at riverbankcomputing.com
>>  http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>>     
>
> !DSPAM:6,4808b10d114681150619122!
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080418/6f89438b/attachment-0001.html


More information about the PyQt mailing list