Python Calculator App Using Qt Designer || GUI based calculator

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 27

  • @7souna447
    @7souna447 Рік тому

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

  • @rajashehryar2002
    @rajashehryar2002 Рік тому

    nice

  • @Aarch_64
    @Aarch_64 3 роки тому +1

    Grasias amigo, + un nuevo sub

  • @himanshubhatt2545
    @himanshubhatt2545 3 роки тому

    Nice

  • @vandungbui5610
    @vandungbui5610 3 роки тому +1

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

  • @anwaruddin2
    @anwaruddin2 4 роки тому

    very very good sir

  • @keshav51337
    @keshav51337 4 роки тому +1

    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_castQObject::sender();
    label->setText(label->text() + btn->text());
    }
    It is not complete, but just to show to sender().

  • @thokalasaidivya28
    @thokalasaidivya28 3 роки тому +2

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

    • @harshbansal8705
      @harshbansal8705 3 роки тому +1

      For × symbol, you can press and hold Alt key and then press 0 2 1 5 on number pad. Similarly, you can search the Alt code for division symbol on Google.

  • @gyaniguru7894
    @gyaniguru7894 4 роки тому +1

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

  • @nivektseb
    @nivektseb 4 роки тому +10

    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

  • @tejaspoojary5397
    @tejaspoojary5397 4 роки тому +1

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

  • @kevinjc6501
    @kevinjc6501 3 роки тому

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

  • @deepakbisht927
    @deepakbisht927 4 роки тому +1

    Hello sir
    Please give me the source code of this python calculator . I shall make a minor project.so plz give me the source code .

  • @AbhishekSharma-uy1zv
    @AbhishekSharma-uy1zv 4 роки тому +1

    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

    • @AbhishekSharma-uy1zv
      @AbhishekSharma-uy1zv 4 роки тому

      bhai jase 1 pe click krke 1 label pe aa rha hh
      pr jase hi m button2 pe click kr rha hun to label se 1 remove ho jaa rha hh sirf 2 hi show ho rha hh

    • @madnessoftech6908
      @madnessoftech6908  4 роки тому +1

      Bhai ap string ko append nhi kr rhe
      Apne code me dekhe
      Phle apko jo v lebel me hai use store krna hai
      Than jo stor kiya hai
      Uska sath apko lebel me set krna hai
      Jaise ki hmne
      Ek text variable liya ukme stor kr liya
      Ab jb koi button click kro than
      Jaise ki hm 1 click kr rhe to
      self.lebel.setText(text+"1")
      Video ke coding part dekhe ap
      Usme method_1 hoga use ap apne code se match kre

    • @AbhishekSharma-uy1zv
      @AbhishekSharma-uy1zv 4 роки тому

      @@madnessoftech6908 thanks bro for helping right now i get my mistake

  • @glav12
    @glav12 11 місяців тому

    индус скинь кодик а