MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / setScriptInfo

Method setScriptInfo

src/ui/user_scripts/UserScriptEditor.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void UserScriptEditor::setScriptInfo(const QString &name, const QString &code, const QString &filePath, int rowIndex)
46{
47 setWindowTitle(QString("Editing %1").arg(name));
48 ui->scriptEditor->setPlainText(code);
49
50 ui->widgetFindText->clearLabels();
51
52 m_filePath = filePath;
53 m_scriptModified = false;
54 m_rowIndex = rowIndex;
55}
56
57void UserScriptEditor::toggleFindTextWidget()
58{

Callers 2

onEditButtonClickedMethod · 0.80
onScriptCreatedMethod · 0.80

Calls 1

clearLabelsMethod · 0.80

Tested by

no test coverage detected