[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Windows 10 - QTableView dows not paint BackGround Color
From:       Frederico Carlos Wilhelms <fredcw () gmail ! com>
Date:       2021-05-17 20:42:31
Message-ID: CAEozBQ_Rad7i-pnfzhGPqB35QkiErDidw1XC1dvosAiZUt1W2g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Affects:: PyQt5
Python: 3.9
Windows 10 Pro 32bits

Platform: Windows and Widgets

ONLY on WINDOWS 8.1 / 10 ...
On Linux it works without a problem

When the table checkbox is selected/deselected
there should be a  change  of the Header color;
Even though headerData is called for BackGroundRole ,
and it is set the color does not change. Only happens on Windows

Reproducible : Always


1) What did you do?
Run    SLIP.py,
(every  second level selection on the treeview will do)
expand first item on the treeview,
select first child of the item
-->  this will populate the tableView
** uncheck/check  any checkbox on the tableview
color of the header should turn on yellow/green
according to balance result.

Print messages do assert the fact that event is being called
on Windows

2) What do you expect?
Same behavior on Windows that happens Linux

3) What Happened instead?
Header background color remains unchanged.

Any help/advice is appreciated


Thanks in advance.,

Fred
=C3=81rea de anexos

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail-aju" style="float:none;padding:0px \
16px;display:flex;height:80px;min-width:40px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div \
class="gmail-aCi" style=""><br><br></div></div><div class="gmail-gs" \
style="margin:0px;padding:0px 0px \
20px;width:1371px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div \
id="gmail-:1xo"><div class="gmail-qQVYZb"></div><div class="gmail-utdU2e"></div><div \
class="gmail-lQs8Hd"></div><div class="gmail-btm"></div></div><div \
class="gmail-"><div class="gmail-aHl" style=""></div><div id="gmail-:1y3" \
tabindex="-1"></div><div id="gmail-:1xq" class="gmail-ii gmail-gt" \
style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div \
id="gmail-:1xp" class="gmail-a3s gmail-aiL" \
style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font \
-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div \
dir="ltr">Affects:: PyQt5<div>Python: 3.9  </div><div>Windows 10 Pro \
32bits</div><div><br></div><div>Platform: Windows and \
Widgets</div><div><br></div><div>ONLY on WINDOWS 8.1 / 10 ...</div><div>On Linux it \
works without a problem</div><div><br></div><div>When the table checkbox  is \
selected/deselected  </div><div>there should be a   change   of the Header \
color;</div><div>Even though headerData is called for BackGroundRole ,  \
</div><div>and it is set the color does not change. Only happens on \
Windows</div><div><br></div><div>Reproducible : \
Always</div><div><br></div><div><br></div><div>1) What did you do?</div><div>Run      \
SLIP.py,</div><div>(every   second level selection on the treeview will \
do)</div><div>expand first item on the treeview,</div><div>select first child of the \
item  </div><div>--&gt;   this will populate the tableView</div><div>** uncheck/check \
any checkbox on the tableview</div><div>color of the header should turn on \
yellow/green  </div><div>according to balance result.</div><div><br></div><div>Print \
messages do assert the fact that event is being called  </div><div>on \
Windows</div><div><br></div><div>2) What do you expect?</div><div>Same behavior on \
Windows that happens Linux</div><div><br></div><div>3) What Happened \
instead?</div><div>Header background color remains \
unchanged.</div><div><br></div><div>Any help/advice is \
appreciated</div><div><br></div><div><br></div><div>Thanks in \
advance.,</div><div><br></div><div>Fred</div></div><div \
class="gmail-yj6qo"></div><div class="gmail-adL"></div></div></div><div \
class="gmail-hq gmail-gt gmail-a10" id="gmail-:1zh" style="margin:15px \
0px;clear:both;font-size:0.875rem"><div class="gmail-hp" \
style="width:1371px;border-top:1px dotted rgb(216,216,216)"></div><div \
class="gmail-a3I" style="width:1px;height:1px;overflow:hidden">Área de \
anexos</div><div id="gmail-:1zk"></div><div class="gmail-aQH" id="gmail-:1zj" \
style="padding-top:16px"><div class="gmail-aZK" \
style="height:0px;overflow:hidden;clear:both"></div></div></div><div class="gmail-hi" \
style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><br \
class="gmail-Apple-interchange-newline"></div>


["CodeAndCaptureExample.zip" (application/zip)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic