-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Move the reload resources button & Better UX when reload resource #39
Conversation
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.
Good job, minor comments only. Update it, and then we can merge.
I modified the UI file so that the reload resource button has a good position.
lambda: self.populate_resources(force_update=True) | ||
) | ||
|
||
self.hide_preview() | ||
|
||
def busy_cursor_decorator(func): |
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.
Move it to a different file, e.g. utilities/qgis_util.py
so that we can reuse it somewhere else and it's not specific for the ResourceBrowserDialog
class.
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.
Use a verb in your function name, and I guess no need to use "decorator" in it. So, it would be something like: show_busy_cursor
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.
Done !!
#38
Moved the reload resources button to under the browser area, and use QPushButton instead.
#24