MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / enterEditMode

Function enterEditMode

pj_plotting/widget/src/TabbedPlotWidget.cpp:149–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 void enterEditMode() {
150 if (edit_active_) {
151 return;
152 }
153 edit_active_ = true;
154 edit_->setText(label_->text());
155 label_->hide();
156 edit_->show();
157 edit_->setFocus(Qt::OtherFocusReason);
158 edit_->setCursorPosition(edit_->text().length());
159 }
160
161 signals:
162 void clicked();

Callers 4

mouseDoubleClickEventFunction · 0.85
mouseReleaseEventMethod · 0.85
mouseDoubleClickEventMethod · 0.85
keyPressEventMethod · 0.85

Calls 5

setTextMethod · 0.45
textMethod · 0.45
hideMethod · 0.45
showMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected