Home > Mobile >  Is there any way one-time binding all similar keys into a slot
Is there any way one-time binding all similar keys into a slot

Time:09-24

For example, I had a lot of QPushButton,

Has a slot function, function returns the text itself is good, is there any way can let QPushButton all one-time link

Current my way is through introspection mechanism through all the button name to connect to the groove function, but the feeling is very silly...
  •  Tags:  
  • Qt
  • Related