MCPcopy Create free account
hub / github.com/Kitware/ParaView / start

Method start

Qt/Python/pqPythonFileIO.cxx:135–149  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

133
134//-----------------------------------------------------------------------------
135void pqPythonFileIO::PythonFile::start()
136{
137 QObject::connect(this->Text, &QTextEdit::textChanged,
138 [this]()
139 {
140 if (this->Text)
141 {
142 const QString swapFilename = ::GetSwapFilename(this->Name);
143 if (!swapFilename.isEmpty())
144 {
145 ::Write(swapFilename, vtkPVSession::CLIENT, this->Text->toPlainText());
146 }
147 }
148 });
149}
150
151//-----------------------------------------------------------------------------
152void pqPythonFileIO::PythonFile::removeSwap() const

Callers 15

ReplaceStringUsingRegexFunction · 0.45
renderMethod · 0.45
pqImageTipMethod · 0.45
pqInternalsMethod · 0.45
updateMethod · 0.45
resumeMethod · 0.45
endInteractionEventMethod · 0.45

Calls 3

GetSwapFilenameFunction · 0.85
WriteFunction · 0.85
isEmptyMethod · 0.45

Tested by 4

start_threadFunction · 0.36
start_threadFunction · 0.36
start_threadFunction · 0.36