QAction downAction = addContextAction("downArrow", tr("Down Arrow"));
contextMenu.addAction(downAction);
downAction.triggered.connect(this, "toggleDownArrowButton(Boolean)");
QAction synchronizeAction = addContextAction("synchronize", tr("Synchronize"));
contextMenu.addAction(synchronizeAction);
synchronizeAction.triggered.connect(this, "toggleSynchronizeButton(Boolean)");
QAction printAction = addContextAction("print", tr("Print"));
contextMenu.addAction(printAction);
printAction.triggered.connect(this, "togglePrintButton(Boolean)");