diff options
author | Joris | 2020-05-08 14:12:47 +0200 |
---|---|---|
committer | Joris | 2020-05-08 14:14:16 +0200 |
commit | df828c4b141f84f731afffbe17c80618cacf9480 (patch) | |
tree | aeae4a185c3f23da0331b32139c072ebe50b50dd /src/gui/window.py | |
parent | 2abfaddc6a3a5233018ad285421eaf531a01a283 (diff) |
Bootstrap todo-next
Diffstat (limited to 'src/gui/window.py')
-rw-r--r-- | src/gui/window.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/window.py b/src/gui/window.py new file mode 100644 index 0000000..67d1dea --- /dev/null +++ b/src/gui/window.py @@ -0,0 +1,13 @@ +from PyQt5 import QtCore, QtWidgets + +import gui.tasks.main + +def get(database): + window = QtWidgets.QMainWindow() + window.setWindowTitle("todo-next") + window.setMinimumSize(QtCore.QSize(640, 480)) + + centralWidget = QtWidgets.QWidget(window) + window.setCentralWidget(gui.tasks.main.widget(database, centralWidget)) + + return window |