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

Where should I code my slot function? #19

Open
Lock0nStratos opened this issue Nov 1, 2022 · 0 comments
Open

Where should I code my slot function? #19

Lock0nStratos opened this issue Nov 1, 2022 · 0 comments

Comments

@Lock0nStratos
Copy link

I add a PyPushButton and a Qlabel in setup_main_window.py file, then i want to change the content of label according to setText() when I click PyPushButton.
In main.py, I do not know how to obtain the instance of PyPushButton I added in setup_main_window.py. How can I received clicked signal from PyPushButton and change the content of label?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant