Answered step by step
Verified Expert Solution
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 limitHere is the code : from PyQt import QtWidgetsfrom healthAppw import healthAppfrom rigisterscreenw import rigformfrom loginscreenw import logformclass MainController: def initself: self.app QtWidgets.QApplicationsysargv self.mainwindow QtWidgets.QMainWindow self.widget QtWidgets.QWidget def showhealthappself: self.ui healthApp self.uisetupUiselfmainwindow self.mainwindow.show def showregisterscreenself: self.ui rigform self.uisetupUiselfwidget self.widget.show self.uibackbclicked.connectselfshowloginscreen # def showloginscreenself: self.ui logform self.uisetupUiselfwidget self.widget.show # self.uiloginbclicked.connectselfhandlelogin # self.uirigisterbclicked.connectselfshowregisterscreen def handleloginself: # self.showhealthapp def handleregistrationself: # self.showloginscreen def runself: self.showloginscreen # sysexitselfapp.execif namemain: import sys controller MainController controller.run
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started