MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / setText

Method setText

libs/librepcb/editor/cmd/cmdstroketextedit.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void CmdStrokeTextEdit::setText(const QString& text, bool immediate) noexcept {
83 Q_ASSERT(!wasEverExecuted());
84 mNewText = text;
85 if (immediate) mText.setText(mNewText);
86}
87
88void CmdStrokeTextEdit::setHeight(const PositiveLength& height,
89 bool immediate) noexcept {

Callers 2

performUndoMethod · 0.45
performRedoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected