Fix issues
This commit is contained in:
+17
-2
@@ -403,7 +403,6 @@ void MainWindow::on_toolButton_clicked()
|
||||
loadImage(fileName);
|
||||
}
|
||||
|
||||
<<<<<<< mainwindow.cpp
|
||||
int MainWindow::getIndexPath() const
|
||||
{
|
||||
return indexPath;
|
||||
@@ -442,7 +441,7 @@ Path *MainWindow::getCurrentPath() const
|
||||
void MainWindow::setCurrentPath(Path *newCurrentPath)
|
||||
{
|
||||
currentPath = newCurrentPath;
|
||||
=======
|
||||
}
|
||||
|
||||
void MainWindow::saveFile(){
|
||||
QString fileName;
|
||||
@@ -571,3 +570,19 @@ void MainWindow::on_validateBtn_clicked()
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::loadAndExportPaths(QStringList fichiers) {
|
||||
|
||||
|
||||
for (const QString& nomFichier : fichiers) {
|
||||
QFile* f = new QFile(nomFichier);
|
||||
|
||||
Path* p = new Path(f);
|
||||
path.append(p);
|
||||
}
|
||||
|
||||
int exportIndex = 1;
|
||||
for (Path* p : path) {
|
||||
currentPath = p;
|
||||
exportHTMLMap(exportIndex++);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user