Registered Member
|
Hi,
Currently i'm developing this scripted plasmoid(python): http://kde-look.org/content/show.php/On ... ent=116413. I'm trying to add gradient effect to the top and bottom of listview, something like krunner's query result, by porting krunner's resultview codes. After i added the codes for gradient, my plasmoid always crash. Below my paintevent codes:
I tried to comment all paintevent codes starting from this: backBufferPainter = QPainter(backBuffer), my plasmoid didnot crash. Any hints to solve this problem? Thanks, Reza |
Administrator
|
Does it occur if you only comment the following lines?
If so, try renaming it something that may not already be used such as itemPainter...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
i changed this line:
to:
i think somehow the problem is solved:). |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]