-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MRG: Configure _TimeViewer status bar #7588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRG: Configure _TimeViewer status bar #7588
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7588 +/- ##
==========================================
- Coverage 90.12% 90.12% -0.01%
==========================================
Files 454 454
Lines 83392 83401 +9
Branches 13210 13210
==========================================
+ Hits 75159 75161 +2
- Misses 5374 5378 +4
- Partials 2859 2862 +3 |
|
@hoechenberger does it fix the last bit of jerkiness in the interface? Also feel free to share if you have any idea on how to populate the status bar 👍 |
|
@GuillaumeFavelier There is a small glitch visible in the status bar once the help text gets removed. The glitch disappears as soon as I resize the window, so it's most likely just a tiny redrawing issue? (lower left corner of the window) |
Will do later :) |
|
Thanks for sharing the video! you got 1 more like.
Probably, I will investigate. |
🤣👍 |
|
I switched the message to the internal |
|
(Just chatted with @GuillaumeFavelier; the graphical glitch is gone for me, and I suggested to remove the |
| def configure_status_bar(self): | ||
| from PyQt5.QtWidgets import QLabel, QProgressBar | ||
| self.status_msg = QLabel(self.default_status_bar_msg) | ||
| self.status_progress = QProgressBar() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The progress bar is currently unused, right? Are you planning on reviving it (+1 on that btw!), or why is it here? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The progress bar is currently unused so it is hidden. But I add it in here because I plan to use it when I will add support for save_movie in _TimeViewer. It's an item of #7162
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification. Just wanted to ensure you didn't accidentally leave sth in that you don't need anymore.
agramfort
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provided CIs are green
|
@larsoner One of the Azure builds failed because it was somehow canceled (for whatever reason). Would it be possible for me to restart such CI runs somehow? It seems I'm currently lacking the required permissions? |
This PR brings back the part of #7257 about the configuration of the status bar. By default it displays a help message for 5 seconds and adds basic support for a progress bar. It's also a follow-up to #7580 (comment).