QAction newAction = addContextAction("new", tr("Add"));
contextMenu.addAction(newAction);
newAction.triggered.connect(this, "toggleNewButton(Boolean)");
QAction allNotesAction = addContextAction("allNotes", tr("All Notes"));
contextMenu.addAction(allNotesAction);
allNotesAction.triggered.connect(this, "toggleAllNotesButton(Boolean)");
QAction searchClearAction = addContextAction("searchClear", tr("Search Clear"));
contextMenu.addAction(searchClearAction);
searchClearAction.triggered.connect(this, "toggleSearchClearButton(Boolean)");