<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 PyQt sages.  Hoping for some insight here -- despite a few hours' time fiddling with this, I don't seem to even be getting past square one.<div><br /></div><div>I'm trying to modify display of items in a <font face="Cascadia Code">QMenu</font> using <font face="Cascadia Code" size="3" style="font-size: 16px;">QProxyStyle</font>.  Basically, I've defined a class named <font face="Cascadia Code" size="3" style="font-size: 16px;">Style</font> that derives from <font face="Cascadia Code" size="3" style="font-size: 16px;">QProxyStyle</font>, and re-implements <font face="Cascadia Code" size="3" style="font-size: 16px;">drawItemText()</font> (which, just for starters, tries to right-justify the menu item text).</div><div><br /></div><div>I create a <font face="Cascadia Code" size="3" style="font-size: 16px;">QMenu</font> object, create an object of the <font face="Cascadia Code" size="3" style="font-size: 16px;">Style</font> class, and call <font face="Cascadia Code" size="3" style="font-size: 16px;">.setStyle()</font> to set it as the menu's style.</div><div><br /></div><div>It may or may not be the case that my <font face="Cascadia Code" size="3" style="font-size: 16px;">drawItemText()</font> implementation successfully right-justifies the text.  I'll never know, because it never gets called.  What (probably really basic thing) am I missing?</div><div><br /></div><div>Thanks!  [short sample code attached]</div><div><br /></div><div>/John</div></body></html>