-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathwelcome.py
34 lines (25 loc) · 1.25 KB
/
welcome.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#Welcome.py
from PyQt5.QtWidgets import QMainWindow, QStackedWidget, QApplication
from PyQt5.uic import loadUi
from login import LoginScreen
from CreateAccount import CreateAccountScreen
import myimages
class WelcomeScreen(QMainWindow):
def __init__(self, widget):
super(WelcomeScreen, self).__init__()
loadUi("Welcome.ui", self)
self.widget = widget
### CONNECTING THE LOGIN BUTTON THAT LEADS TO THE LOGIN SCREEN ###
self.Login_pushButton.clicked.connect(self.gotologinScreen)
### CONNECTING THE LOGIN BUTTON THAT LEADS TO THE LOGIN SCREEN ###
self.CreateAccount_pushButton.clicked.connect(self.gotoCreateAccountScreen)
#######################################################################
## FUNCTION THAT TAKES YOU TO THE LOGIN SCREEN ##
#######################################################################
def gotologinScreen(self):
pass
#######################################################################
## FUNCTION THAT TAKES YOU TO THE CREATEACCOUNT SCREEN ##
#######################################################################
def gotoCreateAccountScreen(self):
pass