Python Calculator App Using Qt Designer || GUI based calculator

Python Calculator App Using Qt Designer || GUI based calculator

Madness Of Tech

3 года назад

15,936 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@7souna447
@7souna447 - 12.07.2023 12:17

the best ever love you so much man helped with my project

Ответить
@rajashehryar3818
@rajashehryar3818 - 29.03.2023 16:18

nice

Ответить
@Aarch_64
@Aarch_64 - 02.01.2022 04:06

Grasias amigo, + un nuevo sub

Ответить
@vandungbui5610
@vandungbui5610 - 07.09.2021 11:47

After convert, double click .py shows cmd prompt and voila. Nothing happened. What?

Ответить
@kevinjc6501
@kevinjc6501 - 19.06.2021 09:18

Bro when i click the py file it just opens the cmd and closes pls help

Ответить
@himanshubhatt2545
@himanshubhatt2545 - 01.03.2021 21:37

Nice

Ответить
@thokalasaidivya28
@thokalasaidivya28 - 19.02.2021 11:53

Sir how to convert * to x and / to divide symbol
Pls give me rply

Ответить
@anwaruddin2
@anwaruddin2 - 08.02.2021 21:16

very very good sir

Ответить
@nivektseb
@nivektseb - 24.10.2020 09:04

Instead of typing so many of those functions, you can create ONE function to capture and display all buttons.

def one_function(self, button) :
text = self.label.text()
self.label.setText(text+button)

Thats it... You then pass the character to the function using a lambda expression
self.button1.clicked.connect(lambda: self.one_function("1"))

You're welcome

Ответить
@keshavsahu1337
@keshavsahu1337 - 18.10.2020 10:44

You can just bind all (0-9) buttons with same function then. find sender button's text and append it. I know in C++, but should be similar in python.
In C++
void NumberButtonClicked()
{
QPushButton *btn = reinterpret_cast<QPushButton*>QObject::sender();
label->setText(label->text() + btn->text());
}

It is not complete, but just to show to sender().

Ответить
@tejaspoojary5397
@tejaspoojary5397 - 21.09.2020 20:17

bhai mere me Ui main window not defined error araha h , plz help

Ответить
@AbhishekSharma-uy1zv
@AbhishekSharma-uy1zv - 29.08.2020 10:44

bhai yr jb bhi m butoon me click kr rha hun to button ka text to label pe show ho rha hh pr
jase hi m koi ur button pe click kr rha hun to vo button bhi label pe aa rha hh pr picha button remove ho jaa rha hh label se
bhai solution batao

Ответить
@gyaniguru7894
@gyaniguru7894 - 10.08.2020 10:51

Bhai internshala wale python project me explanation ki bhi ek video bna de

Ответить