1 2
The class MyMenuItem isn't translated to Java, as the QCustomMenuItem.paint() and sizeHint() virtual method callbacks aren't implemented yet.