summaryrefslogtreecommitdiff
path: root/group.py
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-09-16 09:36:14 -0400
committerLouie S <louie@example.com>2023-09-16 09:36:14 -0400
commit5648157daee278795ccdd766f0b27f59a7331286 (patch)
tree6ecd85df7a5c0befac4d7fc1f369ba31fd2e6582 /group.py
First commit
Diffstat (limited to 'group.py')
-rw-r--r--group.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/group.py b/group.py
new file mode 100644
index 0000000..1ca8244
--- /dev/null
+++ b/group.py
@@ -0,0 +1,15 @@
+from PyQt5.QtWidgets import QLabel, QVBoxLayout
+
+class Group:
+ def __init__(self, name, column = "left", link = ""):
+ self.name = name
+ self.column = column
+ self.link = link
+
+ def buildLayout(self):
+ output = QVBoxLayout()
+ output.setContentsMargins(0, 10, 0, 10)
+
+ name = QLabel(self.name)
+ output.addWidget(name)
+ return output