Re: PyQt5 help on buttons and grid layout

2020-02-02 Thread Abdur-Rahmaan Janhangeer
d = {} layout = ... for key in d: layout.addWidget(QButton(...)) On Sun, 2 Feb 2020, 19:59 Souvik Dutta, wrote: > Hi, > I want to add about 40 buttons based upon a dictionary. I want them to be > added to a grid layout. How can I do it easily. Please write the code and > thank you for yo

PyQt5 help on buttons and grid layout

2020-02-02 Thread Souvik Dutta
Hi, I want to add about 40 buttons based upon a dictionary. I want them to be added to a grid layout. How can I do it easily. Please write the code and thank you for your trouble. -- https://mail.python.org/mailman/listinfo/python-list