summaryrefslogtreecommitdiff
path: root/src/group.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.py')
-rw-r--r--src/group.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/group.py b/src/group.py
deleted file mode 100644
index 18b4836..0000000
--- a/src/group.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from PyQt5.QtCore import Qt
-from PyQt5.QtGui import QFont
-from PyQt5.QtWidgets import QLabel, QVBoxLayout
-import src.globals as 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