-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresourcesetbuttons.py
41 lines (31 loc) · 1.31 KB
/
resourcesetbuttons.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
from PySide6.QtWidgets import QPushButton
from PySide6.QtCore import QSize
class SlotButton(QPushButton):
def __init__(self, *args, **kwargs):
super(SlotButton, self).__init__(*args, **kwargs)
def configure_size(self):
self.setFixedSize(QSize(50, 50))
class Slot1Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot1Button, self).__init__(*args, **kwargs)
class Slot2Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot2Button, self).__init__(*args, **kwargs)
class Slot3Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot3Button, self).__init__(*args, **kwargs)
class Slot4Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot4Button, self).__init__(*args, **kwargs)
class Slot5Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot5Button, self).__init__(*args, **kwargs)
class Slot6Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot6Button, self).__init__(*args, **kwargs)
class Slot7Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot7Button, self).__init__(*args, **kwargs)
class Slot8Button(SlotButton):
def __init__(self, *args, **kwargs):
super(Slot8Button, self).__init__(*args, **kwargs)