You will probably have to use QStyle and draw a QStyle::CE_MenuItem.