Skip to content

Learning #6

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Learning #6

wants to merge 7 commits into from

Conversation

clint456
Copy link

@clint456 clint456 commented Mar 13, 2024

       @QtCore.Slot(int)
        def test_slot(state: int) -> None:
            if state == Qt.Checked:
                print("复选框被选中了!")
            elif state == Qt.Unchecked:
                print("复选框被取消选中了!")
            elif state == Qt.PartiallyChecked:
                print("复选框被部分选中!")

这里需要添加.value

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

Successfully merging this pull request may close these issues.

2 participants