MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / setCurrentFile

Method setCurrentFile

ImagePlay/src/MainWindow.cpp:884–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884void MainWindow::setCurrentFile(QString file)
885{
886 _currentProcessFileName = file;
887 IPLFileIO::setBasedir(QFileInfo(_currentProcessFileName).absolutePath().toStdString());
888
889 //setWindowFilePath(_currentProcessFileName);
890 QString windowTitle("ImagePlay");
891 if(_currentProcessFileName.length() > 0)
892 windowTitle.append(" - ").append(_currentProcessFileName);
893 setWindowTitle(windowTitle);
894}
895
896bool MainWindow::readProcessFile(QString file)
897{

Callers

nothing calls this directly

Calls 2

setBasedirFunction · 0.85
lengthMethod · 0.80

Tested by

no test coverage detected