Question: Enter a code. If the first time you enter a number above and press add, write it under the line instead of the line. Every

Enter a code. If the first time you enter a number above and press add, write it under the line instead of the line. Every time you write a number above and press add, the value below is increased. See the normal calories on the internet. If it exceeds it, write it below in the reference. Calories exceed the normal limit.Here is the code : from PyQt5 import QtWidgetsfrom healthApp_w import healthAppfrom rigister_screen_w import rigformfrom login_screen_w import logformclass MainController: def __init__(self): self.app = QtWidgets.QApplication(sys.argv) self.main_window = QtWidgets.QMainWindow() self.widget = QtWidgets.QWidget() def show_health_app(self): self.ui = healthApp() self.ui.setupUi(self.main_window) self.main_window.show() def show_register_screen(self): self.ui = rigform() self.ui.setupUi(self.widget) self.widget.show() self.ui.back_b.clicked.connect(self.show_login_screen) # def show_login_screen(self): self.ui = logform() self.ui.setupUi(self.widget) self.widget.show() # self.ui.login_b.clicked.connect(self.handle_login) # self.ui.rigister_b.clicked.connect(self.show_register_screen) def handle_login(self): # self.show_health_app() def handle_registration(self): # self.show_login_screen() def run(self): self.show_login_screen() # sys.exit(self.app.exec_())if __name__=="__main__": import sys controller = MainController() controller.run()
 Enter a code. If the first time you enter a number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!