MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / activateTextEditor

Method activateTextEditor

src/domain/UBGraphicsTextItem.cpp:509–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509void UBGraphicsTextItem::activateTextEditor(bool activate)
510{
511 qDebug() << textInteractionFlags();
512
513 this->isActivatedTextEditor = activate;
514
515 if(!activate){
516 setTextInteractionFlags(Qt::TextSelectableByMouse);
517 }else{
518 setTextInteractionFlags(Qt::TextEditorInteraction);
519 }
520
521 qDebug() << textInteractionFlags();
522}

Callers 2

processElementMethod · 0.80
foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected