summaryrefslogtreecommitdiff
path: root/group.py
blob: 1ca82442564f9c2a8244a52aced279af4a018478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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