summaryrefslogtreecommitdiff
path: root/group.py
diff options
context:
space:
mode:
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