QAction attributeAction = addContextAction("attribute", tr("Attribute"));
contextMenu.addAction(attributeAction);
attributeAction.triggered.connect(this, "toggleAttributeButton(Boolean)");
QAction emailAction = addContextAction("email", tr("Email"));
contextMenu.addAction(emailAction);
emailAction.triggered.connect(this, "toggleEmailButton(Boolean)");
QAction deleteAction = addContextAction("delete", tr("Delete"));
contextMenu.addAction(deleteAction);
deleteAction.triggered.connect(this, "toggleDeleteButton(Boolean)");