-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmassfollower.py
More file actions
72 lines (58 loc) · 1.96 KB
/
Copy pathmassfollower.py
File metadata and controls
72 lines (58 loc) · 1.96 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""
import tkinter as tk
window = tk.Tk()
window.title("WasteOfMassFollow")
window.geometry("1000x1000")
class UISYS:
"""
from PyQt5 import QtWidgets, QtGui
from PyQt5.QtWidgets import QApplication, QMainWindow
import sys
class ClickerWindow(QMainWindow):
def __init__(self):
super(ClickerWindow,self).__init__()
self.setGeometry(0,0,500,300)
self.setWindowTitle("Wasteof.Money MASS FOLLOWER")
self.clickcount = 0
self.margin = 10
self.initUI()
def initUI(self):
self.font = QtGui.QFont()
self.font.setPointSize(40)
self.font.setBold(True)
self.blue = QtGui.QPalette()
self.blue.setColor(QtGui.QPalette.WindowText, QtGui.QColor("blue"))
self.counter = QtWidgets.QLabel(self)
self.counter.setText("Clicks: 0")
self.counter.move(self.margin,self.margin)
self.counter.setFont(self.font)
self.counter.setPalette(self.blue)
self.font.setPointSize(60)
self.font.setBold(False)
self.btn1 = QtWidgets.QPushButton(self)
self.btn1.setText("Click!") #whoops branch target buffer
self.btn1.clicked.connect(self.clicked)
self.btn1.move(self.margin,100)
self.btn1.setFont(self.font)
self.font.setPointSize(10)
self.footer = QtWidgets.QLabel(self)
self.footer.setText("Copyright Pacifiky 2025 All Rights Reserved")
self.footer.move(self.margin,250)
self.footer.setFont(self.font)
self.update()
def showUI(self):
self.show()
def clicked(self):
self.clickcount+=1
self.counter.setText("Clicks: " + str(self.clickcount))
self.update()
def update(self):
self.counter.adjustSize()
self.footer.adjustSize()
self.btn1.adjustSize()
def runUI():
app = QApplication(sys.argv)
win = ClickerWindow()
win.showUI()
sys.exit(app.exec_())
runUI()