QAction* showProperties = NULL;
QAction* cloneInterface = NULL;
QAction* openWindow = NULL;
- QAction* showRstClkInter = NULL;
+ QAction* showRstClkIface = NULL;
+ QAction* showWishboneIface = NULL;
QAction* showParameters = NULL;
InterfaceItem* ifaceItem = getInterfaceFromCursor(event->pos().x(), event->pos().y());
}
else {
duplicateAction = menu.addAction("Duplicate");
- showRstClkInter = menu.addAction("Show reset/clock interfaces");
- showRstClkInter->setCheckable(true);
- showRstClkInter->setChecked(rstClkVisible);
+ showRstClkIface = menu.addAction("Show reset/clock interfaces");
+ showRstClkIface->setCheckable(true);
+ showRstClkIface->setChecked(rstClkVisible);
+ showWishboneIface = menu.addAction("Show wishbone interfaces");
+ showWishboneIface->setCheckable(true);
+ showWishboneIface->setChecked(wishboneVisible);
}
removeAction = menu.addAction("Remove");
}
else if (selectedAction == openWindow){
dispatcher->showRaiseWindow(this);
}
- else if(selectedAction == showRstClkInter){
- dispatcher->showRstClkInter(this);
+ else if(selectedAction == showRstClkIface) {
+ dispatcher->showRstClkIface(this);
+ }
+ else if(selectedAction == showWishboneIface) {
+ dispatcher->showWishboneIface(this);
}
else if(selectedAction == showParameters){
new ParametersWindow(refBlock, params, NULL);