MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / createColorMenu

Method createColorMenu

src/editor/editorview.cpp:522–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522QMenu *editorView::createColorMenu(const char * slot,int type,QString text)
523{
524 QMenu *colorMenu = new QMenu;
525 QAction *action = new QAction(text, this);
526 action->setData(type);
527 connect(action, SIGNAL(triggered()),this,slot);
528 colorMenu->addAction(action);
529 return colorMenu;
530}
531
532void editorView::slotItemSelected(graphItemBase* ib)
533{

Callers

nothing calls this directly

Calls 1

setDataMethod · 0.45

Tested by

no test coverage detected