I see the code below from zetcode:
redb.clicked[bool].connect(self.setColor)
I think the clicked[bool]
is not legal in Python. Although I know it may used to show the arguments, it troubles me how to use it.
I just see the Qt doc qt.io, and only know that clicked() has a 'bool' parameter.