546 # now process them |
546 # now process them |
547 progress = E5ProgressDialog( |
547 progress = E5ProgressDialog( |
548 self.tr("Extracting project tasks..."), |
548 self.tr("Extracting project tasks..."), |
549 self.tr("Abort"), 0, len(files), self.tr("%v/%m Files")) |
549 self.tr("Abort"), 0, len(files), self.tr("%v/%m Files")) |
550 progress.setMinimumDuration(0) |
550 progress.setMinimumDuration(0) |
|
551 progress.setWindowTitle(self.tr("Tasks")) |
551 count = 0 |
552 count = 0 |
552 |
553 |
553 for file in files: |
554 for file in files: |
554 progress.setLabelText( |
555 progress.setLabelText( |
555 self.tr("Extracting project tasks...\n{0}").format(file)) |
556 self.tr("Extracting project tasks...\n{0}").format(file)) |