summaryrefslogtreecommitdiff
path: root/src/ui_widgets.py
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-05-03 14:40:08 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-05-03 14:40:08 +0200
commit5a952899e095c82ff706449ee4d3f8c5eaac7911 (patch)
tree493ca4750349d70c5b6fccfafee92b4234241406 /src/ui_widgets.py
parent3d2e11a1eba4e8b5ff411c9d1e4be61f2c6321e8 (diff)
Start reworking the layout using a QTableWidget
Diffstat (limited to 'src/ui_widgets.py')
-rw-r--r--src/ui_widgets.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui_widgets.py b/src/ui_widgets.py
index 9eabd2e..3babfa6 100644
--- a/src/ui_widgets.py
+++ b/src/ui_widgets.py
@@ -21,6 +21,11 @@ class MeinGroßLabel(QLabel):
self.setFont(GUI.bigfont)
self.setAlignment(Qt.AlignHCenter)
+class LayoutWrapper(QWidget):
+ def __init__(self, layout):
+ super().__init__()
+ self.setLayout(layout)
+
class EllipseWidget(QWidget):
def __init__(self, pol):
QWidget.__init__(self)