[ui][screeshots] improvement: 'loading' message displays the amount of images being loaded

This commit is contained in:
Vinicius Moreira
2020-11-30 17:26:10 -03:00
parent 8b94abe9cf
commit d79b3daf9b
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- UI
- root dialog design and behavior
- tooltip for the label displaying the number of applications on the table/available [#138](https://github.com/vinifmor/bauh/issues/138)
- screenshots dialog resizing behavior
- screenshots:
- dialog resizing behavior
- "loading" message displays the amount of images being loaded
- "name filter" now requires ENTER or click to be triggered
- some app actions icons are now displayed with a different picture when disabled to prevent confusion (e.g: launch, screenshots) [#138](https://github.com/vinifmor/bauh/issues/138)
- suggestions button moved to the lower bar (label removed)

View File

@@ -111,7 +111,7 @@ class ScreenshotsDialog(QDialog):
else:
self.img.setPixmap(QPixmap())
self.img.setCursor(QCursor(Qt.WaitCursor))
self.img.setText('{}...'.format(self.i18n['screenshots.image.loading']))
self.img.setText('{} {}/{}...'.format(self.i18n['screenshots.image.loading'], self.img_idx + 1, len(self.screenshots)))
self.progress_bar.setVisible(True)
self.thread_progress.start()