Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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()
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions