22 #include <QMouseEvent>
30 using std::shared_ptr;
38 setAttribute(Qt::WA_NoSystemBackground,
true);
43 if (item && item->enabled())
60 QMenu *menu = r->create_context_menu(
this);
62 menu->exec(event->globalPos());
69 if (e->key() == Qt::Key_Delete) {