From 5648157daee278795ccdd766f0b27f59a7331286 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: First commit --- group.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 group.py (limited to 'group.py') 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 -- cgit