Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
5 additions
and
1 deletion.
-
+5
−1
python/plugins/GdalTools/tools/doExtractProj.py
|
@@ -23,7 +23,7 @@ |
|
|
# This will get replaced with a git SHA1 when you do a git archive |
|
|
__revision__ = '$Format:%H$' |
|
|
|
|
|
from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex |
|
|
from qgis.PyQt.QtCore import Qt, QCoreApplication, QThread, QMutex, pyqtSignal |
|
|
from qgis.PyQt.QtWidgets import QDialog, QDialogButtonBox, QApplication, QMessageBox |
|
|
from qgis.PyQt.QtGui import QCursor |
|
|
|
|
@@ -184,6 +184,10 @@ def extractProjection(filename, createPrj): |
|
|
|
|
|
class ExtractThread(QThread): |
|
|
|
|
|
fileProcessed = pyqtSignal() |
|
|
processFinished = pyqtSignal() |
|
|
processInterrupted = pyqtSignal() |
|
|
|
|
|
def __init__(self, files, needPrj): |
|
|
QThread.__init__(self, QThread.currentThread()) |
|
|
self.inFiles = files |
|
|