Is it actually possible to customize the look of the "tear-off" handle of a QMenu with stylesheets? The documentation (http://doc.qt.nokia.com/4.6/stylesheet-reference.html) seems to indicate it's possible: "The tear-off is styled using the ::tear-off" (on styling QMenu).
Here's what I've tried:
Qt Code:
{ background-color: green; color: red; border: 10px solid yellow; }To copy to clipboard, switch view to plain text mode
However this has no effect whatsoever, neither on Windows (Vista) nor on Mac OS X (10.4). I also tried "QMenu::tear-off::item".
I'm using Qt 4.6.2, latest stable.
Cheers,
Franz
Bookmarks