MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / addSplitEditor

Method addSplitEditor

src/controller.cpp:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172RcxEditor* RcxController::addSplitEditor(QWidget* parent) {
173 auto* editor = new RcxEditor(parent);
174 m_editors.append(editor);
175 connectEditor(editor);
176
177 if (!m_lastResult.text.isEmpty()) {
178 editor->applyDocument(m_lastResult);
179 }
180 updateCommandRow();
181 return editor;
182}
183
184void RcxController::removeSplitEditor(RcxEditor* editor) {
185 m_editors.removeOne(editor);

Callers 8

createSplitPaneMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls 1

applyDocumentMethod · 0.80

Tested by 7

initMethod · 0.64
initMethod · 0.64
initMethod · 0.64