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
commit604b485fab100785c4def10dc7242e6408e1f1c6 (patch)
tree916831dbe3e06c5165369e8bd0193753bba3274a /group.py
parentfe34cdaa6bd0efdc605ae89c96d7075645eaa5fd (diff)
Create project using setuptools
Diffstat (limited to 'group.py')
-rw-r--r--group.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/group.py b/group.py
deleted file mode 100644
index 372a38e..0000000
--- a/group.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from PyQt5.QtCore import Qt
-from PyQt5.QtGui import QFont
-from PyQt5.QtWidgets import QLabel, QVBoxLayout
-Globals = __import__("globals")
-
-class Group:
- def __init__(self, id, name, column = "left", link = "", hidden = False):
- self.id = id
- self.name = name
- self.column = column
- self.link = link
- self.hidden = hidden
-
- def buildLayout(self):
- output = QVBoxLayout()
- output.setContentsMargins(0, 10, 0, 10)
-
- name = QLabel(self.name)
- name.setTextInteractionFlags(Qt.TextSelectableByMouse)
- name_font = QFont("Arial", 13)
- name_font.setUnderline(True)
- name.setFont(name_font)
- output.addWidget(name)
-
- return output