-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathA_about.py
44 lines (30 loc) · 1.67 KB
/
A_about.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
35
36
37
38
39
40
41
42
43
44
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5 import QtWidgets
from PyQt5.QtCore import Qt
##Variables
import A_variable as var
styleButtonHome = "QPushButton {background-color: white; border: 1px solid "+var.degrade+"; border-radius: 15px; color: "+var.degrade+";font-weight:bold}""QPushButton:pressed {background-color: "+var.degrade+"; border: 1px solid "+var.degrade+"; border-radius: 15px; color: white}"
import A_homePage_0 as home
#import A_about as home
class AskingaBoutPage():
def __init__ (self):
self.setStyleSheet("background-color: white")
self.verticalLayoutWidget = QtWidgets.QWidget(self)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(50, 310, 267, 191))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.layout_frame2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.layout_frame2.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
self.layout_frame2.setContentsMargins(0, 0, 0, 0)
self.layout_frame2.setSpacing(0)
#askingName(self)
afficherTextAbout(self)
home.LOGO_Bubbles(self)
self.show()
def afficherTextAbout(self):
self.okidoki = QtWidgets.QLabel(self)
self.okidoki.setGeometry(QtCore.QRect(30, 300, 300, 80))
self.okidoki.setMaximumSize(QtCore.QSize(300, 100))
self.okidoki.setAutoFillBackground(False)
self.okidoki.setStyleSheet("background-color: "+var.degrade+"; border: 2px solid white; border-radius: 10px;color: white;")
self.okidoki.setAlignment(QtCore.Qt.AlignCenter)
self.okidoki.setText("Bienvenue sur Cannibale Dungo© \n Jeu crée par Hugo, Basil, Wylohn et Nassim")