Skip to content
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

simplify widget registration with bqt manager #80

Open
1 of 3 tasks
hannesdelbeke opened this issue Jun 6, 2023 · 2 comments
Open
1 of 3 tasks

simplify widget registration with bqt manager #80

hannesdelbeke opened this issue Jun 6, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@hannesdelbeke
Copy link
Collaborator

hannesdelbeke commented Jun 6, 2023

  • expose command to bqt.add
    current one is too verbose

it automatically works if you disabled qt wrapping for bqt by setting the env var BQT_DISABLE_WRAP to 1
it assumes you parented all widgets with bqt.widget_manager.add(my_widget)

  • add instructions to README on how to use bqt
  • inform users that blender_widget is legacy
@hannesdelbeke hannesdelbeke added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 6, 2023
@hannesdelbeke
Copy link
Collaborator Author

hannesdelbeke commented Jun 6, 2023

need to decide on ease of use method name

currently we have both

  • bqt.add this is just a wrapper for the next one
  • bqt.manager.register

bqt.add is short and sweet, saves time typing and easy to remember.
but do we need it?
decide before we start plastering it all over our docs

@hannesdelbeke
Copy link
Collaborator Author

clash with addon register method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant