Answer the question
In order to leave comments, you need to log in
How to add text to QScrollArea while the program is running?
I want to create a simple calculator that can only add 2 numbers and save the calculation history in a small widget on the right. The problem is that I did not find how it would be possible to add the result of the calculation and the example itself there immediately, as soon as the user clicks on the calculation button.
I do all this with QtDesigner WITHOUT converting the .ui file to a .py file, but by changing the properties of objects according to the pattern "win.object_name.function" (or something like that).
Here is the code - https://pastebin.com/Xwbtzz4M
Here is the ".ui" file - https://disk.yandex.ru/d/72oYSum_DaLB1g
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question