<html><head>

<style id="css_styles"> 
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius: 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
._em_placeholder {color: gray; border-bottom: 1px dotted lightblue;} ._em_placeholder:before{color:gray; content: '{{ ';} ._em_placeholder:after{color:gray; content: ' }}';}

 </style>
</head>
<body>Hello again.<div><br /></div><div>Attached is a short bit of code that displays a <font face="Consolas">QTableView</font> with a custom <font face="Consolas" size="3" style="font-size: 16px;">QHeaderView</font>.  The <font face="Consolas" size="3" style="font-size: 16px;">.headerData()</font> method loads a 64x64 PNG and returns it for <font face="Consolas" size="3" style="font-size: 16px;">DecorationRole</font>.</div><div><br /></div><div>Can anyone tell me why the <font face="Consolas" style="font-size: 16px;" size="3">.scaled()</font> call on line #61 can't make the header image larger?  If I change the argument to <font face="Consolas" size="3" style="font-size: 16px;">.scaled()</font> to <font face="Consolas" size="3" style="font-size: 16px;">QSize(8, 8)</font>, it makes the image small.  So the <font face="Consolas" style="font-size: 16px;" size="3">.scaled()</font> call is evidently having an effect.  But if I specify <font face="Consolas" size="3" style="font-size: 16px;">QSize(64, 64)</font>, it doesn't get anywhere near as large as 64x64.  I've been unable to determine why.</div><div><br /></div><div>Thanks!</div><div><br /></div><div>/John</div></body></html>