On 01/02/2020 12:06, Souvik Dutta wrote:
> not happening. Now the no. Of labels depend upon something, so I decided to
> use a for loop which is not working. Attaching the code below. Can you help?
I just spotted something else odd in your code:
def initUi(self):
...
self.n = {}
On 01/02/2020 12:06, Souvik Dutta wrote:
> I was making a pyqt5 project and I ran into a problem. I want a button in
> one window to add a label in another window when clicked upon. But that is
> not happening.
What is happening? Don't expect us to run your buggy code!
> Now the no. Of labels de
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
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
> On 1 Feb 2020, at 12:06, Souvik Dutta wrote:
>
> I was making a pyqt5 project and I ran into a problem. I want a button in
> one window to add a label in another window when clicked upon. But that is
> not happening. Now the no. Of labels depend upon something, so I decided to
> use a for lo
I was making a pyqt5 project and I ran into a problem. I want a button in
one window to add a label in another window when clicked upon. But that is
not happening. Now the no. Of labels depend upon something, so I decided to
use a for loop which is not working. Attaching the code below. Can you hel
suggest a scrollable widget which on loads appends labels with members
birthdays in it.
If 3 members have birthdays today, it will append 3 labels
On Sun, 26 Jan 2020, 21:39 Souvik Dutta, wrote:
> I am making a birthday reminder app. I want to show tha label (" Today is
> Tom's birthday.") Assu
I am making a birthday reminder app. I want to show tha label (" Today is
Tom's birthday.") Assuming Tom has a birthday.
But I want this label to be visible only when someone has a birthday today.
I am using datetime module to check the date. How can I do this?? Any help
is appreciated.
--
https:/