I've already tried this...
CommunicationView derives from QTableView
void
CommunicationView::createContextMenu() {
addAction(highlightLogEntryAct);
addAction(deleteHighlightLogEntryAct);
addSeparator();
addAction(deleteLogEntryAct);
setContextMenuPolicy(Qt::ActionsContextMenu);
}
void
CommunicationView::createContextMenu() {
addAction(highlightLogEntryAct);
addAction(deleteHighlightLogEntryAct);
addSeparator();
addAction(deleteLogEntryAct);
setContextMenuPolicy(Qt::ActionsContextMenu);
}
To copy to clipboard, switch view to plain text mode
1>Compiling...
1>CommunicationView.cpp
1>.\src\CommunicationView.cpp(93) : error C3861: 'addSeparator': identifier not found
1>Build log was saved at "file://c:\tmp\canmonitor\apps\debug\BuildLog.htm"
1>apps - 1 error(s), 0 warning(s)
1>Compiling...
1>CommunicationView.cpp
1>.\src\CommunicationView.cpp(93) : error C3861: 'addSeparator': identifier not found
1>Build log was saved at "file://c:\tmp\canmonitor\apps\debug\BuildLog.htm"
1>apps - 1 error(s), 0 warning(s)
To copy to clipboard, switch view to plain text mode
Bookmarks